Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)

  • RE: UPDATE..FROM doesn't seem to work in SQL 2005!!!!

    I have tried the same and its working properly.

    Check the following code.

    create table table1(field1 int, field2 varchar(20))

    create table table2(field1 int, field2 varchar(20))

    insert into table1 values(1,'abc')

    insert into table2 values(1,'def')

    select * from...

  • RE: Must declare the scalar variable

    I didnt fiind any problem in executing the above statements.

    Must declare scalar variable - this error appears only when u execute the following statement

    SELECT @sunday = (Select DATEADD(week, DATEDIFF(week, 6,...

  • RE: Foreign Key References Invalid Table

    You are trying to create the foreign key before you create the table. check that...

Viewing 3 posts - 1 through 3 (of 3 total)