result returned by multi script is different from ...
ogrishman
Posts: 81 Bronze 4
Hi,
I use multi script to run the following script(test whether the sqlbackup is installed on the server):
multi script returns "NOT INSTALLED", so I go to the server for further investigating. When I run the same code on the server directly, the server returns "INSTALLED".
Any ideas on why this happens? Thanks.
I use multi script to run the following script(test whether the sqlbackup is installed on the server):
DECLARE @result INT; SELECT @result = ISNULL(OBJECT_ID (N'master..sqlbackup'), 0); IF @result <> 0 BEGIN PRINT 'INSTALLED' END ELSE BEGIN PRINT 'NOT INSTALL' END
multi script returns "NOT INSTALLED", so I go to the server for further investigating. When I run the same code on the server directly, the server returns "INSTALLED".
Any ideas on why this happens? Thanks.
Comments
Thanks for your post. We are really going to need some more information unfortunately.
Can you screenshot this happening in Multiscript and ensure that we can see from the screenshot what servers this is being run on, as well as screenshotting the query run in SSMS, along with displaying the instance and DB that you are connected to?
Once that's done, please send it into support(at)red-gate.com with reference F0042734 in the subject line and we will look into it for you.
Many thanks!
Pete
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569
Thanks.