Using CONCAT_WS() in SQL Server
CONCAT_WS() is a new function introduced in SQL Server 2017. Here is the details on using CONCAT_WS() to concatenating strings with separator.
CONCAT_WS() is a new function introduced in SQL Server 2017. Here is the details on using CONCAT_WS() to concatenating strings with separator.
How to generate row number without using ORDER By clause in SQL Server. Simple technique to override the sequence ordering while using ROW_NUMEBR() function
TRIM() Function In SQL Server 2017 and equivalent custom made TRIM UDF in 2016 and older versions ti trim the spaces at the starting and ending of a string.
Difference between union and union all. Performance comparison of union vs union all and identifying the best one to use and the scenarios to use them.
SSMS for SQL Server 2016 and higher. Installing SQL Server Management Studio Release 15 and higher for SQL Server 2008 or higher.
Similarities, differences usage of char vs varchar. Differences and similarities between char and varchar data types In SQL Server.
Similarities, differences, advantages and disadvantages of nchar vs char. Differences and similarities between char and nchar data types In SQL Server.
Similarities, differences, advantages and disadvantages of nvarchar vs varchar. Differences and similarities between varchar and nvarchar data types In SQL Server.
Using filters in SQL Server Management Studio (SSMS) to find or filter objects like tables, views, functions and stored procedures for your convenience.
How to escape single quote in SQL Server? There are several ways to escape single quote. Here are few of the methods to escape quote in a string.
How to move database to emergency mode in SQL Server. For repair and troubleshooting purpose you may need to set the status of database to emergency.
Differences between taking database offline, detaching it and moving it to emergency mode in SQL Server? Offline Vs Detach Vs Emergency in table format.
Simple method to detach and attach database in SQL Server. T-SQL method and SSMS method to detach an database and attach it back.
How to bring back an SQL Server database online? Simple methods for bringing database online state using transact-SQL or SSMS.
How to take an SQL Server database offline? Simple methods to bring a MSSQL database to offline state using transact-SQL or management studio.
Simple method to split delimited strings in newer and older versions of SQL Server. Using STRING_SPLIT() in SQL Server 2016 and higher and Few lines of code to create a function which splits the strings with delimiters on older versions.
Easy way to simulating deadlocks and blocks In SQL Server. You may need to simulate blocked processes and deadlocks for testing purpose.
Finding the deadlocks and blocked processes using extended events In SQL Server. Collecting deadlocks using extended events
How to find long running stored procedures In SQL Server? Step by step illustration to find slow running SQL Server stored procedure.
What Are Extended Events In SQL Server? What are the advantages of extended events over profiler? How to use SQL Server XEvents?