Description Usage Arguments Details See Also
'sqlAlterTableWithPrimaryKey()' composes a single SQL statement to add a composite primary key to a table in the database
1 | sqlAlterTableWithPrimaryKey(conn, target.table, pk, ...)
|
conn |
a DBIConnector Object |
target.table |
table in database to which primary key will be added |
pk |
a character vector of column names which make up the composite primary key for the table |
suggest that this be done prior to adding any data to the table
Other SQL generation: sqlAddIndex
,
sqlDeleteAllRecords
,
sqlOnClause
,
sqlReplaceInTable
,
sqlSetClause
, sqlUpdateTable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.