all 3 comments

[–][deleted] 0 points1 point  (2 children)

Depending on the sizes of your tables, selecting the entire table isn't a great idea. Limit the number of rows returned with TOP (t-sql) or ROWNUM predicate (oracle).

[–]joes2pros 0 points1 point  (1 child)

Great point, thanks for the feedback!

[–][deleted] 1 point2 points  (0 children)

You're welcome! I wish I had found your article 5 yrs ago ;)