sql right characters

Solutions on MaxInterview for sql right characters by the best coders in the world

showing results for - "sql right characters"
Soraya
20 Sep 2018
1-- For Oracle only
2
3-- syntax 
4SUBSTR(<main-string>,-<number-of-characters>)
5
6-- example 
7SUBSTR('Useless stuff',-9) -- OUTPUT: ess stuff
8
9-- practical example
10SELECT SUBSTR('Useless stuff',-9)
11FROM DUAL;