Enable/Disable IDENTIFY

  • Is it possible to "Enable/Disable IDENTIFY" on a column. By using "ALTER TABLE" or a builtin stored procedure.

    I have to builtin this function in a C# program.

     

  • yes u can do a force insert as well.

    for futher details look in BOL for identity




    My Blog: http://dineshasanka.spaces.live.com/

  • I believe Dinesh meant the same, however have a look at BOL for SET IDENTITY_INSERT ON/OFF. Should do what you want.

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • Thanks - that was what i was looking for!

    Ib

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

You must be logged in to reply to this topic. Login to reply