You can use the SQLExecuteDirect function with the following syntax to return information about network sets used to join network records accessed as SQL tables.
$SETS owner table table
The parameters are as follows:
Specifies the name of the SQL schema containing the names of the dictionary and network schema where the records are defined. This value applies to all tables and appears to the ODBC application as the TABLE_OWNER returned by SQLTables.
Specifies the name of a record in the network schema. Enter from zero to two table arguments. Each table argument must be unique and must be defined in the same network schema. This value appears to the ODBC application as the TABLE_NAME returned by SQLTables.
The owner and table name arguments are case-sensitive. The following list identifies the contents of the result set, which depends on what you specify for the table arguments:
The result columns are described in the following table. All columns are defined as VARCHAR(18):
Network set name
SQL schema name (ODBC owner)
Network owner record name (ODBC table)
Network owner record name (ODBC table)
|
Copyright © 2009 CA.
All rights reserved.
|
|