aravind chandu wrote:
Well its telling you in the error the quotes are flaky. It apears that the password portion contains another sing quote. I would move to double dollar quoting when dealing with strings that contain special characters example R(T.exec(" select * from dbtable where username = $UserName$ " + user + " $Username$ and password = $Password$ " + st + " $Password$ ")); see http://www.postgresql.org/docs/8.3/static/sql-syntax-lexical.html on dollar quoting |