Also - LanX's suggestion of having appropriate INDEXes should improve performance.
SQL help would be off-topic for this forum, so I'm resisting requesting schema information, and a better problem description.
As a computer, I find your faith in technology amusing.
In reply to Re: Alternative for multiple while loops to improve performance
by NetWallah
in thread Alternative for multiple while loops to improve performance
by MissPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |