i have no errors..tgriep wrote:The plugin for you query for some reason isn't returning any data.
Can you post the query you are running so we can review it?
Can you check the log file on the MSSQL server for any errors and post them here?
this is what i have in mysql.sql file
Declare @date1 datetime
Declare @date2 datetime
Select @date1 = GETDATE();
Select @date2 = (Select max(dateinserted) from mydb..mytable with (nolock) where portal='xxxxx')
IF (select DATEDIFF(hh, @date2, @date1)) > 1 BEGIN
PRINT DATEDIFF(hh, @date2, @date1)
PRINT '0'
END
ELSE
BEGIN
PRINT '1'
END
when i execute the query or the sp on management studio, works fine..
the check_mssql connection works but it doesnt have any result...