Scripts

Technical Article

Generic trigger for maintaining the Audit Log

This trigger will work even if you don't have the primary key on any table. Mechanism to configure the primary key in config table has been provided. This can be very helpful to solve the system audit requirements without much efforts.

Disclaimer : Audit Log trigger has performance overhead. It’s meant for table which is not frequently updated, deleted or inserted. Please take precaution when creating the trigger on the table having too many columns.

(3)

You rated this post out of 5. Change rating

2019-10-15 (first published: )

3,119 reads

Technical Article

Getting resource name from blocked process report

The Resource name is most important information in the blocked process report.
The purpose of this script is to decode this information.
The script is divided in two parts. In first one I'm using t-sql, and in second one I accomplished the same task using SQLCLR.

(5)

You rated this post out of 5. Change rating

2019-10-04 (first published: )

2,036 reads

Technical Article

List Extended Database properties for all databases

I am using database properties to add some useful information for each database. Tired of exploring each database from the menu in SSMS to look for specific information, I decided to make a script listing the extended properties for all my databases. I am pleased to offer this to the community 🙂

You rated this post out of 5. Change rating

2019-10-01 (first published: )

1,530 reads

Technical Article

WorkDay Functions

Functions to list the number of work days in period , determine if a given date is a work day, add work days to a given date.
Uses a table of holidays and a tally table.

You rated this post out of 5. Change rating

2019-09-24 (first published: )

3,754 reads

Blogs

Microsoft Purview data governance best practices

By

Microsoft Purview can be the best data governance tool in the world, but it...

Crash-Consistent MongoDB Snapshot and Restore with Everpure Fusion

By

I’ve been working on a project that combines two things I spend a lot...

AI and Data Engineering on the Edge: The Good, the Bad, and the Overhyped

By

Running AI and data pipelines on the edge instead of the cloud has gone...

Read the latest Blogs

Forums

FARE Labs Pvt. Ltd. offers professional testing for milk and dairy products.

By farelabs

Are you trying to find trustworthy services to test your milk? Comprehensive testing of...

PolyBase Trace Flags

By Leo.Miller

Are there any good articles on all the trace flags that are enabled on...

The Data Model Matters

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Data Model Matters

Visit the forum

Question of the Day

Running SQLCMD I

I run the SQLCMD utility as follows:

lcmd -S localhost -E
I then type this (the 1> is the prompt):
1> select @@version go
If I hit enter, what happens?

See possible answers