Torrent Girl wrote:

>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.
>>    
>>
Depending on the database, it might work happily, but there again it may 
not.

Wrap it in a cfqueryparam of sqltype date/time and that should make sure 
it works fine.

Really you should wrap each of the inserted data in a cfqueryparam with 
the sqltype set appropriately for that column.

Stephen


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:1234
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