TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ravi Shekhar
362
4.5k
2.1m
Need help in Sql Query
Oct 17 2013 3:26 AM
Please find attached excel for sql server table data. I wrote the below query
select distinct WP.PickListNo,WP.OrderNo,WP.ArtNo,WP.Destination,WP.Size,WP.Source,WP.Concept,wp.Status,WP.Category,WP.slotcode,
WP.ActualQty,isnull(WP.ToPicked,0) ToPicked,isnull(WP.PickedQty,0) PickedQty,isnull(WP.LoadQty,0) LoadQty,Picker ,PickListCreatedOn,isnull(convert(varchar,PickingOn,120),'Not Picked Yet') PickingOn,
isnull(convert(varchar,LoadedOn,120),'Not Loaded Yet') LoadedOn
from wms_picking WP where CONVERT(datetime,CONVERT(varchar,PickListCreatedOn,101)) between
CONVERT(datetime,CONVERT(varchar,'2013-05-22',101)) and CONVERT(datetime,CONVERT(varchar,'2013-05-22',101))
I need result distinct picklistno with there sizes 070/060 in single single row article wise.
NEED HELP.........
Attachment:
sample.rar
Reply
Answers (
2
)
Run sql query on Max(Week) column in sql server
Need Suggestion about Stored Procedure