Shocky
3/15/2007 12:31:00 PM
Can someone tell me how to create tables with non nullable columns
using SQLCmd(by executing db create scripts)...when I use the scripts
to
create the database all tables that get created have the columns as
nullable
i know that this can be done using create table and mentioning null
or
not null...but I have db creating scripts(scripts for creating
multiple
tables ) which do not have null or not null mentioned for each
column...
by default I want all columns to be non nullable...is there any
parameter that I can set in sql 2005 such that columns of the new
tables that get created are by default non nullable?
Thanks,
Shocky