ADMINDEV_ScriptTableConstraints

Show allHide all

Deprecated. Don't use for new development and try to migrate existing uses.

Type: Stored procedure

Scripts check constraints, default constraints, and foreign keys for a given table.

Parameters

@ObjectIdTable optional int
Object id of table to script. Overrides @TableName when present.
@TableName optional sysname
Name of the table to script. May be quoted (with []). Schema is optional.