disable identity

  • Hi masters,

    how can i disable a identity column (the identity property)?

    and then later enable it , again?

    tks,

    Pedro

  • SET IDENTITY_INSERT [ database_name . [ schema_name ] . ] table { ON | OFF }

    looked it up in BOL

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life

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

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