Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Link to A or B based on value
Message
 
To
12/01/2000 15:37:20
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00317226
Message ID:
00317239
Views:
10
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
Previous
Reply
Map
View

Click here to load this message in the networking platform