| sp_binddefault | ใช้ในการนำค่า default ไปผูกกับ column ใน table |
|---|
subject:sp_binddefault
syntax:sp_binddefault default_name, object_name [, futureonly ]
content:ใช้ในการนำค่า default ไปผูกกับ column ใน table
example:CREATE DEFAULT def_www AS "www.function.in.th" CREATE TABLE tbl_website ( id int IDENTITY NOT NULL, name varchar(50) NOT NULL ) exec sp_binddefault def_www, "tbl_website.name"