Parking your SQL in stored procedures will fullfil the 'someplace else' requirement if your db engine can handle them. If you are using MySQL or Access then you're out of luck.
Stored procedures have the additional advantage of boosting performance. They also tend to be a bit more secure than dynamic SQL.
In reply to Re: Navigating the plethora of SQL modules
by Art_XIV
in thread Navigating the plethora of SQL modules
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |