Default limits for SQLite
http://www.sqlite.org/limits.html

Maximum length of a string or BLOB: 1,000,000,000 (1 billion bytes)
Statement length: 1,000,000 bytes

How are you doing your insert? Are you binding the string (good), or 
substituting it into the insert statement as part of the statement text (bad)?


-----Original Message-----
From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On 
Behalf Of Igor Korot
Sent: Thursday, March 01, 2018 2:23 PM
To: SQLite mailing list
Subject: Re: [sqlite] String Too Long

Hi,

On Thu, Mar 1, 2018 at 1:20 PM, Matías Badin <matias.ba...@wildar.com> wrote:
> Hi all;
> I am trying to insert a big string and i have the message: Request too long.
>
> I set my parameter as "text" but i still have this problem.
>
> Do you know if i can use another type?

BLOB?

Thank you.

>
> Thanks
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to