{"id":620,"date":"2010-11-29T22:35:38","date_gmt":"2010-11-30T03:35:38","guid":{"rendered":"http:\/\/www.dpriver.com\/blog\/?p=620"},"modified":"2011-09-27T03:55:22","modified_gmt":"2011-09-27T08:55:22","slug":"new-sql-format-options-in-ver3-2-0","status":"publish","type":"post","link":"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/","title":{"rendered":"New SQL format options in Ver3.2.0"},"content":{"rendered":"<p>We have introduced 9 new format options in SQL Pretty Printer version 3.2.0.<\/p>\n<p>1. <strong>IntoClauseInNewline<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_part1_into.png\" alt=\"select into clause format option\" \/><\/p>\n<p>when IntoClauseInNewline is false<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_into_1.png\" alt=\"select into clause format option is false\" \/><\/p>\n<p>when IntoClauseInNewline is true<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_into_2.png\" alt=\"select into clause format option is true\" \/><\/p>\n<p>2. <strong>WhereClauseInNewline, LinefeedsAndOr_option<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_part1_where.png\" alt=\"select where clause format option\" \/><\/p>\n<p>when WhereClauseInNewline is false<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_where_1.png\" alt=\"select where clause format option is false\" \/><\/p>\n<p>when WhereClauseInNewline is true<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_where_2.png\" alt=\"select where clause format option is true\" \/><\/p>\n<p>position of AND\/OR keyword and newline, when AND\/OR keyword is in the end of line:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_where_3.png\" alt=\"select where clause format option, AND OR keyword in the end of line\" \/><\/p>\n<p>position of AND\/OR keyword and newline, when AND\/OR keyword is at the same line:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_where_4.png\" alt=\"select where clause format option, AND OR keyword in the end of line\" \/><\/p>\n<p>3. <strong>GroupByClauseInNewline, Select_Groupby_Style<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_part1_groupby.png\" alt=\"select group by clause format option\" \/><\/p>\n<p>when GroupByClauseInNewlineis false<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_group_1.png\" alt=\"select group by clause format option is false\" \/><\/p>\n<p>when GroupByClauseInNewlineis true<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_group_2.png\" alt=\"select group by clause format option is true\" \/><\/p>\n<p>when group by column list style is wrapped.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_group_3.png\" alt=\"select group by clause format option is true\" \/><\/p>\n<p>4. <strong>OrderByClauseInNewline, Select_Orderby_Style<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_part1_orderby.png\" alt=\"select order by clause format option\" \/><\/p>\n<p>when OrderByClauseInNewline is false<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_orderby_1.png\" alt=\"select order by clause format option is false\" \/><\/p>\n<p>when OrderByClauseInNewline is true<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_orderby_2.png\" alt=\"select order by clause format option is true\" \/><\/p>\n<p>when order by column list style is wrapped.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_orderby_3.png\" alt=\"select order by clause format option is true\" \/><\/p>\n<p>5. <strong>HavingClauseInNewline<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_part1_having.png\" alt=\"select having clause format option\" \/><\/p>\n<p>when HavingClauseInNewline is false<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_having_1.png\" alt=\"select having clause format option is false\" \/><\/p>\n<p>when HavingClauseInNewline is true<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_having_2.png\" alt=\"select having clause format option is true\" \/><\/p>\n<p>6. <strong>Update_Columnlist_Style<\/strong><\/p>\n<p>when Update_Columnlist_Style is stacked<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/update_setclause_1.png\" alt=\"update set clause format option is false\" \/><\/p>\n<p>when Update_Columnlist_Style is wrapped<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/update_setclause_2.png\" alt=\"update set clause format option is true\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have introduced 9 new format options in SQL Pretty Printer version 3.2.0. 1. IntoClauseInNewline when IntoClauseInNewline is false when IntoClauseInNewline is true 2. WhereClauseInNewline, LinefeedsAndOr_option when WhereClauseInNewline is false when WhereClauseInNewline is true position of AND\/OR keyword and newline, when AND\/OR keyword is in the end of line: position of AND\/OR keyword and newline, when AND\/OR keyword is at the same line: 3. GroupByClauseInNewline, Select_Groupby_Style when GroupByClauseInNewlineis false when GroupByClauseInNewlineis true when group by column list style is wrapped. 4. OrderByClauseInNewline, Select_Orderby_Style when OrderByClauseInNewline is false when OrderByClauseInNewline is true when order by column list style is wrapped. 5.\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,24],"tags":[],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":5}},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>New SQL format options in Ver3.2.0<\/title>\n<meta name=\"description\" content=\"New SQL format options in Ver3.2.0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"New SQL format options in Ver3.2.0\" \/>\n<meta property=\"og:description\" content=\"New SQL format options in Ver3.2.0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/\" \/>\n<meta property=\"og:site_name\" content=\"SQL and Data Blog\" \/>\n<meta property=\"article:published_time\" content=\"2010-11-30T03:35:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2011-09-27T08:55:22+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_part1_into.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/#organization\",\"name\":\"SQL and Data Blog\",\"url\":\"https:\/\/www.dpriver.com\/blog\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.dpriver.com\/blog\/wp-content\/uploads\/2022\/07\/sqlpp-character.png\",\"contentUrl\":\"https:\/\/www.dpriver.com\/blog\/wp-content\/uploads\/2022\/07\/sqlpp-character.png\",\"width\":251,\"height\":72,\"caption\":\"SQL and Data Blog\"},\"image\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/#website\",\"url\":\"https:\/\/www.dpriver.com\/blog\/\",\"name\":\"SQL and Data Blog\",\"description\":\"SQL related blog for database professional\",\"publisher\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dpriver.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/\",\"url\":\"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/\",\"name\":\"New SQL format options in Ver3.2.0\",\"isPartOf\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/#website\"},\"datePublished\":\"2010-11-30T03:35:38+00:00\",\"dateModified\":\"2011-09-27T08:55:22+00:00\",\"description\":\"New SQL format options in Ver3.2.0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.dpriver.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"New SQL format options in Ver3.2.0\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/#\/schema\/person\/fd33d9e572b65788a80dc4bac2b4e5a7\"},\"headline\":\"New SQL format options in Ver3.2.0\",\"datePublished\":\"2010-11-30T03:35:38+00:00\",\"dateModified\":\"2011-09-27T08:55:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/\"},\"wordCount\":132,\"publisher\":{\"@id\":\"https:\/\/www.dpriver.com\/blog\/#organization\"},\"articleSection\":[\"release\",\"sql pretty printer\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/#\/schema\/person\/fd33d9e572b65788a80dc4bac2b4e5a7\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dpriver.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/61d4e409068502b7e4960eb89efb79f8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/61d4e409068502b7e4960eb89efb79f8?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/www.dpriver.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"New SQL format options in Ver3.2.0","description":"New SQL format options in Ver3.2.0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/","og_locale":"en_US","og_type":"article","og_title":"New SQL format options in Ver3.2.0","og_description":"New SQL format options in Ver3.2.0","og_url":"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/","og_site_name":"SQL and Data Blog","article_published_time":"2010-11-30T03:35:38+00:00","article_modified_time":"2011-09-27T08:55:22+00:00","og_image":[{"url":"http:\/\/www.dpriver.com\/images\/screenshots\/v320\/select_part1_into.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.dpriver.com\/blog\/#organization","name":"SQL and Data Blog","url":"https:\/\/www.dpriver.com\/blog\/","sameAs":[],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dpriver.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dpriver.com\/blog\/wp-content\/uploads\/2022\/07\/sqlpp-character.png","contentUrl":"https:\/\/www.dpriver.com\/blog\/wp-content\/uploads\/2022\/07\/sqlpp-character.png","width":251,"height":72,"caption":"SQL and Data Blog"},"image":{"@id":"https:\/\/www.dpriver.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/www.dpriver.com\/blog\/#website","url":"https:\/\/www.dpriver.com\/blog\/","name":"SQL and Data Blog","description":"SQL related blog for database professional","publisher":{"@id":"https:\/\/www.dpriver.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dpriver.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/","url":"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/","name":"New SQL format options in Ver3.2.0","isPartOf":{"@id":"https:\/\/www.dpriver.com\/blog\/#website"},"datePublished":"2010-11-30T03:35:38+00:00","dateModified":"2011-09-27T08:55:22+00:00","description":"New SQL format options in Ver3.2.0","breadcrumb":{"@id":"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dpriver.com\/blog\/"},{"@type":"ListItem","position":2,"name":"New SQL format options in Ver3.2.0"}]},{"@type":"Article","@id":"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/#article","isPartOf":{"@id":"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/"},"author":{"name":"admin","@id":"https:\/\/www.dpriver.com\/blog\/#\/schema\/person\/fd33d9e572b65788a80dc4bac2b4e5a7"},"headline":"New SQL format options in Ver3.2.0","datePublished":"2010-11-30T03:35:38+00:00","dateModified":"2011-09-27T08:55:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dpriver.com\/blog\/2010\/11\/new-sql-format-options-in-ver3-2-0\/"},"wordCount":132,"publisher":{"@id":"https:\/\/www.dpriver.com\/blog\/#organization"},"articleSection":["release","sql pretty printer"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dpriver.com\/blog\/#\/schema\/person\/fd33d9e572b65788a80dc4bac2b4e5a7","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dpriver.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/61d4e409068502b7e4960eb89efb79f8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/61d4e409068502b7e4960eb89efb79f8?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.dpriver.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/posts\/620"}],"collection":[{"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/comments?post=620"}],"version-history":[{"count":25,"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/posts\/620\/revisions"}],"predecessor-version":[{"id":1079,"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/posts\/620\/revisions\/1079"}],"wp:attachment":[{"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/media?parent=620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/categories?post=620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dpriver.com\/blog\/wp-json\/wp\/v2\/tags?post=620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}