Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Head-breaking query
Message
De
20/09/2016 14:30:54
 
 
À
20/09/2016 10:30:40
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01641137
Message ID:
01641143
Vues:
60
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform