Hello,

Could anybody tell me how to define column default value using
SQL-DMO ?

The method SetDefault(SQLDMO_LPCSTR NewValue) of the column
object only alows the 'NewValue' to be name of a default defined in the
SQL Server database. I have not found a way to specify a default
constant.

Thanks
Meihui Shi