Getting database backup history in SQL Server
There are several ways to get the database backup history in SQL Server. Here I have listed two of the quickest ways to get the backup history. I use these methods pretty regularly.
There are several ways to get the database backup history in SQL Server. Here I have listed two of the quickest ways to get the backup history. I use these methods pretty regularly.
There are several ways to find the active SQL connections is SQL Server. Let us see few of the simple methods which are using T-SQL queries.
About finding the DML Triggers which are modified or created during a given date range using the object catalog view sys.triggers .
In this article we will see how to restore a database backup file to Docker SQL Server Container Image on macOS.
In this article we will see about a simple step for removing the SQL Server container from Docker Desktop on macOS.
SQL Server on a Mac system: Here are the steps I have followed for setting up SQL Server on macOS using Docker Desktop community edition.
Here we will see about finding the stored procedures which are modified or created during a given date range.
Here I have given you a simple script to get the list of all indexes and index columns in a SQL Server database.
Here are couple of simple methods to get the list of all stored procedures created by the developers from a specific database in SQL Server.
Solution for the error message “Msg 8134, Level 16, State 1, Line 7 Divide by zero error encountered” when performing division operation in SQL Server.
Here is simple method to find the MAX of multiple columns in SQL Server. Getting smallest or highest values from multiple columns.
Using condition inside COUNT() in SQL Server is simple and comes in handy when you cannot use WHERE clause in the select statement.
Here is a simple method which I use to get the sizes of all databases on SQL Server in a single list.
Here is a simple tip to get the list of user created databases in an SQL Server.
As a database programmer, you may need to get result in table format from a stored procedure and store it to a temp table. Here we will see how to insert results from Stored Procedure to a temp table.
Here are the simple steps with example for altering existing version tables with data to system-versioned temporal table.
Using simple sql technique, here we will see how to get the list of temporal tables in a database.
How to check and drop a system-versioned temporal table if it exists in the database as temporal tables are different from regular tables?
Here a simple trick to find the name of the history table of a system versioned temporal table using SQL select statement.
Let us see how to check if a specific table is system versioned temporal or not using SQL script. SQL tips to check if temporal table exists.