Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
leeperman
Starting Member
2 Posts |
Posted - 2010-11-16 : 09:48:27
|
Hi,I am new to SQL and SQL management StudioI write the following code in the SQL query paneALTER TABLE TransAct{ALTER COLUMN OrderNo AUTO_INCREMENT};I get an incorrect syntax error - what is wrong with the statement?Each record now updated in the table will have no OrderNo data imported to it - now instread i want it to increment itself on each row being added.How is this done correct?Any help would be appreciatedThanksCiaran |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
|
|
|
|
|