oracle right characters

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

showing results for - "oracle right characters"
Simona
26 Feb 2019
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;