The datatype is 'datetime'

What format will work with this?


>You can't just insert #Now()# into a date column. You'll need to work
>with the date format the DB expects.
>
>-----Original Message-----
>From: Torrent Girl [mailto:[EMAIL PROTECTED] 
>Sent: Saturday, 25 June 2005 9:30 
>To: CF-Newbie
>Subject: RE: Need help - deadline 5pm
>
>Here is my insert statement
>
>
><cfquery name="enterMember" datasource="#datesource#"
>username="#datesourceUserName#" password="#datesourceUserPassword#">
>       INSERT INTO members 
>               (
>                       dateJoined, 
>                       [snip]
>                )
>       VALUES 
>               (
>                       #now()#,
>                       [snip]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1232
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to