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
Divers
Thread ID:
00704369
Message ID:
00704491
Vues:
20
it works for me on SQL Server 2000. I'm getting a list of all the temporary tables.

-Mike

>'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!
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform