SQLServer.Database.Rule Object
Breaks an existing binding between a rule and a user-defined datatype.
Rule.UnbindFromDatatype (
[DatatypeName :=] idDatatype,
[[FutureOnly :=] bFutureOnly] )
HRESULT pRule->UnbindFromDatatype (
SQLOLE_LPCSTR idDatatype,
BOOL bFutureOnly = FALSE );
Element | Type | Description |
---|
idDatatype | Identifer | User-defined datatype |
bFutureOnly | Boolean | Determines if existing columns of the specified datatype are prevented from losing the old rule. If True, existing columns keep the old rule. If False, existing columns lose the old rule. The default is False. |
sp_unbindrule