1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| SQL> create table t_imp (code varchar2(10),text long)
2 /
Table created.
SQL> CREATE OR REPLACE procedure Import (p_code t_imp.code%TYPE, p_text t_imp.text%TYPE) as
2 begin
3 INSERT INTO t_imp (code, text) VALUES (p_code, p_text);
4 end Import;
5 /
Procedure created.
SQL> exec import('aa','jdfhjjqhgjlhqldfhghqfhqgjqhdfdfjhgjqghqjdfhg');
PL/SQL procedure successfully completed.
SQL> select * from t_imp
2 /
CODE
----------
TEXT
--------------------------------------------------------------------------------
aa
jdfhjjqhgjlhqldfhghqfhqgjqhdfdfjhgjqghqjdfhg
SQL> |