在sql中谨慎使用
oracle10g要求in里面最多1000个元素
mysql中为可在my.ini中配置选项,参数名max_allowed_packet
使用show variables like '%max_allowed_packet%'
如果过多可以创建索引之后使用exist