BindToColumn Method

SQLServer.Database.Default Object

Description

Binds a default to a column of an existing table.

Visual Basic

Default.BindToColumn (
[TableName :=] idTable,
[ColumnName :=] idColumn )

C++

HRESULT pDefault->BindToColumn (
SQLOLE_LPCSTR
idTable,
SQLOLE_LPCSTR
idColumn );

Elements

Element Type Description

idTable Identifier Table
idColumn Identifier Column

Reference

sp_bindefault