Hi,
I have a very simple table which has the following fields:
ID integer 'primary key
userName varchar 'length 6
displayOrder integer
order integer
areaCode varchar 'length 6
I would like to be able to define a constraint (or an index?) that specifies that the first 2 rows cannot be valid in the table:
ID |..userName | ..areaCode
-----------------------------
1 Fred ABC123
2 Fred ABC123 'can't have duplicate areacode!
3 Fred BBB222
So in a nutshell, no user can have more than one record with the same areaCode.
How do i define this in Enterprise Manager?
THanks for you help in advance!
MrPeds
I have a very simple table which has the following fields:
ID integer 'primary key
userName varchar 'length 6
displayOrder integer
order integer
areaCode varchar 'length 6
I would like to be able to define a constraint (or an index?) that specifies that the first 2 rows cannot be valid in the table:
ID |..userName | ..areaCode
-----------------------------
1 Fred ABC123
2 Fred ABC123 'can't have duplicate areacode!
3 Fred BBB222
So in a nutshell, no user can have more than one record with the same areaCode.
How do i define this in Enterprise Manager?
THanks for you help in advance!
MrPeds