Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Advanced Join Query

$
0
0

Greeting guys  i have  4 tables uploaded under ,

im looking to get the product cost based on the order Date on the table SalesOrderheader ,
The Problem there is some product doesnt Exist on the productCosthistory since their cost didn't change or ended !

is there a way where i can make a condition if the productID doesnt Exist on the table ProdcutCostHistory than take the ProductCost that exist on the product table

and thanks !

table ProductCostHistory

table SalesOrderHeader

table SalesOrderDetail 

table product :


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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