|
-
Nov 5th, 2007, 11:20 AM
#1
Thread Starter
Hyperactive Member
datestamp field?
Hi,
I try to insert a record from VB6 to the SQL server 2005 and have a problem when put Now() into the field on the SQL server which defined as datestamp field type.
Could any one help?
Thanks!
-
Nov 5th, 2007, 11:32 AM
#2
Re: datestamp field?
Now() returns Date+Time so you may try using Date() function instead or Format(Now, "mm/dd/yyyy")...
Or ... you can assign default value for that field directly in your database so you wouldn't have to include this field in your Insert statement.
-
Nov 5th, 2007, 11:34 AM
#3
Frenzied Member
Re: datestamp field?
can you please post some code?
What error have you come accross?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|