diff --git a/reference/uodbc/functions/odbc-foreignkeys.xml b/reference/uodbc/functions/odbc-foreignkeys.xml
index 36729bf0bd..9eeabb1cd9 100644
--- a/reference/uodbc/functions/odbc-foreignkeys.xml
+++ b/reference/uodbc/functions/odbc-foreignkeys.xml
@@ -11,11 +11,11 @@
resourceodbc_foreignkeys
resourceconnection_id
- stringpk_qualifier
- stringpk_owner
+ stringpk_catalog
+ stringpk_schema
stringpk_table
- stringfk_qualifier
- stringfk_owner
+ stringfk_catalog
+ stringfk_schema
stringfk_table
@@ -36,18 +36,18 @@
- pk_qualifier
+ pk_catalog
- The primary key qualifier.
+ The catalog ('qualifier' in ODBC 2 parlance) of the primary key table.
- pk_owner
+ pk_schema
- The primary key owner.
+ The schema ('owner' in ODBC 2 parlance) of the primary key table.
@@ -60,18 +60,18 @@
- fk_qualifier
+ pk_catalog
- The foreign key qualifier.
+ The catalog ('qualifier' in ODBC 2 parlance) of the foreign key table.
- fk_owner
+ fk_schema
- The foreign key owner.
+ The schema ('owner' in ODBC 2 parlance) of the foreign key table.
@@ -95,21 +95,31 @@
The result set has the following columns:
- PKTABLE_QUALIFIER
- PKTABLE_OWNER
- PKTABLE_NAME
- PKCOLUMN_NAME
- FKTABLE_QUALIFIER
- FKTABLE_OWNER
- FKTABLE_NAME
- FKCOLUMN_NAME
- KEY_SEQ
- UPDATE_RULE
- DELETE_RULE
- FK_NAME
- PK_NAME
+ PKTABLE_CAT
+ PKTABLE_SCHEM
+ PKTABLE_NAME
+ PKCOLUMN_NAME
+ FKTABLE_CAT
+ FKTABLE_SCHEM
+ FKTABLE_NAME
+ FKCOLUMN_NAME
+ KEY_SEQ
+ UPDATE_RULE
+ DELETE_RULE
+ FK_NAME
+ PK_NAME
+ DEFERRABILITY
+ &odbc.result.driver-specific;
+
+ If the foreign keys associated with a primary key are requested, the result set
+ is ordered by FKTABLE_CAT, FKTABLE_SCHEM,
+ FKTABLE_NAME and KEY_SEQ.
+ If the primary keys associated with a foreign key are requested, the result set
+ is ordered by PKTABLE_CAT, PKTABLE_SCHEM,
+ PKTABLE_NAME and KEY_SEQ.
+
If pk_table contains a table name,
odbc_foreignkeys returns a result set
@@ -132,6 +142,16 @@
+
+ &reftitle.seealso;
+
+
+ odbc_tables
+ odbc_primarykeys
+
+
+
+