Skip to content

SQL indentation general

Tako Lee edited this page Feb 20, 2014 · 13 revisions

General indentation size is used to indent SQL code if there is no specific indent option provided for this SQL segment. Select list in following SQL was indented by 2 spaces.

SELECT 
  lastname, 
  firstname, 
  jobtitle, 
  department  
FROM   humanresources.vemployeedepartment;  
Clone this wiki locally