Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Key Information in Sybase & Oracle
Oracle:
Keys: User_Constraints, Dba_Constraints, User_col_constarints
Indexes: User_indexes, Dba_indexes
Sybase, MS SQL:
Keys: sysconstraints
Indexes:sysindexes
HTH
Venkat
> As far as I can tell there is no ODBC standard for Key information (and
>Indexing for that matter).
>
> Could anyone from either camp tell me which tables I need to query to
>find primary and foreign keys for a given relation, and also how to find
>out what fields have indexes on them ?
>
>Please email any answers to me, as I rarely get to browse these
>groups...
>
> Cheers,
> Winton
Received on Fri May 22 1998 - 00:00:00 CDT
![]() |
![]() |