Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deadlock revisited
Message
 
 
À
14/02/2009 04:07:36
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Web
Divers
Thread ID:
01381607
Message ID:
01381992
Vues:
44
>>Could you post it in XML format?
>
>I have attached it.

According to the execution plan, SQL engine runs 2 separate queries and than merges them. I would bet that the execution plan for a JOIN query would be the same or close. IOW, I don't thibnk that switching to exists changed anything.
SELECT Member.Numero,Member.Nom,Member.Prenom,Member.LastAccess
 FROM Member
 WHERE Member.LastAccess>=@LastAccess AND
-- And 
SELECT Monitor.NoMember2 FROM Monitor WHERE Monitor.NoMember=@NoMember
I don''t see anything wrong with query itself. Are there any other SQL statement in your system that uses those 2 tables and could cause the deadlock?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform