Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default values

Status
Not open for further replies.

fiber0pti

ISP
Nov 22, 2000
96
US
I added a field to one of my exsisting tables. I put a default value on it but it still has <NULL> for the value. How do I put this default value you in all of my records without having to do it manually?
 
make the column 'NOT NULL' then SQL should automatically insert the default value when a value is not supplied
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top