substring tsql code example
Example 1: sql server substring
SELECT SUBSTRING('SQL Tutorial', 1, 3) AS ExtractString;
Example 2: grab part of a string sql
SELECT SUBSTRING('SQLTutorial.org');
SELECT SUBSTRING('SQL Tutorial', 1, 3) AS ExtractString;
SELECT SUBSTRING('SQLTutorial.org');