Macros in SQL Queries

Need new test, action, option? Post request here.
Post Reply
Guest

Post by Guest »

I have a database that records history into seperate tables for each month. The table name contains the 4 digit year and 2 digit month. I'm wanting to be able to have HostMonitor check the monthly history tables without having to update my test each month. Is it possible to use HostMonitor macro variables in the SQL query itself? This way, I could use
select count(*) from History%YYYYMM% where value = X



KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Its impossible in current version. I have added this task into "to do" list.

Regards
Alex
Post Reply