lundi 5 octobre 2015

SQLite Operational Error in text column

I am getting

sqlite3.OperationalError: near "[24:-2]": syntax error

when inserting values into a table. I am using Python and [24:-2] is to trim a very long string. The string is around 12.000 characters long and the table column is defined as TEXT.

Can you enlighten me why I am getting the error?

Aucun commentaire:

Enregistrer un commentaire