Link to home
Start Free TrialLog in
Avatar of ralphp1355
ralphp1355Flag for United States of America

asked on

VISUAL STUDIO VB - Opinion on running large queries setting temp tables - what do you use

More of an opinion or guidance because I want to do this the correct and acceptable way.
I have large queries that take bits of tables, create temp tables and queries the temp tables and finally get a dataset.
Should I use a stringbuilder or type the whole query into a string?
Should I use temptables or table variables?
Should I create a procedure - subroutine?
ASKER CERTIFIED SOLUTION
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial