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

Using system date as default value

Status
Not open for further replies.

Snaggs

Programmer
Jan 11, 2000
393
US
I'm a newbie to SQL server. I have a table that has two fields in it. One is a date field the other is a Value field. I want a default value of the server date to be in the datestamp field when a new record is inserted.

Trigger? Stored Proc? Default Value?

This is an easy one I'm sure... But I know very little about SQL Server 2000.

Thanks, Snaggs
tribesaddict@swbell.net
Life can only be understood backwards; but it must be lived forwards.
 
Thanks, just didn't know what the function name was or what the syntax was.

Thanks again, Snaggs
tribesaddict@swbell.net
Life can only be understood backwards; but it must be lived forwards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top