Advertisement
econz

Firebird - Firebird Functions

Jan 22nd, 2019
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.39 KB | None | 0 0
  1. SELECT
  2.    LEFT('JOAO SILVA',5),
  3.    RIGHT('JOAO SILVA',5),
  4.  
  5.    lpad('TESTE_DIR',14,'*'),
  6.    rpad('TESTE_ESQ',14,'*'),
  7.  
  8.    CEIL(12.87),
  9.    FLOOR(12.87),
  10.  
  11.    maxvalue(1 , 1.34 , 8.98 ),
  12.    minvalue(1 , 1.34 , 8.98 ),
  13.  
  14.    overlay('JOAO SILVA SANTOS' placing ' TESTA ' FROM 5 FOR 1) ,
  15.  
  16.    REPLACE('JOAO SILVA SANTOS','SILVA','TESTA'),
  17.  
  18.    reverse('OLA MUNDO')
  19.  
  20.  
  21. FROM RDB$DATABASE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement