Open KsM00000 opened 1 month ago
Affected module We have a problem with our stored procedures in Oracle: the order of the procedure code lines is mixed up.
The procedure is valid when I check it in DB.
Describe the bug After some digging I found query that is used to get stored procedures.
SELECT OWNER, NAME, LINE, TEXT FROM DBA_SOURCE WHERE type = 'PROCEDURE' and owner = '{schema}'
And I think the problem is that there is no ORDER BY in query.
The numbers in the column "line" are correct, but for some reason the order in which you receive them may differ.
Expected behavior Procedures with right code.
Version:
Affected module We have a problem with our stored procedures in Oracle: the order of the procedure code lines is mixed up.
The procedure is valid when I check it in DB.
Describe the bug After some digging I found query that is used to get stored procedures.
And I think the problem is that there is no ORDER BY in query.
The numbers in the column "line" are correct, but for some reason the order in which you receive them may differ.
Expected behavior Procedures with right code.
Version: