Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 30534

Re: SQL commands in Kaseya Procedures (msg+++SQLCMD)

$
0
0

The 6.3 upgrade has introduced the new method of executing SQL Commands

The change affects Service Desk Procedures .. but I cannot see any change to the Agent Procedure list of commands

You will need to add xml files into the following folders

C:\Kaseya\xml\SDProcSQL\0\SQLNonQuery\<filename.xml

C:\Kaseya\xml\SDProcSQL\0\SQLQuery\<filename.xml

Example syntax for the files is :

<?xml version="1.0" encoding="utf-8" ?>

<queryList>

   <queryDef label="MySQLCommand" sql="SELECT machName FROM dbo.machNameTab WHERE agentGuid = '123456789' " />

</queryList>

I'd suggest creating the files BEFORE you upgrade

See help.kaseya.com/.../index.htm for more detail


Viewing all articles
Browse latest Browse all 30534