Mega Code Archive

 
Categories / MSSQL Tutorial / System Functions
 

Sp_addtype creates your own specific datatypes, including how the SQL Server will handle NULL values

sp_addtype typename, SQLtype[,NULLhandler] sp_addtype HireDate,datetime,"NOT NULL"