TRIM() Function To Remove Space In SQL Server
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.
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.
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.
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.
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 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.
Difference between Temp Table, Table Variable and CTE in SQL Server. Temp Table vs Table Variable vs CTE and their usage.
Encrypting a string using hash code algorithm in sql server using the HASHBYPES function. Hash Code Encryption using MD2, MD4, MD5, SHA, SHA1, SHA 256 & 512