Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8554

Re: Update OITW MinStock using DTW

$
0
0

Try this query:


SELECT ItemCode, WhsCode,ROW_NUMBER()OVER (PartitionBY ItemCode OrderBy WhsCode)- 1 FROM OITW

 

This query will give you the LineNum based on the system keeping the order as alphabetical order on the WhsCode.


Viewing all articles
Browse latest Browse all 8554

Latest Images

Trending Articles



Latest Images