Hi,
I am trying to pass a SQL query as parameter which passed through servaral forms and get executed in final object say control. the reason it goes is to get modified in between based on serval conditions and finally it takes Key value and update the recore.
In the below example [v_key] identified at the end control where sql get executed…!
when I pass sql query it goes fine…
Update PCC_master set status=‘R’ where pcc_slno=[v_key]
the problem i am facing is
- Single quotes (’) is changed to ’ and corrupts the query
- The [v_key] is locally changed which is not reflected as value in the end control or form
I had found that to pass single quote the escape sequence to be used ‘’ and when i pass it is changed to ‘\’ and still found corrupted…?!
anybody has ideas
Thanks
DHana