Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Is there any "FULL OUTER JOIN" in while select in AX2012

$
0
0

I am a new user in AX2012.

 

My while select statement is

    while select tableA
      outer join tableB
           where tableA.ItemId == tableB.ItemId
              && tableA.InventColorId == tableB.InventColorId
              && tableA.InventSizeId == tableB.InventSizeId

there are 316 records comes out.

 

when I use sql in sql server

SELECT *
FROM tableA ctt
FULL OUTER JOIN tableB tgt
ON ctt.itemid = tgt.itemid
AND ctt.inventcolorid = tgt.inventcolorid
AND ctt.inventsizeid = tgt.inventsizeid

there are 317 records come out.

 

The difference is a record in tableB cannot come out in the while select statement. Please tell me how get all of the records in tableA and tableB with out join in while select statement. Thank you.


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>