Hello
I would like to set up a database rule that would only allow unique entry of a certain field.
It is a field taht does not ned to be indexed.
Here is an example
PNum | Project Name
1 | Bookkeeping
2 | Contact Management
3 | Accounting
I don't want the user to be able to enter another project with the same project name (in this example, I don't want another row that will allow
4 | Bookkeeping
Would a constarint be used in this situation? What would the check constraint expression be?
Am I using the right tool for the job?
Thanks for any help
Dave
I would like to set up a database rule that would only allow unique entry of a certain field.
It is a field taht does not ned to be indexed.
Here is an example
PNum | Project Name
1 | Bookkeeping
2 | Contact Management
3 | Accounting
I don't want the user to be able to enter another project with the same project name (in this example, I don't want another row that will allow
4 | Bookkeeping
Would a constarint be used in this situation? What would the check constraint expression be?
Am I using the right tool for the job?
Thanks for any help
Dave