/*
here is a little script I've hobbled together that I use to get version and license info for a Red Gate install
enjoy,
Chuck
*/
DECLARE @version nvarchar(32) DECLARE @edition int DECLARE @SerialNumber VARCHAR(30);
exec master..sqbutility 21, @edition OUTPUT, @version OUTPUT, @SerialNumber OUTPUT;