How do you substring in SQL query? code example
Example 1: sql server substring
SELECT SUBSTRING('SQL Tutorial', 1, 3) AS ExtractString;
Example 2: sql substring
SUBSTRING(string, start, length)
SELECT SUBSTRING('SQL Tutorial', 1, 3) AS ExtractString;
SUBSTRING(string, start, length)