unclejimbob
Technical User
I am using SQL Server 2005 beta - Microsoft SQL Server Management Studio version 9.00.1116.00
I've read the SQL Server doco and looked around a fair bit but can't really find anything that helps me.
Here is the question:
'What is the recommended approach to implementing a domain in SQL Server that allows me to define a default value ?'
By that I mean that I would like to use something like this:
CREATE DOMAIN "ADDRESSLINE" AS VARCHAR(200)
DEFAULT '' NOT NULL;
SQL Server allows me to do everything but declare a default value and sp_bindefault usage is to be deprecated.
What are my options ?
thanks all
I've read the SQL Server doco and looked around a fair bit but can't really find anything that helps me.
Here is the question:
'What is the recommended approach to implementing a domain in SQL Server that allows me to define a default value ?'
By that I mean that I would like to use something like this:
CREATE DOMAIN "ADDRESSLINE" AS VARCHAR(200)
DEFAULT '' NOT NULL;
SQL Server allows me to do everything but declare a default value and sp_bindefault usage is to be deprecated.
What are my options ?
thanks all