Extract default & Named Instance from @@servername
Extract default & Named Instance from @@servername.
Print all characters before and after \ to find default and named instance name.
2019-05-03 (first published: 2015-04-15)
1,146 reads
Extract default & Named Instance from @@servername.
Print all characters before and after \ to find default and named instance name.
2019-05-03 (first published: 2015-04-15)
1,146 reads
Extract SQL Server Name, Instance Name, Service Account details, startMode and ServiceState details with Powershell.
2019-05-03 (first published: 2014-10-13)
6,111 reads
If you want to extract only deadlock details, use the script.
2019-05-03 (first published: 2014-12-03)
3,865 reads
If you want to find TotalPages, Usedpages,datapages,totalspaceMB,UsedSpaceMB,DataSpaceMB then can use this query.
2019-05-03 (first published: 2014-12-26)
1,505 reads
2019-05-03 (first published: 2016-11-22)
789 reads
2019-05-03 (first published: 2015-03-29)
1,756 reads
Easy way to get the TLOg space Usage details
2019-05-03 (first published: 2015-11-19)
1,377 reads
If you have a requirement to carefully have the output file against each sql agent job step, you can use this script. If incase, there are many sql agent jobs and by any reason if any of the step does not have proper o/p file, this script can automatically create the o/p file.
2019-05-03 (first published: 2016-05-20)
1,530 reads
If you have a requirement to Kill all USer Sessions before starting to restore a Database, you may use this script
2019-05-03 (first published: 2015-07-08)
2,122 reads
The script will be helpful to kill all the user sessions before performing the refresh of the database.
2019-05-03 (first published: 2011-03-29)
2,645 reads
By Brian Kelley
For those testing SQL Server 2025 before it officially releases, Microsoft has made the...
If there’s one thing I’ve learned in consulting, it’s that SQL Server, and other...
By Chris Yates
Embracing the New Paradigm Fabric real-time data signals a fundamental shift in how organizations...
We have a few stored procs where we need to a dos command "net...
CREATE TABLE ADMITS ( ID_NUM INT varchar(15) null ,provider_id varchar(15) null ,provider_name varchar(36) null...
Having real fun with this. It isn't possible to set the option group, to...
I want to enable Change Tracking for a database. What is the minimum database compatibility level I need to set for the Changetable function to work correctly?
See possible answers