Why 1 Set of Single Quotes Becoming 2 Sets?
Posted by:
J Dev
Date: August 09, 2009 01:54PM
Hello,
Can someone help me find solution to the following problem:
I am using a form to fetch data from MSSQL database. There are two form variables I am using, "keyword" and "level". In my form the variable "keyword" uses form's text field and I am using a dropdown select box for selecting pre-defined values of "level", like A, B, C.
In my query I am using dynamic variable to set the value as used in the form. Since the data type of the column where levels are stored is "text" I have to have single quotes around the variable of levels.
The problem is, when I write static value of level in the query with single quotes it does fine, but when I use the varible with single quote it adds another set of single quotes around the variable value.
An early reply would be much appreciated, thanks.
Subject
Written By
Posted
Why 1 Set of Single Quotes Becoming 2 Sets?
August 09, 2009 01:54PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.