Click here to Skip to main content
15,881,089 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everyone,


I have created a table Tracks.while creating the table i forget to give identity constraint.

now i am altering the column. it is showing error:incorret syntax near the key word identity.

here is my query:

alter table albums alter column albumid bigint identity(1,1).

can anyone tell me how to do this.
Posted
Updated 13-May-14 1:24am
v3

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900