Talk:Attribute domain

The CREATE DOMAIN statement names a new Domain and defines the Domain's set of valid values. The required syntax for the CREATE DOMAIN statement is: CREATE DOMAIN  [ AS ] [ DEFAULT default value ] [  list ] [ COLLATE  ]

 list::=  [ ... ]

 ::= [ CONSTRAINT  ] Constraint_type [ ]

CREATE DOMAIN defines a new Domain: a named set of valid data values that can be used — somewhat like a macro — to replace the specification in subsequent s. The  identifies the Domain and the Schema to which it belongs. A  that includes an explicit  qualifier belongs to the Schema named. A  that does not include an explicit  qualifier belongs to the SQL-session default Schema. The  must be unique (for all Domains and UDTs) within the Schema that owns it.


 * sandeep vishwakarma from deoria UP