首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

Sqlite SQL语句的最大长度是多少?解决办法

2012-02-07 
Sqlite SQL语句的最大长度是多少??我想多个语句一起提交..它的SQL语句最大长度是多少字节?貌似我用的,超过

Sqlite SQL语句的最大长度是多少??
我想多个语句一起提交..
它的SQL语句最大长度是多少字节?
貌似我用的,超过5k就会有问题...

[解决办法]
1000000,似乎远大于你的5K啊,你是在什么中执行啊?

引用Maximum Length Of An SQL Statement

The maximum number of bytes in the text of an SQL statement is limited to SQLITE_MAX_SQL_LENGTH which defaults to 1000000. You can redefine this limit to be as large as the smaller of SQLITE_MAX_LENGTH and 1073741824.

热点排行