Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax help
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Divers
Thread ID:
01416815
Message ID:
01416823
Vues:
40
>Thank you for your suggestion. I was expecting only 1 row as a return from those 2 subqueries. The problem ended up being a typo...in a DSPQOH I reference incorrect table alias:
>
>
>...where ItemMst.EDPNo = ItemMst.EDPNo
>
>
>
>it should have been
>
>
>where itm.EDPNo = ItemMst.EDPNo
>
>
>
>DAniel

Ok, glad you found it. Still, using derived tables usually produces result faster than subquery.
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