Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Head-breaking query
Message
From
20/09/2016 14:30:54
 
 
To
20/09/2016 10:30:40
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01641137
Message ID:
01641143
Views:
59
>This distributor wants a listing of locations to be delivered by day
>
>
>Sunday  Monday Tuesday   etc
>loc a       loc b       loc d
>loc j        loc k        etc           etc
>
>
>the table contains the daynumber Sunday =1, and the location,
>
>Can it be done in one query?

Naomi's answer is likely to suffice. But just curious, can you post the DDL for the table(s) involved?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform