|
Hi, can You tell me the number of version that should have this feature??
Now I have to define 2 indexes on one field to reach this functionality, it is not clear and efficient for inserts Tom This is very useful feature indeed.
Why have copy of the same index for Foreign Key if there's Primary Key already? Alex We also need this feature !
Carlos We also need this feature !
I'm using a trick is to set the field RDB$UNIQUE_FLAG in RDB$INDICES table, as type 1 (Unique), and found that a backup and restore does not change this flag, so I think you should enable this function because the operation is perfect. It is a hint to other users who have the same need. Emerson Manuel Azevedo. |
[ADD] CONSTRAINT [<constraint-identifier>]
<constraint-type> <constraint-definition>
[USING INDEX OF {PRIMARY KEY | UNIQUE KEY} <primary_or_unique_constraint_key_name>]