Forum Replies Created

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

  • RE: Column Name change

    when i try the syntax exec sp_rename 'table.columnnameold', 'columnnamenew' it executes in ssms

    but in tfs it throws an error: VwA has no reference object or have an ambigous reference

  • RE: Datetime Syntax

    Working for me as well.

    Thanks

  • RE: Datetime Syntax

    Tried it as well.

    CREATE TABLE T1

    (

    CreateDate DateTime2 not null

    )

    GO

    INSERT INTO T1 (createdate)

    VALUES ('2012-03-09 12:34:45:567')

    GO

    throws an error: cannot convert datetime to string

  • RE: Data Type

    ok got it thanks

  • RE: Data Type

    Thanks,

    Its working perfect. But i could see that if we add unique to the column in the table itself, then only the script is working fine.. Otherwise it throws error....

  • RE: Data Type

    Forgot to mention EDId is the primary key in dbo.ED table

  • RE: Alter statement

    Thanks guys,

    Worked perfectly.

  • RE: Oracle n mssql

    k Thanks will try using function

  • RE: SQL code

    Awesome thats perfect. Thankyou very much foryour help.

    SELECT table1.column4,

    table2.column5

    FROM table1

    ...

  • RE: SQL code

    ok.

    thanks for your replies and will try again

  • RE: SQL code

    Thanks for the reply,

    But actually i tried this way also and its not working.

    The thing is table2.column3=02 is the condition applied after performing join where as table2.column3(+)=02 is the condition...

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