oa_fkeys

This is a system table that contains information about foreign keys referenced by each table and the primary keys in each table.

Note:

Due to the complexity of the NetSuite2.com schema, the oa_fkeys table may provide inaccurate information about foreign keys for the NetSuite2.com data source. Some foreign keys may be missing or incorrectly identified as such. Consider the information about foreign keys for NetSuite2.com as a reference only.

A row in the oa_fkeys table is considered a primary key if its pktable_name and pkcolumn_name values are not NULL.

Table name: oa_fkeys

Column Name

Description

pktable_qualifier

Primary key table qualifier

pktable_owner

Primary key table owner

pktable_name

Primary key table name

pkcolumn_name

Primary key column name

fktable_qualifier

Foreign key table qualifier

fktable_owner

Foreign key table owner

fktable_name

Foreign table name

fkcolumn_name

Foreign key column name

key_seq

The column sequence number in the key, starting with 1

update_rule

not supported

delete_rule

not supported

fk_name

Name of the foreign key

pk_name

Name of the primary key

Example Queries

Related Topics

SuiteAnalytics Connect System Tables
oa_tables
oa_columns

General Notices