|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Unique record number ?
I am defining a table for staff members. In Access I would have used "autonumber" to use as a key. Is there an option like this in SQL? Will I have to manually code a way for each record to be unique?
Thanks |
|
#2
|
||||
|
||||
|
You can use the int (Identity) or UniqueIdentifier data type.
|
|
#3
|
|||
|
|||
|
Can I define the uniquenumber in two different tables and build the relationship between the two tables based on that field?
|
|
#4
|
||||
|
||||
|
yes.
|
|
#5
|
|||
|
|||
|
Thanks. I shall do that.
|
![]() |
| Viewing: ASP Free Forums > Database > SQL Development > Unique record number ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|