Click here to Skip to main content
15,886,689 members
Articles / Database Development / SQL Server

Insert default value[s] in a table

Rate me:
Please Sign up or sign in to vote.
4.25/5 (5 votes)
29 Dec 2009CPOL 7.1K   4  
I was facing the problem of inserting a default value on single column table and I have achieved via this way.insert into > default valuesAlso this could be used for many columns in a table defining with default constraints.ThanksMehul Thakkar

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
India India
Mehul Thakkar is having 8 yrs of experience in IT industry. He is having good command over Ms .Net and Ms Sql Server

Comments and Discussions