Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deadlocks in SQL Server
Message
 
 
À
07/07/2009 10:53:00
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01410522
Message ID:
01410563
Vues:
37
>I'm just using a normal SPT,
>something like :-
>lnquery = sqlexec(posqlconn,[ select prodcode from tuserprod where in_use='Y' and usergroup = ?pusergroup],'c_prodlist')
>I query it into a cursor. The cursor is used to do a grid search.
>
>Yau

Try

lnquery = sqlexec(posqlconn,[ select prodcode from tuserprod (WITH NOLOCK) where in_use='Y' and usergroup = ?pusergroup],'c_prodlist')

Also I didn't re-read this thread #1381607 but may be it would be useful.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform