Skip to content
  • Facebook
  • GitHub
  • YouTube
  • Pinterest
My Tec Bits
  • Home
  • Microsoft
    • .Net
      • ASP.NET
      • MVC
      • Visual Studio
    • IIS
    • SQL Server
      • SQL Server 2019
      • SQL Server 2017
      • SQL Server 2016
      • SQL Server 2014
      • SQL Server 2012
      • SQL Server 2008
    • Windows OS
  • Web Development
    • Java Script
    • Jquery
    • Python
    • Bootstrap
    • Zurb Foundation
    • Web Security
  • More
    • macOS
    • Reviews
  • Online Tools
    • Fitness Calculators
    • Encoders & Decoders
    • Cryptography
    • Unit Converters
    • Math. Calculators
    • Date & Time Calculators
    • Finance Calculators

Transact-SQL (T-SQL)

TRIM() Function To Remove Space In SQL Server

Aug 18, 2018Sep 27, 2017 by Dahlia Sam
Trim Function 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.

Categories SQL Server Tags SQL, SQL Server 2005, SQL Server 2008, SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server 2017, Transact-SQL (T-SQL) Leave a comment

Union vs Union All – Usage and Performance In SQL Server

Jul 31, 2019Sep 6, 2017 by Dahlia Sam
UNION vs UNION ALL in SQL Server

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.

Categories SQL Server Tags Performance, SQL, SQL Server 2008, SQL Server 2012, SQL Server 2014, SQL Server 2016, Transact-SQL (T-SQL) Leave a comment

Char Vs Varchar Data Types In SQL Server

Aug 18, 2018Aug 2, 2017 by Dahlia Sam
char vs varchar in sql server

Similarities, differences usage of char vs varchar. Differences and similarities between char and varchar data types In SQL Server.

Categories SQL Server Tags SQL, SQL Server 2008, SQL Server 2012, SQL Server 2014, SQL Server 2016, Transact-SQL (T-SQL) Leave a comment

Nchar Vs Char Data Types In SQL Server

Aug 18, 2018Jul 27, 2017 by Dahlia Sam
Nchar vs Char in SQL Server

Similarities, differences, advantages and disadvantages of nchar vs char. Differences and similarities between char and nchar data types In SQL Server.

Categories SQL Server Tags SQL, SQL Server 2008, SQL Server 2012, SQL Server 2014, SQL Server 2016, Transact-SQL (T-SQL) Leave a comment

Nvarchar Vs Varchar Data Types In SQL Server

Jul 31, 2019Jul 21, 2017 by Dahlia Sam
Nvarchar vs Varchar in SQL Server

Similarities, differences, advantages and disadvantages of nvarchar vs varchar. Differences and similarities between varchar and nvarchar data types In SQL Server.

Categories SQL Server Tags SQL, SQL Server 2008, SQL Server 2012, SQL Server 2014, SQL Server 2016, Transact-SQL (T-SQL) Leave a comment

Move Database To Emergency Mode In SQL Server

Aug 18, 2018Jun 14, 2017 by Dahlia Sam
SQL Move Database To Emergency Mode

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.

Categories SQL Server Tags Database, SQL, SQL Server 2012, SQL Server 2014, SQL Server 2016, Transact-SQL (T-SQL) Leave a comment

Detach And Attach Database In SQL Server

Jul 31, 2019Jun 8, 2017 by Dahlia Sam
SQL Detach And Attach Database 05

Simple method to detach and attach database in SQL Server. T-SQL method and SSMS method to detach an database and attach it back.

Categories SQL Server Tags Database, SQL, SQL Server 2005, SQL Server 2008, SQL Server 2012, SQL Server 2014, SQL Server 2016, Transact-SQL (T-SQL) Leave a comment

Taking Database Offline In SQL Server

Jul 31, 2019Jun 2, 2017 by Dahlia Sam
Taking Database Offline in SQL Server 02

How to take an SQL Server database offline? Simple methods to bring a MSSQL database to offline state using transact-SQL or management studio.

Categories SQL Server Tags Database, SQL, SQL Server 2005, SQL Server 2008, SQL Server 2012, SQL Server 2014, SQL Server 2016, Transact-SQL (T-SQL) Leave a comment

How To Split Delimited Strings in SQL Server?

Jul 31, 2019May 31, 2017 by Beaulin Twinkle
SQL Server: Split Delimited Strings SP

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.

Categories SQL Server Tags SQL, SQL Server 2008, SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server 2017, SQL Tips, Transact-SQL (T-SQL) 6 Comments

Simulating Deadlocks And Blocks In SQL Server

Jul 31, 2019May 28, 2017 by Beaulin Twinkle
Simulating Deadlocks And Blocks In SQL Server

Easy way to simulating deadlocks and blocks In SQL Server. You may need to simulate blocked processes and deadlocks for testing purpose.

Categories SQL Server Tags SQL, SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 2014, SQL Server 2016, Transact-SQL (T-SQL) Leave a comment

Temp Table vs Table Variable vs CTE in SQL Server

Aug 18, 2018Mar 2, 2017 by Dahlia Sam
SQL Server Temp Table vs Table Variable vs CTE

Difference between Temp Table, Table Variable and CTE in SQL Server. Temp Table vs Table Variable vs CTE and their usage.

Categories SQL Server Tags SQL, SQL Server 2005, SQL Server 2008, SQL Server 2012, SQL Server 2014, SQL Server 2016, Transact-SQL (T-SQL) 5 Comments

Hash Code Encryption with HASHBYTES in SQL Server

Aug 12, 2021Feb 1, 2017 by Beaulin Twinkle
Hash Code Encryption with HASHBYTES in SQL Server

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

Categories SQL Server Tags SQL, SQL Server 2005, SQL Server 2008, SQL Server 2012, SQL Server 2014, SQL Server 2016, Transact-SQL (T-SQL) Leave a comment
Newer posts
← Previous Page1 … Page5 Page6

Article Categories

  • Android (2)
  • Apple (22)
    • macOS (22)
  • Internet & Web Dev. (149)
    • DNN (4)
    • Java Script (10)
    • Jquery (8)
    • PHP (7)
    • Python (80)
    • Twitter Bootstrap (25)
    • Web Security (11)
    • Zurb Foundation (6)
  • Linux (3)
  • Microsoft (303)
    • .Net (66)
    • IIS (10)
    • Internet Explorer (3)
    • Office (2)
    • SQL Server (213)
    • Windows (24)
  • Networks And Distributed Systems (2)
  • Oracle (7)
    • Java (2)
    • Oracle Database (5)
  • Others (6)
  • Reviews (10)

Recent Articles

  • How to delete a file or folder in Python? Sep 21, 2023
  • How to create a directory, and any missing parent directories in Python? Sep 20, 2023
  • How to exit from single-user mode in SQL Server database? Sep 14, 2023
  • How to group by datetime column without considering time? Aug 31, 2023
  • What Is Django Used For and Why Do We Use The Django Framework? Aug 29, 2023
  • Returning multiple values from a function in Python Aug 10, 2023
  • How to decode ASCII to text in C#? Aug 3, 2023
  • How to encode a string to ASCII in C#? Jul 19, 2023
  • Advantages and disadvantages of cursors in SQL Server Jul 15, 2023
  • What is hosts file and how to use it to override DNS? Jul 5, 2023

Subscribe MyTecBits.com

Online Tools

  • Fitness Calculators
  • Encoders & Decoders
  • Cryptography
  • Unit Converters
  • Math. Calculators
  • Date & Time Calculators
  • Finance Calculators

Popular Articles

  • SQL Server: Concatenate Multiple Rows Into Single String
  • How To Get Day Of Week In SQL Server?
  • How to compare contents of two files in Visual Studio Code?
  • SQL Server: Search and Find Table by Name
  • Getting The List Of Column Names Of A Table In SQL Server
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. Learn more...
  • Home
  • About Us
  • Contact Us
  • Site Map
  • Terms Of Use
  • Privacy Policy
© 2012 - 2023 My Tec Bits. All Rights Reserved.