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.
Here is a simple tip to insert multiple records in an SQL Server database table with a single SQL insert query.
Let us see with example on how to calculate the mathematical statistical mode in SQL Server.
Here you will see with a simple example on using an existing TSQL function to calculate the mean in SQL Server.
One another simple method to get the execution time in milliseconds in SQL Server Management Studio (SSMS)
Here we will see couple of methods to perform an IF…THEN Operation in SQL Server SELECT statement.
Developing an application with database, frequently you will need to provide option to update if a row exists else insert a row.
Here is a simple and quick query to list all the triggers with its associated table and schema names in an SQL Server database.
Today we will see a simple tip on how to get the list of all tables in a SQL Server database using TSQL metadata catalogs.
Status bar of SSMS won’t show the execution time in milliseconds. To get the accurate execution time in milliseconds, use the different options explained in this article.
Row-By-Row Processing Without Cursor: Here is a simple tip on how to loop through table rows without cursor in SQL Server.
Here is a simple Transact SQL script to backup all the databases In an SQL Server
Simple tips for finding triggers in an SQL Server database based on the partial table name or all the tables under a schema.
When trying to filter the results using LIKE clause with string having square bracket, it won’t work. So, how to escape square brackets in LIKE clause?
Is there FOR LOOP in SQL Server? If you are new to SQL Server and trying to create a stored procedure with some simple logic, you might be looking for the syntax of FOR LOOP.
Here is my take to search the whole database for a string In SQL Server. A stored procedure to search all the tables and its columns for a keyword.
Here is a simple solution to avoid the SQL Server error “String or binary data would be truncated …” and Insert string data with truncation.
IN SQL Server, moving table to another schema is quiet simple. Here I have given sample script to transfer one or all tables in a database to another schema.
Now we will see about the simplest method for killing all the active connections of an SQL Server database.