DatabaseLink`
DatabaseLink`
SQLCreateTable
SQLCreateTable[conn,table,columns]
creates a new table in an SQL connection.
更多信息和选项
- To use SQLCreateTable, you first need to load DatabaseLink using Needs["DatabaseLink`"].
- SQLCreateTable returns an integer specifying the number of rows affected by the query. If the table is created correctly, this integer will always be zero, as no rows are affected when creating a new table.
- The following options can be given:
-
"Timeout" $SQLTimeout the timeout for the query "Index" None column(s) to index
范例
打开所有单元关闭所有单元基本范例 (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.