Select a part of string SQL Server code example
Example 1: grab part of a string sql
SELECT
SUBSTRING('SQLTutorial.org',
POSITION('.' IN 'SQLTutorial.org'));
Example 2: grab part of a string sql
SELECT SUBSTRING('SQLTutorial.org');
SELECT
SUBSTRING('SQLTutorial.org',
POSITION('.' IN 'SQLTutorial.org'));
SELECT SUBSTRING('SQLTutorial.org');