Posted by Rafa³ Bielecki on 05/22/07 09:03
Hi there,
I have tables with such structure
transaction_YYMM
(idx,date,company_id,value)
where YYMM stands for 2digits year and month
I want to define query (maybe view, procedure):
select * from [???] where date>='2007-01-01' and date<='2007-04-30'
which will grab data from
transaction_0701
transaction_0702
transaction_0703
transaction_0704
and return all as one
best regards
Rafal
[Back to original message]
|