How to convert month number to month name in SQL Server?
In SQL Server there are several ways to convert an integer month number to a month name. Let’s see a few of the methods with examples.
In SQL Server there are several ways to convert an integer month number to a month name. Let’s see a few of the methods with examples.
There are couple of different ways to format a number with commas in SQL Server. Let see them in detail.
While cursors can be useful in certain scenarios, they also come with both advantages and disadvantages. Let’s explore the advantages and disadvantages of cursors.
IIF and CHOOSE are two logical functions in SQL Server used for different purposes. Here we will see the competition of IIF vs CHOOSE.
Here is one another simple way to calculate median using the PERCENTILE_CONT function introduced in SQL Server 2012.
Handling UTC DateTime in SQL Server database is very important for multi time zone applications. Here, you will learn about ways for storing the date time in UTC and converting the UTC DateTime to another time zone.
Here in this article we will see the various types of SHA-2 hashing has algorithms and the algorithms supported by SQL Server with examples.
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.
Temporal table otherwise called as system-versioned table helps you to maintain the version history of the data in the table in a automated way.
Here is a simple tip on how to drop a temporary or temp table if it exists using the DIY in 2016 or higher versions of SQL Server.
Here is the simple technique to get only the date part of GetDate() in SQL Server.
Here is a simple script to find the first day of the month in SQL Server without using varchar conversion. This method returns the result in datetime format.
Here is a simple SQL Server tip on getting the week number of month using DATEPART, DATEADD and EOMONTH functions.
How to trace errors and exceptions using profiler in SQL Server? Using SQL Server profiler is the easiest way to capture the errors and exceptions occurring in the SQL Server database.
How to launch SQL Server profiler in windows workstation? Here is the easiest option and step by step instruction for launching SQL Server profiler.
How to save the collected profiler trace to a table in SQL Server? Here are the steps for saving profiler trace results to a table for further analysis.