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

Basic Insert Date Column

Status
Not open for further replies.

noslo

Programmer
Dec 10, 2001
24
0
0
US
This is a very basic question. I am using SQL Server 2000 and I want to add a colmn to a table that will insert the date or date/time when the data is loaded into the table.

I appreciate the help.

Noslo
 
In enterprise manager, add the column (datetime data type) and in the default column - put getDate().
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top