Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sp_tables skips # tables
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
Sp_tables skips # tables
Divers
Thread ID:
00704369
Message ID:
00704369
Vues:
60
'sp_tables' used to give us the # tables in the tempdb/user tables area, but not anymore with Sql 2000. The line that worked in Sql 7:

use tempdb;exec sp_tables '#Calc%', @table_type="'TABLE'";use mc_main_exl

This is breaking our cleanup routine so that a second run crashes into the # tables already created. Any ideas? Thanks.

We enabled DataReader in tempdb and now we can all the # tables, even those not from our current connection. Woah. We can't be whacking other folk's temp tables. Help!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform