Hi folks,

I'm having a headache with escape chars at sqlite. I'm using pysqlite,
and everytime I try to insert data with a escape char it raises the
following exception:

 File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 244, in execute
   self.rs = self.con.db.execute(SQL)
_sqlite.DatabaseError: unrecognized token: "\"

After that, I tried to double the escape to avoid the problem, but
nothing changed. I tried to double the escape, because that is the
technique widely used on main languages to escape a escape char.
As I saw at the sqlite FAQ, that's the same technique used to escape a
quote. But, It simply doesn't seem to work with the escape char.
Any clues?


Cheeeeers!

--
Adriano Monteiro Marques
http://umit.sourceforge.net
[EMAIL PROTECTED]

"Don't stay in bed, unless you can make money in bed." - George Burns

Reply via email to