I have an integer field with data that I am trying to change to the Identity field without losing any data. I have to do this using the osql utility. When I run the statement "Alter table table_name alter column column_name int identity", I get the following error "Incorrect syntax near the keyword identity".
I could have sworn that I had done this before as I had the script saved in my scripts folder. I know that the data is not duplicated in the field that I want to change. If anyone knows what I am doing wrong please advise me. Thanks in advance!!
I could have sworn that I had done this before as I had the script saved in my scripts folder. I know that the data is not duplicated in the field that I want to change. If anyone knows what I am doing wrong please advise me. Thanks in advance!!