You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which SQL and options did you provide as input?
defaults
DECLARE
v_id1 varchar2(5) :='01';
v_id2 varchar2(5) :='02';
BEGIN
CASE v_id1
WHEN '01'
THEN
v_id1 :=
v_id2;
ELSE
log_error('INVALID id '|| p_id);
END CASE;
END;
Expected Output
DECLARE
v_id1 varchar2(5) :='01';
v_id2 varchar2(5) :='02';
BEGIN
CASE v_id1
WHEN '01' THEN
v_id1 := v_id2;
ELSE
log_error('INVALID id '|| p_id);
END CASE;
END;
I should point out that the formatter doesn't really support procedural SQL. Even when I do fix the crash, the formatted output will likely be pretty ugly.
Input data
Which SQL and options did you provide as input?
defaults
Expected Output
Actual Output
Usage
in html page: https://sql-formatter-org.github.io/sql-formatter/
Oracle PL/SQL
latest
The text was updated successfully, but these errors were encountered: