SQL notes

get the instance name:

select convert(nvarchar(128), serverproperty('servername'));

Leave a Reply

Your email address will not be published. Required fields are marked *