Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Informix > RE: SPL problem
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 14056 of 15119
Post > Topic >>

RE: SPL problem

by "Art Kagel" <art.kagel@[EMAIL PROTECTED] > May 16, 2008 at 10:54 AM

------=_Part_10287_14869138.1210949675232
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

OK, tried one workaround last night that seems to be working.  Changed out
the double quotes in the literal filters for single quotes and that is now
working.  The engine is no longer stripping the quotes out.  So I changed:

'...  columnname = "valuestring" ...'

-to-

'... columnname = ''valuestring'' ...'

Where the second version is actually two single quotes which are stripped
to
one single quote when it is saved in the query table.  Now the cursor OPEN
is not stripping off the quotes.

Single quotes for literals is SQL standard, but I still don't understand
why
the engine stripped the double quotes for the Windows .NET client and not
for the dbaccess Linux client.  Well, I'll leave that for IBM.

Art

------=_Part_10287_14869138.1210949675232
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

OK, tried one workaround last night that seems to be working.&nbsp;
Changed out the double quotes in the literal filters for single quotes and
that is now working.&nbsp; The engine is no longer stripping the quotes
out.&nbsp; So I changed:<br>
<br>&#39;...&nbsp; columnname = &quot;valuestring&quot;
...&#39;<br><br>-to-<br><br>&#39;... columnname =
&#39;&#39;valuestring&#39;&#39; ...&#39;&nbsp;&nbsp;&nbsp; <br><br>Where
the second version is actually two single quotes which are stripped to one
single quote when it is saved in the query table.&nbsp; Now the cursor OPEN
is not stripping off the quotes.<br>
<br>Single quotes for literals is SQL standard, but I still don&#39;t
understand why the engine stripped the double quotes for the Windows .NET
client and not for the dbaccess Linux client.&nbsp; Well, I&#39;ll leave
that for IBM.<br>
<br>Art<br><br>

------=_Part_10287_14869138.1210949675232--
 




 1 Posts in Topic:
RE: SPL problem
"Art Kagel" <  2008-05-16 10:54:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 23:35:18 CST 2008.