Ask a Question related to Coldfusion Database Access, Design and Development.
-
vkunirs #1
Whats problem with this query?
Hi
i dynamically generating an insert query.
<cfquery name="s" datasource="dsnname">
#query#
</cfquery>
the query contains this query:
insert into
CONFIG_OS(l_os,l_servicepack,l_type_os,l_langue,l_ licence,l_proprietaire)
values ('windows','2.4.29','Microsoft Windows 2000
Professionnel','Fran?ais','FERZ9-FD4476-9Z46-5656-F','Linkbynet')
when i execute this i am getting this error:
Incorrect syntax near 'windows'.)
but if i execute in the SQL server it is executing successfully.
and even if execute this in cfm file then also it executing fine.
but if i given the variable which contains this query, then its giving that
error.
here the table name, fld names and fld values are generating dynamically.
what will be the problem.
vkunirs Guest
-
Whats the problem with my SQL???
I'm having problem with my SQL Statement, can anyone help me? Here's the error: Error Type: ADODB.Recordset (0x800A0E7D) The connection cannot be... -
Query on Query and CF casting problem
I am using a custom tag in MX7 that was working fine in 5 that renders a table. The input to the custom tag is a query and it's columns along with... -
tell me whats the problem here
please go to www.firstacademy.net/dev/ i loaded external swfs on 2 scrollpane components. It worked pretty fine locally. but when i uploaded it,... -
CSS Whats the problem here?
Hi Guys I have used CSS to control the hover on the menu of my site. It works fine is dreamweaver but only works on a few links on the site. ... -
Whats the problem
Hi I have a script for a shopsystem on a Linux. There it works fine. But when I try to run it on my Windows machine, PHP says things like Notice:... -
PaulH #2
Re: Whats problem with this query?
if you're going to handle your SQL that way , you'll need to use the preserveSingleQuotes function.
PaulH Guest



Reply With Quote

