RosettaCodeData/Task/Generate-lower-case-ASCII-alphabet/PL-SQL/generate-lower-case-ascii-alphabet.sql

13 lines
258 B
MySQL
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
Declare
sbAlphabet varchar2(100);
Begin
For nuI in 97..122 loop
if sbAlphabet is null then
sbAlphabet:=chr(nuI);
Else
sbAlphabet:=sbAlphabet||','||chr(nuI);
End if;
End loop;
Dbms_Output.Put_Line(sbAlphabet);
End;