Jump to content

[SOLVED] Can you specify a range in a WHERE IN?


ballhogjoni

Recommended Posts

Not that I am aware of unless you created a string from an array in PHP to pass into the IN operator.

Normal operation would be

WHERE column_name >= 1 AND column_name <= 100

 

http://dev.mysql.com/doc/refman/5.0/en/where-optimizations.html

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.