SQLServer.Database.Default Object
Binds a default with an existing user-defined datatype.
Default.BindToDatatype (
[DatatypeName :=] idDatatype,
[[FutureOnly :=] bFutureOnly] )
HRESULT pDefault->BindToDatatype (
SQLOLE_LPCSTR idDatatype,
BOOL bFutureOnly = FALSE );
Element | Type | Description |
---|
idDatatype | Identifier | User-defined datatype |
bFutureOnly | Boolean | Determines if existing columns of the specified datatype are prevented from inheriting the new default. If True, existing columns are not bound to the new default. If False, existing columns are bound to the new default. The default is False. |
sp_bindefault