Quantcast
Channel: Scripts – DBA THINGS
Browsing all 25 articles
Browse latest View live

SQL DBA Cheatcode : SQL Server properties

In this article I am trying to outline about some important server properties which can help you out at the time of auditing and trace history of SQL Server. It has been checked in various SQL versions...

View Article


SQL DBA Cheatcode : 15 Things about SQL Server Error logs

Today I am writing about some good facts about SQL Server Error logs.   SQL Server maintains its own error logs that contain messages describing informational and error events. “Error logs” is just the...

View Article


Experiment With Nth Highest Or Lowest Salary Or Record in Sql

I was reading about it so i searched it on so many blogs & websites. Each blog has described this for employees having unique salaries, but what if few employees have same salary. I am asking this...

View Article

Interesting Query

Hi Guys! Today one of trainee in my team asked me one strange question, he shows a table and data – Then he asked me to get first 7th id row then 15th id row then 10th id row after this other rows- I...

View Article

Script : Disable all non sysadmin logins

Hello Reader, I am sharing a quick script to disable all non sysadmin logins for SQL Server. You can not disable windows groups so I tweaked this script to add Deny Connect for Windows Groups. This...

View Article

Browsing all 25 articles
Browse latest View live