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!

Date error using INSERT INTO

Status
Not open for further replies.

BTilson

Programmer
Jul 14, 2004
139
US
I'm running an sql statement that works perfectly, except for when I use date fields. For example, when I try to insert the value "8/15/2004" the actual resultant field in the table has the value "12/30/1899"

Why is this? I can't figure it out.

Thanks.

Brooks Tilson
Database Development
Tilson Machine, Inc.
 
are you enclosing them in date delimiters (# signs)?

#8/15/2004#

leslie
 
Lol. That was my problem. *hits self in head* Thanks hehe.

Brooks Tilson
Database Development
Tilson Machine, Inc.
 
amazing how the simplest things can just blow you out of the water!!

glad to help

les
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top