Subject | Re: [Firebird-general] Silly SQL Server... |
---|---|
Author | Martijn Tonies |
Post date | 2009-10-08T11:30:46Z |
>> For the record, if you want a CONSTRAINT, then create a CONSTRAINT,Same behaviour, just because MS SQL is non-standard. In Firebird,
>> not an INDEX.
>
> Doesn't matter. Same behavior. I created index, because later I
> created filtered index.
you cannot create a foreign key constraint to an index.
Use indices for filtering/speed, constraints for (business) rules.
With regards,
Martijn Tonies
Upscene Productions
http://www.upscene.com
Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!
Database questions? Check the forum:
http://www.databasedevelopmentforum.com