PL\SQL Beautifier

sinys

Member²
Please, add this version

SQL:
select /*new line*/
         depno as department_number,
         dname as departmen_name,
         loc   as department_location
  from   /*new line*/
         dept,
         emp
  where  /*new line*/
         emp.empno = p_empno
         and dept.deptno = emp.deptno;
 
Please, add this style

SQL:
select m.ENAME
      into result
      from EMP e,
           EMP m
     where e.EMPNO = P_EMPNO
       and m.EMPNO = e.MGR
       and d.DEPTNO in (10, 20, 30, 40);

where aliases in lowercase, but field name and parameters in uppercase.
And add in CASE-WHEN-THEN-END section AND/OR under where clause, both for WHERE-section.
 
riphkin said:
Please, add this style

SQL:
select m.ENAME
      into result
      from EMP e,
           EMP m
     where e.EMPNO = P_EMPNO
       and m.EMPNO = e.MGR
       and d.DEPTNO in (10, 20, 30, 40);

where aliases in lowercase, but field name and parameters in uppercase.
And add in CASE-WHEN-THEN-END section AND/OR under where clause, both for WHERE-section.

I would love to see this style!
 
Back
Top