cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
marketware
Level 6

Detect an SQL Instance

Is there a method of detecting an SQL Instance? I would like to run a "clean-up" query on an instance of SQL Server that the user can install "optionally". If I try to run the query and they didn't install it, then the uninstall fails.

I just want to test for existence, if the instance exists, then run my query otherwise, just ignore and go on.

Thanks!!

bob:confused:
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

As mentioned in [thread=194787]this thread[/thread], one option is to use the ISSQLServerList action and then inspect the value of IS_SQLSERVER_FLATLIST...
0 Kudos