Advertisement
lucasmouraahere

Função Oracle Substr

Jun 26th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PL/SQL 0.25 KB | None | 0 0
  1. -- CORTAR A STRING DENTRO DE UM TEXTO
  2.  
  3. SELECT SUBSTR('O Aprendaplsql é o melhor site', 3)
  4.   FROM dual;
  5.  
  6. SELECT SUBSTR('O Aprendaplsql é o melhor site', 3, 12)
  7.   FROM dual;
  8.  
  9. SELECT SUBSTR('O Aprendaplsql é o melhor site', -11, 6)
  10.   FROM dual;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement