The sweet thing about SQL7 and sql2000 is you can pass it a variety of ways
and SQL will convert it. Any ways, just passing it as
thisDate = '3/22/2001'
will work, or am I missing something?
Dan
-----Original Message-----
From: Smith, Vincent [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 1:38 PM
To: Fusebox
Subject: RE: Date Type for SQL Server
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