I am trying to create a query with a rolling date range to combine log files from the last week. Each day a new log table is created (log_file_07_01 _2013).
I want to create a view which would dynamically update the query for the last seven days of histoy:
i.e.
I want to create a view which would dynamically update the query for the last seven days of histoy:
i.e.
Code:
Select * from log_file_07_01_2013 union Select * from log_file_07_02_2013 ... Union Select * from log_file_07_07_2013
Comment