Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Implementing a thread-safe queue (stack) in SQL Server 2
Message
De
05/09/2002 11:06:14
 
 
À
05/09/2002 09:59:14
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00697039
Message ID:
00697075
Vues:
15
Here is the explanation...

A stack needs to be implemented, using a table as the storage mechanism. The situation is that the table contains a list of reports that need to be built. Obviously, we don't want several processes each building the same report. The Sybase stored procedure allows multiple clients to get up to @max_cnt records for processing with each client getting a unique set of records for processing. The Sybase stored procedure was built for a different application. What I'm wondering is if there is an improved way in SQL Server 2000 to accomplish the same thing.

Bob Horkay
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform