Try #CreateODBCDateTime(yourdatevalue)#

-----Original Message-----
From: David Huyck [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 12:06 PM
To: Fusebox
Subject: OT: Date Type for SQL Server


Okay, quick question:  In Access you can pass date/time in your SQL query
like this:
#3/22/2001#

How do I do the same thing in SQL server?  It seems to dislike the #pound
signs#...  I know I've seen this question answered before, I just don't
remember what the answer was...

Thanks,
David Huyck
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to