Passing macro to sql query

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
iagmon
Posts: 1
Joined: Sat May 24, 2003 6:00 pm

Post by iagmon »

I want to pass a macro like: %TestName% to the sql query in the ODBC test.
For example:

select count(*) from anytable where anyfield = '%testname%'

Can it be done ? How do I use it with LIKE ?

I tried but failed.

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

Post by KS-Soft »

HostMonitor supports macro variables as action parameters. Macros are not supported for the tests' parameters.

Regards
Alex
Post Reply