This query should show you all the constraints on a table:to get all the constraints for the t...
SQLSetDescRec 函式 SQLSetEnvAttr 函式 SQLSetParam 函式 SQLSetPos 函式 SQLSetScrollOptions 函式 SQLSetStmtAttr 函式 SQLSetStmtOption 函式 SQLSpecialColumns 函式 SQLStatistics 函式 SQLTablePrivileges 函式 SQLTables 函式 SQLTransact 函式 設定DLL API 參考 安裝程式 DLL API 參考函式 翻譯DLL的API參...
SQLSetPos 函数 SQLSetScrollOptions 函数 SQLSetStmtAttr 函数 SQLSetStmtOption 函数 SQLSpecialColumns 函数 SQLStatistics 函数 SQLTablePrivileges 函数 SQLTables 函数 SQLTransact 函数 安装DLL API 参考 安装程序 DLL API 引用函数 Translation DLL 的 API 参考 ODBC 服务提供程序接口 (SPI) 参考 ODBC 附录 ODBC...
本文转自:https://stackoverflow.com/questions/14229277/sql-server-2008-get-table-constraints You should use the currentsyscatalog views (if you're on SQL Server2005or newer - thesysobjectsviews aredeprecatedand should be avoided) - check out theextensive MSDN SQL Server Books Online documentation ...
SQLSetCursorName Function SQLSetDescField Function SQLSetDescRec Function SQLSetEnvAttr Function SQLSetParam Function SQLSetPos Function SQLSetScrollOptions Function SQLSetStmtAttr Function SQLSetStmtOption Function SQLSpecialColumns Function SQLStatistics Function SQLTablePrivileges Function SQLTables Function SQLTr...
The segment of the table's partitions to scan in this request. Type:Segmentobject Required: No TableName The name of the partitions' table. Type: String Length Constraints: Minimum length of 1. Maximum length of 255. Pattern:[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*...
SQL_AD_ADD_约束 _non_deferrable SQL_AD_ADD_CONSTRAINT_INITIALLY_DEFERRED SQL_AD_ADD_约束 int_initially_immediate SQL_AD_ADD_DOMAIN_CONSTRAINT SQL_AD_ADD_DOMAIN_DEFAULT SQL_AD_CONSTRAINT_NAME_DEFINITION SQL_AD_DROP_DOMAIN_CONSTRAINT SQL_AD_DROP_DOMAIN_DEFAULT SQL_ALTER_TABLE (32 位掩码) 指示...
SQL_AD_DROP_DOMAIN_DEFAULT SQL_ALTER_TABLE (32 位元遮罩) 指出DBMS 支援 ALTER TABLE 陳述式中的哪些子句。 SQL_AT_ADD_COLUMN_COLLATION SQL_AT_ADD_COLUMN_DEFAULT SQL_AT_ADD_COLUMN_SINGLE SQL_AT_ADD_CONSTRAINT SQL_AT_ADD_TABLE_CONSTRAINT SQL_AT_CONSTRAINT_NAME_DEFINITION SQL_AT_DROP_COLUMN_CAS...
傳回this 與關聯 ISqlConstraint 之間的 IModelReverseMultiRelationship。命名空間: Microsoft.Data.Schema.Sql.SchemaModel 組件: Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)語法C# 複製 IModelReverseMultiRelationship<ISqlSpecifiesTable, ISqlConstraint> GetConstraintsRelationship() ...
返回this 和关联ISql100TableTypeConstraint之间的IModelMultiRelationship。 命名空间:Microsoft.Data.Schema.Sql.SchemaModel 程序集:Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中) 语法 C# IModelMultiRelationship<ISql100TableType, ISql100TableTypeConstraint>GetConstraintsRelationship() ...