How to run xp_sqllitespeed_version from command line? (42663)
How to run xp_sqllitespeed_version from command line?
How to execute the extended stored procedure to determine licensing info for LiteSpeed?
OSQL must be utilized for command line input.
In the example below, the name of the server/instance would need to be edited. Database and query would remain as illustrated.
osql -E -Salv202592 -dMASTER -Q"exec xp_sqllitespeed_version"
-E means trusted sql server (i.e. Windows) connection.
-S is the instance name
-d is the database
-Q is the query you want to run
© 2021 Quest Software Inc. ALL RIGHTS RESERVED.