N
Ngan Bui
I was just thinking if all of my tables really need
autonumbers for PKs or not.
For instance, do the following really need autonumbers?
Could I just have them be long integers and I manually
give each record a number (incremently too)?
tblCity - ID and CityName
tblCompType - ID and ComplaintType
tblProvider - ID and ProviderName
tblReport - ID and ReportName
These tables are mostly lookup tables (where other tables
just store the IDs for reference), and there aren't alot
of records. The most is the tblCity which has about 200
records.
The reason I ask is if I ever had to move the table or
whatever, I don't want the cities to receive a different
ID because the autonumbers are redone.
Whatcha think? If it's ok to just have long integer and
not autonumbers, can I change the existing autonumbers to
long integers?
Thanks.
Ngan
autonumbers for PKs or not.
For instance, do the following really need autonumbers?
Could I just have them be long integers and I manually
give each record a number (incremently too)?
tblCity - ID and CityName
tblCompType - ID and ComplaintType
tblProvider - ID and ProviderName
tblReport - ID and ReportName
These tables are mostly lookup tables (where other tables
just store the IDs for reference), and there aren't alot
of records. The most is the tblCity which has about 200
records.
The reason I ask is if I ever had to move the table or
whatever, I don't want the cities to receive a different
ID because the autonumbers are redone.
Whatcha think? If it's ok to just have long integer and
not autonumbers, can I change the existing autonumbers to
long integers?
Thanks.
Ngan