Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL command - to Combine
Message
De
02/10/2008 07:47:37
 
 
À
02/10/2008 07:39:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01352210
Message ID:
01352212
Vues:
26
This message has been marked as the solution to the initial question of the thread.
Create Table testdata (lodger c(3), short c(1), id n(2))
Insert into testdata values ('Test','T',1)
Insert into testdata values ('ABC','A',2)
Insert into testdata values ('UNU','I',3)
Select lodger, id from testdata union all;
select Cast(short as c(3)) as lodger, id from testdata order by 1,2
>i have this data
>
>Ledger Short Id
>Test T 1
>ABC A 2
>UNI I 3
>
>I need
>
>Head Id
>A 2
>ABC 2
>I 3
>T 1
>Test 1
>UNI 3
>
>
>What do i do ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform