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

Date datatype

Status
Not open for further replies.

Kendel

Programmer
Apr 24, 2002
1,512
US
In SQL7, how do you insert a date datatype? I have problem trying to insert a date value.

Insert into MyTable(my_date)
values(2003-06-16)

when I view it, the date become: 1905-06-08 00:00:00.000

Help please.

 
All I want is to insert a date file to a table using Query Analyzer. Anyone know, please help.
 
Nevermind...I got it...I forgot the single quote around the value. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top