We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right now to simplify EOL conversions can do the following:
regexp_replace(l_str, '[' || gc_cr || gc_lf || ']+', gc_crlf); where l_str can be a string or a clob. On large files this takes a long time.
regexp_replace(l_str, '[' || gc_cr || gc_lf || ']+', gc_crlf);
l_str
Can do the same thing using:
replace(replace(replace(replace(l_str, gc_crlf, gc_lf), gc_lfcr, gc_lf), gc_cr, gc_lf), gc_lf, gc_crlf); and it's very quick for LOBs.
replace(replace(replace(replace(l_str, gc_crlf, gc_lf), gc_lfcr, gc_lf), gc_cr, gc_lf), gc_lf, gc_crlf);
Create a function that takes in p_str which can be a clob varchar2 as well as desired EOL set (ex: lf) and returns the value.
p_str
lf
Similar tickets:
The text was updated successfully, but these errors were encountered:
#170 EOL conversion
915782c
martindsouza
No branches or pull requests
Right now to simplify EOL conversions can do the following:
regexp_replace(l_str, '[' || gc_cr || gc_lf || ']+', gc_crlf);
wherel_str
can be a string or a clob. On large files this takes a long time.Can do the same thing using:
replace(replace(replace(replace(l_str, gc_crlf, gc_lf), gc_lfcr, gc_lf), gc_cr, gc_lf), gc_lf, gc_crlf);
and it's very quick for LOBs.Create a function that takes in
p_str
which can be a clob varchar2 as well as desired EOL set (ex:lf
) and returns the value.Similar tickets:
The text was updated successfully, but these errors were encountered: