News

Therefore, remove references in queries and views to any table (s) and view (s) that you drop. If you drop a table with indexed columns, all the indexes are automatically dropped.
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 ...
Read this SQL tutorial to learn when to use SELECT, JOIN, subselects and UNION to access multiple tables with a single statement.