Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Link to A or B based on value
Message
 
À
12/01/2000 15:37:20
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00317226
Message ID:
00317239
Vues:
9
You could use a union:
select * from C,A ;
where A.date = C.date ;
UNION ;
select * from C,B ;
where B.date = C.date
>Table A contains current working data
>Table B contains historical/archived data
>
>Table C is a running log, with dates going back into archived periods
>
>What syntax would be used to get a value from either Table A or B depending on the date value in table C?
Peter Franz
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform