|
-
Apr 4th, 2013, 05:37 PM
#4
Re: Database Queries based on rules
It depends on the circumstances, but it is likely to be valid to always put all of the joins in. If there are tables that aren't used, there is a good chance the joins will be ignored.
If not, adding joins as needed isn't a big deal - just use the same kind of method for the From clause that I showed above for the Where clause.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|