Ask a Question related to Coldfusion Database Access, Design and Development.
-
lwd #1
date field in update stored procedure
When I try to update a date field that I've previously added to a SQL Server
table, I get ths error message: Error converting data type varchar to
datetime. I've tried using CONVERT(#Value#,SQL_TYPE_TIMESTAMP) and
#CreateODBCDateTime(Value)#, but neither works. Any help would be appreciated.
lwd Guest
-
Syntax error when trying to update date/time field
I am getting a MS Access ODBC Syntax error (missing operator) in query expression '2006-01-05 09:17:01.0' when I try to execute an update query. On... -
stored procedure value
How can I bind a stored procedure value to a page? I've executed a stored procedure and there should be two column values created...i.e. col1 and... -
Stored procedure?
Stored procedure ?? -- Message posted via http://www.dotnetmonster.com -
Pass a Date to stored procedure
Hello. I have a stored procedure that accepts a Date field as one of its parameters. When I try to run the webservice that I wrote to call the... -
datagrid update with stored procedure
I'm using a join statement in a stored procedure and passing in info to the stored procedure. I have a unique key value that comes back in the... -
vkunirs #2
Re: date field in update stored procedure
Hi
could you post your code plz.
or try to use the single quotes for the date when updating it into the table.
vkunirs Guest
-
ldy #3
Re: date field in update stored procedure
From the update form: <input name='P_Date' type='text' value='#trim(P_Date)#'
size='8' class='bodytext'> From the update template: <CFPROCPARAM type='IN'
cfsqltype='CF_SQL_DATETIME' dbvarname='@P_Date' value='#P_Date#'> Single
quotes and double quotes make no difference.
ldy Guest
-
quig06107 #4
Re: date field in update stored procedure
I can't imagine this would give you the error you are receiving, but you don't
need the @ in teh dbvarname in the stored procedure. It's only required on the
SP end. Take that out, use double quotes and see what happens...in fact, I'll
test myself and see if I get the same error.
quig06107 Guest



Reply With Quote

