>>Hi,
>>
>>I know I have done this type of change before (on some other customers' server) but this time I am hitting a wall. I need to set a column of a table to be Identity (that table is empty).
>>
>>But when I connect to the customer SQL Server, go to SSMS - connect using SQL server authentication. My SQL Server password has the following roles set in the database:
>>db_datareader, db_datawriter, db_owner.
>>Yes, when I try to set the PK column of a couple of table to Identity I am denied.
>>
>>What am I missing? TIA.
>
>see
http://msdn.microsoft.com/en-us/library/ms188059.aspx>
>identity_insert
>
>Don't use it unless you are copying in related records and the identity column has to remain the same.
I do not need to set values to the Identity column. I simply want the column that right now is not Identity to be Identity.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham