DatabaseLink`
DatabaseLink`
SQLTablePrimaryKeys
SQLTablePrimaryKeys[conn,table]
returns information about the columns comprising the primary key of table.
更多信息和选项
- To use SQLTablePrimaryKeys, you first need to load DatabaseLink using Needs["DatabaseLink`"].
- The following options can be given:
-
"Catalog" None database catalog to use "Schema" None database schema to use "ShowColumnHeadings" False whether to return headings with the results
范例
基本范例 (1)
If you find that the examples in this section do not work as shown, you may need to install or restore the example database with the DatabaseLink`DatabaseExamples` package, as described in Using the Example Databases.