Scripts

Generate views to correct the column collation on a target DB's tables automatically

You find you are querying a vendor supported database where you're not allowed to make any collation changes, and which has a weird collation setup: default DB collation that matches your server and other databases all character related columns are explicitly a different collation that does not match your DB or server collation Rather than […]

2019-07-05 (first published: )

361 reads

Audit Users logging in using "sa" or service accounts

Security is probably one of a production DBA's most important tasks and if developers use application or service accounts to run queries in your production environment you need to identify then and prohibit it. I notice some unwanted activity after staring a new job and decided to create a script that notifies me via email when […]

2019-07-04 (first published: )

649 reads

SQL Server System Audit Report

SQL Server System Audit Report Rudy Panigas, 2018-05-25 (first published: 2016-02-02) With every technology, security is in the forefront of the minds of professionals around the world. Ensuring that your SQL Server is secure is the job of every Database Administrator (DBA). The DBA(s) needs to configure the system to minimize the “attack surface” (reducing […]

3 (3)

2019-04-18

709 reads

Blogs

#DPS10 – preconfs

By

I have delivered a preconf on the biggest conference in Asia. The preconf was...

A Memory-Optimized Roundup – T-SQL Tuesday #117

By

The summary from my fourth T-SQL Tuesday hosting for #117. This time I was...

How do you debug your spark-dotnet app in visual studio?

By

When you run an application using spark-dotnet, to launch the application you need to...

Read the latest Blogs

Forums

Export to CSV

By Jenny77

Hi,   i am trying to export a table into csv, and it should...

CHECKDB

By VastSQL

My user database drive have about 100GB free space now and the database is...

Sql 2014 sp3 - extra stats created

By sqlguy7777

Has anyone seen Sp3 creating extra unexpected stats on tables after or during application...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers