Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with SQL Select clause...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01181103
Message ID:
01183280
Vues:
20
I don't think this is possible in one SQL statement.
What you might try is creating one SQL-statement for every day and then join the data of all the statements together.


>I try to build the following result:
>
>Employee    Monday 1/1     Tuesday 2/1    Wednesday 3/1  Thurs 4/1 ...
>---------------------------------------------------------------------
>Jaime       BA123 10:00     BA123 10:00     BA123 10:30   LY111 16:30
>            LY111 16:30                     LY111 16:30
>
>
>I did this through a manual loop through the table, but i'd like to do it through SQL if possible, so any ideas will be greatly appreciated.
>
>In the meantime, a happy and productive new year to all
>Jaime
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform