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

SQL Server 2017

Unique Constraint That Allow Multiple Nulls In SQL Server

Aug 18, 2018Jan 12, 2018 by Beaulin Twinkle
SQL Server unique constraint that allow multiple nulls

How to create an unique constraint that allow multiple nulls? Using filtered index you can create unique constraint with multiple nulls. Using this you can store any number for NULL in a unique constraint column

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

List All Foreign Keys Referencing A Table In SQL Server

Jul 31, 2019Jan 5, 2018 by Beaulin Twinkle
List Foreign Keys Referencing A Table

Quick methods to list all foreign keys referencing a table in SQL Server using execution of simple TSQL scripts and SSMS GUI. Ways to identify all the tables referencing a table with foreign key constraint

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

Auto Generate INSERT Statements for a Table in SQL Server

Aug 18, 2018Dec 27, 2017 by Beaulin Twinkle
Auto Generate Insert Script in SQL Server 05

Easy way to auto generate INSERT statements for a table in SQL Server using SSMS. Generate insert statements from sql server tables on the fly.

Categories SQL Server Tags SQL, SQL Server 2016, SQL Server 2017, SQL Sever Management Studio (SSMS), SQL Tips 7 Comments

Inserting Line Break or Carriage Return or Tab To String In SQL Server

Aug 18, 2018Dec 21, 2017 by Beaulin Twinkle
Inserting line break or carriage return or tab to string

Adding or inserting Inserting Line Break or Carriage Return or Tab to a string in SQL Server. Quick examples for adding special characters like Line Break, Carriage Return and Tab to strings.

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) Leave a comment

Pagination of Results in SQL Server In Efficient Way

Sep 13, 2018Dec 15, 2017 by Beaulin Twinkle
Pagination of results in SQL Server

How to do pagination of results in SQL Server In and efficient way? Best way to paginate results in SQL Server to improve performance of the application.

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

How to get Date from DateTime data type in SQL Server?

Aug 18, 2018Dec 11, 2017 by Beaulin Twinkle
Date From DateTime Datatype

How to get date part alone from DateTime and DateTime2 data types in SQL Server? Here are few of the techniques to get date from DateTime column.

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

Azure Data Studio: A Cross-Platform SQL Server Tool

Mar 14, 2019Nov 18, 2017 by Beaulin Twinkle
SQL Operations Studio

What is Azure Data Studio (SQL Operations Studio)? What are the salient features of SQL Ops Studio? Advantages and disadvantages of SQLOPS over SSMS.

Categories SQL Server Tags Azure SQL Database, DevOps, SQL, SQL Operations Studio (SQLOPS), SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server 2017, Transact-SQL (T-SQL) Leave a comment

Where is SQL Server Configuration Manager?

Jun 20, 2020Nov 9, 2017 by Beaulin Twinkle
SQL Server Configuration Manager 4

Where is SQL Server Configuration Manager? How to find and open Configuration Manager in latest versions of SQL Server? Opening SSCM in MMC.

Categories SQL Server Tags SQL Server 2008, SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server 2017, Windows 10 7 Comments

DROP IF EXISTS Table Or Other Objects In SQL Server

Apr 11, 2019Nov 3, 2017 by Beaulin Twinkle
SQL Server DROP IF EXISTS 01

How to drop table if it exists in SQL Server? How to drop stored procedure if it exists? How to drop function if it exists? Using DROP IF EXISTS.

Categories SQL Server Tags SQL, SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server 2017, Transact-SQL (T-SQL) 2 Comments

Concatenate Multiple Rows Using STRING_AGG

Aug 18, 2018Oct 27, 2017 by Beaulin Twinkle
SQL Server Using STRING_AGG

Concatenate multiple rows into single string in SQL Server using STRING_AGG. New function STRING_AGG in SQL Server 2017 to concatinate rows of data.

Categories SQL Server Tags SQL, SQL Server 2017, Transact-SQL (T-SQL) 5 Comments

Using TRANSLATE() in SQL Server

Aug 18, 2018Oct 19, 2017 by Beaulin Twinkle
SQL Server - Using TRANSLATE

TRANSLATE() is a string function introduced in SQL Server 2017. Using TRANSLATE is simple and straightforward compared to REPLACE function.

Categories SQL Server Tags SQL, SQL Server 2017, Transact-SQL (T-SQL) Leave a comment

Using CONCAT_WS() in SQL Server

Dec 19, 2019Oct 11, 2017 by Dahlia Sam
SQL Using CONCAT

CONCAT_WS() is a new function introduced in SQL Server 2017. Here is the details on using CONCAT_WS() to concatenating strings with separator.

Categories SQL Server Tags SQL, SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server 2017, Transact-SQL (T-SQL) 2 Comments

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

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

Find Indexes On A Table In SQL Server

Mar 11, 2020Jan 24, 2017 by Beaulin Twinkle
SQL Server Find Indexes On A Table 03

Finding Indexes On A Table In SQL Server: There are several ways to list the indexes on a table. We’ll see few easy methods to find indexes on a table

Categories SQL Server Tags SQL, SQL Server 2008, SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server 2017, SQL Server 2019 Leave a comment

SQL Server: Concatenate Multiple Rows Into Single String

Sep 10, 2020Jan 6, 2017 by Beaulin Twinkle
SQL Server Concatenate Multiple Rows into String 01

Combine multiple rows into one string in SQL Server. Simple query in SQL Server to concatenate multiple rows Into single string.

Categories SQL Server Tags SQL, SQL Server 2005, SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server 2017, SQL Server 2019 25 Comments
Newer posts
← Previous Page1 Page2 Page3

Article Categories

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

Recent Articles

  • Installing .NET SDK in Linux Mint and debugging C# code using VS Code Jun 21, 2024
  • Generating random number in C#  Jun 6, 2024
  • How to calculate running total in SQL Server? Apr 27, 2024
  • How to import XML data into SQL Server using SELECT query? Apr 10, 2024
  • How to prevent VS Code from replacing an already opened preview tab with a subsequently opened one? Mar 13, 2024
  • Separating letters and numbers from strings in SQL Server Mar 6, 2024
  • How to call or run another application from python code? Feb 15, 2024
  • How to store images in SQL Server? Jan 17, 2024
  • Error: A table that has FILESTREAM columns must have a nonnull unique column with the ROWGUIDCOL property. Jan 8, 2024
  • Fix for Error: “FILESTREAM feature is disabled” while adding FILESTREAM Jan 4, 2024

Subscribe MyTecBits.com

Online Tools

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

Popular Articles

  • Joining Tables from Databases on Different SQL Servers
  • RDP Error: The identity of the remote computer cannot be verified
  • Where is SQL Server Configuration Manager?
  • Auto Generate INSERT Statements for a Table in SQL Server
  • How to compare contents of two files in Visual Studio Code?
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 - 2025 My Tec Bits. All Rights Reserved.