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:38:11
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:
01393623
Vues:
67
>>>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.
>
>Can you show an example?

My mistake, it doesn't work with table variables.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform