Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global initialization by type
Message
General information
Forum:
Microsoft SQL Server
Category:
Database management
Miscellaneous
Thread ID:
00403311
Message ID:
00406960
Views:
17
Write a stored procedure which will create a script to default all your numerics to 0 and all your chars to '' .

BOb


>Would I be correct to say that default constraint is still a field entry? What I was hopping for is a global data type default, where we could set up a default for character to be a ‘ ‘ or numeric and integers to be zeros… it’s a want / wish. It would defiantly simplify the table creation process.
>
>
>>Using a default constraint is the best way IMO.
>>
>>-Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform