Two questions:* Why is it quicker to create a TEMPDB - select into that tempdb then query it than it is to just query the DB???* Can I create the table in a temp stored procedure, will this be quicker and is it possible as the only way I know to populate temp tables in stored procedures is by hard coding them - not by doing a select into. Any thoughts greatly appreciatedThanks
↧