2.5 Accessing the database dictionary
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog ODBC Interface
The ODBC layer
Accessing the database dictionary
odbc_current_table/2
odbc_current_table/3
odbc_table_column/3
odbc_table_column/4
odbc_type/3
odbc_table_primary_key/3
odbc_table_foreign_key/5
Availability:
:- use_module(
library(odbc)
).
(can be autoloaded)
odbc_table_foreign_key
(
+Connection, ?PkTable, ?PkCol, ?FkTable, ?FkCol
)
True when
PkTable
/
PkCol
FkTable
/
FkCol
is a foreign keys column.