Guidelines for creating search arguments

Follow these guidelines when you write search arguments for your queries:

select * from table1 where int_col > 3

It is probably more efficient to write the query like this:

select * from table1 where int_col >= 4

This optimization is more difficult with character strings and floating point data. You need to know your data.

 

Tags : , , , , , , , , , ,

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Leave Comment