SERPland Oracle, PL/SQL, PHP, Autos, Bungalow-Hotels and more …

16Oct/060

The speediest and most secure pl/sql program


You can't be faster

begin
null;
exception
when others then null;
end;

Seen my perfect exception handling?

16Oct/06Off

SQL: Remove Strings or Letters


Remove:

select TRANSLATE('12A3','0123456789', ' ') FROM dual

or

 

select
LTRIM(RTRIM(TRANSLATE(UPPER('12a'), ABCDEFGHIJKLMNOPQRSTUVWXYZ', ' '))) as nr
, LTRIM(RTRIM(TRANSLATE(UPPER('12a'),'0123456789', ' '))) as nr_add
from dual