Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using temporary tables in SQL Server
Message
 
 
À
25/07/2005 16:40:12
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01035815
Message ID:
01035834
Vues:
9
>I am designing a report in a SQL Server stored procedure that is going to take more work to create than a simple select statement. I will have to add
>and delete record from the result set after the initial select statement, and the report needs the ability to be run by more that 1 user at a time. I started looking into SQL Server temporary tables as a solution. Does anyone
>know if this is the right way to go or is there a better way of performing this task ?
>

Hi Stephen,

If you considered and ruled out set oriented solutions, than you have two choises: temporary table or table variables. See INF: Frequently Asked Questions - SQL Server 2000 - Table Variables mskb #305977 for some pointers.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform