in reply to Re^3: For a better efficiency and speed question!
in thread For a better efficiency and speed question!
If you show where you see the error it would help! Thanks=code my $sql = $dbh->exec_select(" SELECT acc, name,date FROM mytable WHERE name <> '' AND ((date + 1 YEAR) >= (CURRENT_DATE)) AND ((date + 1 YEAR) < (CURRENT_DATE + 240 DAYS)) AND controlnum IN ('12345','8877788','23334455','223445988','222339000 +','2222333','223475699','22339668','2223999','009999','11220000','777 +66','88776' ,'9988888','11223756','22388577','9998888','998888','77665555','999988 +8','88877777','666555555','88777766666','112223333','9998877','998887 +7' ,'888777666666','00988777','887777654') and date between '2010-11-11' and '2011-11-11' order by date desc"); =cut
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: For a better efficiency and speed question!
by pvaldes (Chaplain) on Oct 04, 2011 at 18:11 UTC | |
by pvaldes (Chaplain) on Oct 04, 2011 at 18:17 UTC | |
by Anonymous Monk on Oct 04, 2011 at 21:09 UTC | |
by pvaldes (Chaplain) on Oct 04, 2011 at 21:41 UTC | |
by Anonymous Monk on Oct 04, 2011 at 23:23 UTC |