I cannot figure out why I am getting this error with SQL Server inserting a
time value in a stored procedure. Anyone know why?
----------------------------
ODBC Error Code = 37000 (Syntax error or access violation)
[Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type
varchar to datetime.
----------------------------
<cfset Time = '5:00 pm'>
<cfset StartTime = CreateODBCDateTime(Time)>
<cfprocparam type="In"
cfsqltype="CF_SQL_TIMESTAMP"
dbvarname="@StartTime"
value="#StartTime#"
@StartTime is a DateTime field
~~~~~~~~~~~~~ Paid Sponsorship ~~~~~~~~~~~~~
Get Your Own Dedicated Win2K Server! Instant Activation for $99/month w/Free
Setup from SoloServer PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support
Visit SoloServer, https://secure.irides.com/clientsetup.cfm.
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists