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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ALTER TABLE with Default

Status
Not open for further replies.

gavinjb

Programmer
Apr 24, 2003
106
0
0
GB
Hi,

I am trying to write a SQL DDL Statement to add a column to my 'Documents Table' called DateLoaded with the default value of Now(), does anyone know how to do this.

Regards,



Gavin,
 
Sorry, proberly didn't put that very well, my Problem is with writing the statement, I can write the part to create the column,b ut Can't work out how I set the Default Value on this new column in DDL.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top