Sha256: cd4e2c7e4e9c4f13cfc52a540658e532dd7d9d252c3c34a9a7b059e9776059da
Contents?: true
Size: 676 Bytes
Versions: 396
Compression:
Stored size: 676 Bytes
Contents
create or replace package raindrops# is function convert ( i_num pls_integer ) return varchar2; end raindrops#; / create or replace package body raindrops# is function convert ( i_num pls_integer ) return varchar2 is l_sound varchar2(15) := ''; begin if mod(i_num, 3) = 0 then l_sound := l_sound || 'Pling'; end if; if mod(i_num, 5) = 0 then l_sound := l_sound || 'Plang'; end if; if mod(i_num, 7) = 0 then l_sound := l_sound || 'Plong'; end if; return nvl(l_sound, to_char(i_num)); end convert; end raindrops#; /
Version data entries
396 entries across 396 versions & 1 rubygems