MATLAB DATABASE TOOLBOX RELEASE NOTES Guide de l'utilisateur Page 553

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 684
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 552
exportedkeys
7-123
exportedkeys
Retrieve information about exported foreign keys
Syntax
e = exportedkeys(dbmeta, 'cata', 'sch')
e = exportedkeys(dbmeta, 'cata', 'sch', 'tab')
Description
e = exportedkeys(dbmeta, 'cata', 'sch') returns foreign exported key
information (that is, information about primary keys that are referenced by other tables)
for the schema sch, of the catalog cata, for the database whose database metadata
object is dbmeta.
e = exportedkeys(dbmeta, 'cata', 'sch', 'tab') returns exported foreign key
information for the table tab, in the schema sch, of the catalog cata, for the database
whose database metadata object is dbmeta.
Examples
Get foreign exported key information for the schema SCOTT for the database metadata
object dbmeta.
e = exportedkeys(dbmeta,'orcl','SCOTT')
e =
Columns 1 through 7
'orcl' 'SCOTT' 'DEPT' 'DEPTNO' 'orcl'...
'SCOTT' 'EMP'
Columns 8 through 13
'DEPTNO' '1' 'null' '1' 'FK_DEPTNO'...
'PK_DEPT'
The results show the foreign exported key information.
Column Description Value
1 Catalog containing primary key that is exported null
Vue de la page 552
1 2 ... 548 549 550 551 552 553 554 555 556 557 558 ... 683 684

Commentaires sur ces manuels

Pas de commentaire