Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored Proc that returns row count from another Stored P
Message
 
 
À
07/04/2009 09:15:17
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01393595
Message ID:
01393597
Vues:
66
>Is this possible? I am working on setting up paging on a form and I don't want to duplicate the joins and filters in a second query that just returns the count. I've seen an example of creating a temp table and inserting the results of a stored procedure into that table but I wanted to see if there was an easier way.

You can use a table variable instead of temp table.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform