SQLServer.Database.Default Object
Breaks an existing binding between a default and a user-defined datatype.
Default.UnbindFromDatatype (
[DatatypeName :=] idDatatype,
[[FutureOnly :=] bFutureOnly] )
HRESULT pDefault->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 default. If True, existing columns keep the old default. If False, existing columns lose the old default. The default is False. |
sp_unbindefault