S
sunilkeswani
Hi,
I have a database which is used by 200 users, because of this, it is 20
different access files, and I have to make one master query, which
would union all the tblMain.
How do I get an SQL query to display only yesterday's, or last 7 days,
or this month's data.
I have
SELECT * from tblData UNION Select* from tblData1 UNION Select* from
tblData2 UNION Select* from tblData3 UNION Select* from tblData4 UNION
Select* from tblData5 UNION Select* from tblData6 UNION Select* from
tblData7
How do I insert the "WHERE" with the option Date()-1 ?
Any help would be appreciated.
Cheers
Sunny
I have a database which is used by 200 users, because of this, it is 20
different access files, and I have to make one master query, which
would union all the tblMain.
How do I get an SQL query to display only yesterday's, or last 7 days,
or this month's data.
I have
SELECT * from tblData UNION Select* from tblData1 UNION Select* from
tblData2 UNION Select* from tblData3 UNION Select* from tblData4 UNION
Select* from tblData5 UNION Select* from tblData6 UNION Select* from
tblData7
How do I insert the "WHERE" with the option Date()-1 ?
Any help would be appreciated.
Cheers
Sunny