SharpQuest Blog

Database & SQL Articles

SQL Server scripts and tips from our engineers: audit trails, copying objects between databases and querying across them.

How to implement audit trail using triggers in SQL
Database & SQL

How to implement audit trail using triggers in SQL

A custom approach to store audit trail using Triggers and JSON format in SQL Server database.

Feb 12, 2025 4 min read
T-SQL Tips and Tricks: Copying Stored Procedure or Function from one database to multiple target databases
Database & SQL

T-SQL Tips and Tricks: Copying Stored Procedure or Function from one database to multiple target databases

A script to copy stored procedure or function from one DB to another DB or to multiple target databases

Mar 4, 2024 2 min read
T-SQL Tips and Tricks: Efficiently Querying Audit Entries created by Entity Framework in MS SQL
Database & SQL

T-SQL Tips and Tricks: Efficiently Querying Audit Entries created by Entity Framework in MS SQL

An easy way to query audit entries created by Entity Framework. This can be used by Microsoft .Net Developers in reports and UI to display history of changes to certain tables by users.

Feb 27, 2024 2 min read
T-SQL Tips and Tricks: Copying Views from one database to multiple target databases
Database & SQL

T-SQL Tips and Tricks: Copying Views from one database to multiple target databases

A script to copy T-SQL view from one MS SQL database to another or multiple target databases

Feb 26, 2024 2 min read
T-SQL Tips and Tricks: Executing a Query in multiple databases
Database & SQL

T-SQL Tips and Tricks: Executing a Query in multiple databases

A script to Execute T-SQL Queries in multiple databases

Feb 22, 2024 1 min read
Top 10 Most Common MongoDB Commands
Database & SQL

Top 10 Most Common MongoDB Commands

Top 10 Most Common MongoDB Commands. Are you new to MongoDB? Then this cheat sheet with the top 10 most common MongoDB commands can be very useful to you.

Nov 2, 2019 2 min read
SQL Server identity values jump by 1000 when it is restarted
Database & SQL

SQL Server identity values jump by 1000 when it is restarted

SQL Server identity values jump by 1000 when it is restarted

Apr 4, 2019 1 min read

Have a SQL Server database that needs work?

Talk to an engineer at our Troy, Michigan office about your database.

Get new articles by email

One email when we publish. No other mail.

Subscribe to the latest news and updates by email