Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Pull This Data
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
How to Pull This Data
Miscellaneous
Thread ID:
01401995
Message ID:
01401995
Views:
102
Assuming the following data
WarehouseId WarehouseCode
----------- -------------
8           DFG
9           CBD
10          SFS
11          SDE 


InventoryId PartId      WarehouseId LocationId  ActionDate
----------- ----------- ----------- ----------- -----------------------
8549        8545        10          132         2009-05-26 09:58:21.397
10686       8545        10          130         2009-05-26 09:53:54.817
10685       8545        9           125         2009-05-26 09:53:09.603
10525       8545        8           11          2009-05-25 08:17:01.202
I need to retrieve the history of a part. If I were running the application at warehouse 10 and I wanted a history of part 8545, how do I also pull inventory records 10685 and 10525?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform