Answers for "sql substring in select"

SQL
16

sql server substring

SELECT SUBSTRING('SQL Tutorial', 1, 3) AS ExtractString;
Posted by: Guest on May-18-2020
6

sql substring

-- substr(string, start, [, length ])
SELECT substr('Hello World', 1, 3) ;      -- Hel
SELECT substr('Hello World', 4, 5) ;      -- lo Wo
SELECT substr('Hello World', 4);          -- lo World
SELECT substr('Hello World', -3);         -- rld
Posted by: Guest on May-02-2021
1

grab part of a string sql

SELECT 
    SUBSTRING('SQLTutorial.org',
        POSITION('.' IN 'SQLTutorial.org'));
Posted by: Guest on March-18-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language