|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Sequence
I'm new with SQL, and I need to create a sequence, but basically I don't know where to go to create one.
![]() I know that I should put CREATE Sequence OrderNumber START 1, but I got an error on my Server Enterprise Manager that says: "Incorrect Syntax near Sequence" Anyone that can help me with this??? |
|
#2
|
||||
|
||||
|
SQL Servers equivalent of a Sequence is Identity.
Int data type, set Identity property to "Yes" |
|
#3
|
||||
|
||||
|
Thank you Memnoch, I used this as reference
http://www.winnetmag.com/SQLServer/...rver_22080.html |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > Sequence |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|