Chapter 3 Guide de référence du SGBD
Requête de reverse engineering permettant d'obtenir les index de clé alternative d'une table via ODBC.
Dans Sybase Adaptive Server Anywhere 6 :
select distinct I.INDEX_NAME
from SYSINDEX I, SYSUSERPERMS U, SYSTABLE T
where I."UNIQUE" = 'U' and I.TABLE_ID = T.TABLE_ID and
T.TABLE_NAME = '%TABLE%' and T.CREATOR = U.USER_ID and U.USER_NAME = '%USER%'
| Copyright (C) 2006. Sybase Inc. All rights reserved. |
| |