in reply to SQL Select
Also, append to the "WHERE" clause to filter out parts you do not want to scan.
If all you are doing is counting, SQL can again do that efficiently:
SELECT count(*) as nbr_of_parts_with_leading_zeros FROM table WHERE part like '0000000%';
...The words of the Prophets are written on the Facebook wall.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: SQL Select
by Scully4Ever (Novice) on Feb 03, 2016 at 23:28 UTC |