When I compile a stored procedure using CLPplus console (or even in dBeaver), all indentation is stripped out. Only when I compile in Data Studio is the formatting retained, but I would like to deploy projects with a script.
I expect there is something simple I am missing, but have not been able to find a solution or even any other posts with the same issue.
Using CLPplus I ran this script file @c:\temp\proc1.spsql
create or replace procedure proc1()
begin
declare vId int default 0;
call dbms_output.put_line(vId+1);
/*
Testing
*/
end
The SELECT TEXT FROM SYSCAT.PROCEDURES WHERE PROCNAME = 'PROC1';
produced the the following:
create or replace procedure proc1()
begin
declare vId int default 0;
call dbms_output.put_line(vId+1);
/*
Testing
*/
end