Created
September 5, 2014 00:39
-
-
Save felipemesquita/c5367def490478009f1a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare | |
l_clob CLOB; | |
begin | |
for i in 1..20000 loop | |
l_clob := l_clob || 'A,B,C,D,E,F,G,H,I' || chr(13); | |
end loop; | |
l_clob := l_clob || 'A,B,C,D,E,F,G,H,I'; | |
DELETE FROM bra.tmp_csv2; | |
DELETE FROM bra.tmp_csv; | |
COMMIT; | |
INSERT INTO bra.tmp_csv VALUES (l_clob); | |
COMMIT; | |
tmp_parse_csv(l_clob); | |
end; | |
/ | |
SELECT * | |
FROM bra.tmp_csv2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment