We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22fb08a commit 82c5faaCopy full SHA for 82c5faa
ascii.sql
@@ -0,0 +1,32 @@
1
+REM Script Name : ascii.sql
2
+REM Author : Craig Richards
3
+REM Created : 06-February-2008
4
+REM Last Modified :
5
+REM Version : 1.0
6
+REM
7
+REM Modifications :
8
9
+REM Description : Shows the ASCII chart
10
+
11
+SET SERVEROUTPUT ON SIZE 10240
12
13
+DECLARE
14
+ i NUMBER;
15
+ j NUMBER;
16
+ k NUMBER;
17
+BEGIN
18
+ FOR i IN 2..15 LOOP
19
+ FOR j IN 1..16 LOOP
20
+ k:=i*16+j;
21
+ DBMS_OUTPUT.PUT((to_char(k,'000'))||':'||chr(k)||' ');
22
+ IF k mod 8 = 0 THEN
23
+ DBMS_OUTPUT.PUT_LINE('');
24
+ END IF;
25
+ END LOOP;
26
27
+END;
28
+/
29
30
+SHOW ERRORS
31
32
+REM End of Script
0 commit comments