While using cfqueryparam in an INSERT statement, I keep getting the following error: "Syntax error in INSERT INTO statement." I've checked and re-checked the code several time and tried removing and adding quotes but to no avail. I have listed the code below for your perusal. Any ideas as to what could be causing the problem? Any help would be appreciated.
<cfquery name="insertCLEP" datasource="#request.siteDSN#">
INSERT INTO CLEPNormal (CLEPID, DateID, Cap)
VALUES=(<cfqueryparam value="#Session.Cart.CLEPCourse[ThisItem]#" cfsqltype="cf_sql_integer" maxlength="5">, <cfqueryparam value="#Session.Cart.CLEPDate[ThisItem]#" cfsqltype="cf_sql_integer" maxlength="5">, <cfqueryparam value="16" cfsqltype="cf_sql_integer" maxlength="5">)
</cfquery>
Thanks in advance,
--Anne
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- RE: cfqueryparam Smith, Matthew P -CONT(CSC)
- RE: cfqueryparam Matt Robertson
- CFQUERYPARAM [EMAIL PROTECTED]
- RE: CFQUERYPARAM Craig Dudley
- Re: CFQueryparam Matt Robertson
- RE: CFQueryparam David Jones
- RE: CFQueryparam David Jones
- RE: CFQueryparam Matt Robertson
- RE: CFQueryparam David Jones
- RE: CFQueryparam J E VanOver
- RE: cfqueryparam Anne Girardeau
- RE: cfqueryparam Barney Boisvert
- Re: cfqueryparam Doug James
- RE: cfqueryparam Joe Rinehart
- RE: cfqueryparam Girardeau, Anne
- RE: cfqueryparam Girardeau, Anne
- CFQUERYPARAM Ciliotta, Mario
- Re: CFQUERYPARAM Bryan Stevenson
- Re: CFQUERYPARAM Mike Kelp
- Using missing templates as a mod_rewr... Scott Ashman
- Re: Using missing templates as a ... Bryan Stevenson