News
I have concluded that the easiest way may be to create a temporary table that I can generate the report from and do my queries.<BR><BR>So - here is what I'd like to do:<BR><BR>1.
SQL Server throws a wobbly when one tries to declare/create the same-named temporary table more than once in the same procedure - I guess the query analyser assumes that all temp table creations ...
How to Create a Table From Query Results in Microsoft SQL. If your business uses relational databases to store data, you may have used a SQL SELECT clause to create new tables from query results.
SQL Server TSQL Stored Procedures which enable you to query table data through the data pages directly. This enables you to see the contents of temp tables created on other threads. - cb-kozel/sp_TSQL ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results