Viewing 2 posts - 1 through 2 (of 2 total)
Well, coding a table maintenance job for 140 different servers which are from 2005 to 2019 version, with a reporting server or not, with sdt or not, it is very...
May 27, 2020 at 7:43 am
Hi,
A small improvement to this script may be :
SELECT @InstanceName = convert(varchar, ISNULL(ServerProperty('InstanceName'),'MSSQLSERVER'))
(Since the return value may be null when default instance name is used)
May 20, 2020 at 8:06 am
Viewing 2 posts - 1 through 2 (of 2 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy