Skip to content

SQL indentation begin and end function indent

shenhuan2021 edited this page Mar 3, 2024 · 2 revisions

Delphi

  • gfmtopt.BEStyle_Function_BodyIndent, type of Integer

Java

  • TODO

Uniform

  • If SQL block of create function/procedure is a single statement

    Option: fmt127_indent_procedure_body = n, type: TFmtInt.

    CREATE PROCEDURE humanresources.Uspgetallemployees  
    AS  
       SELECT lastname, 
              firstname, 
              jobtitle, 
              department  
       FROM   humanresources.vemployeedepartment;  
Clone this wiki locally