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

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

$
0
0

This works until I make  a second file containing SQL in the folder.

I am not clear on this part, documentation and this conversation sounds like I can create a separate file for each SQL statement or group of statements as long as they have unique labels.

When I have two SQL statements each in its own file the script editor hangs on reviving data from host, when I add the execute SQL command to the script in SD.

Edit: I have found the cause, in one of my SQL statements i had this "and online <> 0".

The angle brackets caused the phraser to fail. after I updated the statement to "and online != 0" it works properly.


Viewing all articles
Browse latest Browse all 30534

Trending Articles