|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Viewing the contraints
Hi,
What is the query to view the constraints present for a table ? |
|
#2
|
|||
|
|||
|
Try with
select RDB$CONSTRAINT_NAME, RDB$CONSTRAINT_TYPE, RDB$INDEX_NAME from rdb$relation_constraints where rdb$relation_name = 'TABLE_NAME' -- Best regards, Fikret Hasovic http://www.fikret.fbtalk.net TAMP R&D Team FirebirdSQL Foundation member. - Join today at http://www.firebirdsql.org/ff/foundation JEDI VCS contributor http://jedivcs.sourceforge.net/ |
|
#3
|
|||
|
|||
|
Thanks fikret, the query worked.
|
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > Viewing the contraints |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|