on 2021 Apr 08 10:15 AM
Hi all,
I'm trying to use a query where I compare two filds from two tables, the thing is the second table is an UDO,
I'm afraid that the syntax is incorrect, here is the query :
SELECT T1.[U_PDR1] FROM OINS T0 , [@GAMME] T1 WHERE T1.[Code] = $T0.[U_Gamme]
the $ is not well placed but in cant seem to make the syntaxe correct with [@GAMME]
Is anyone familiar with using UDO filds comparision in queries ?
Thanks
Request clarification before answering.
Hi,
Try this,
SELECT T1.[U_PDR1]
FROM
[dbo].[@GAMME] T1 LEFT OUTER JOIN OINS T0 ON T1.[Code] = T0.[U_Gamme]
Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
60 | |
8 | |
8 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.