{"id":1109,"date":"2013-06-23T03:01:24","date_gmt":"2013-06-22T21:31:24","guid":{"rendered":"http:\/\/sqlhints.com\/?p=1109"},"modified":"2013-07-07T03:11:54","modified_gmt":"2013-07-06T21:41:54","slug":"format-string-function-in-sql-server-2012","status":"publish","type":"post","link":"https:\/\/sqlhints.com\/2013\/06\/23\/format-string-function-in-sql-server-2012\/","title":{"rendered":"FORMAT STRING FUNCTION IN SQL SERVER 2012"},"content":{"rendered":"<p><strong>FORMAT<\/strong> is one of the new built-in String Function introduced as a Part of Sql Server 2012. It returns the value formatted in the specified format using the optional culture parameter value. <em>It is not an Sql Server native function instead it is .NET CLR dependent function.<\/em><\/p>\n<p><strong>SYNTAX:<\/strong> FORMAT ( value, format [, culture ] )<\/p>\n<table width=\"90%\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"border: solid windowtext 1pt;\" valign=\"top\"><strong>Parameter<\/strong><\/td>\n<td style=\"border: solid windowtext 1pt;\" valign=\"top\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"border: solid windowtext 1pt;\" valign=\"top\"><strong>value:<\/strong><\/td>\n<td style=\"border: solid windowtext 1pt;\" valign=\"top\">Value to be formatted<\/td>\n<\/tr>\n<tr>\n<td style=\"border: solid windowtext 1pt;\" valign=\"top\"><strong>format:<\/strong><\/td>\n<td style=\"border: solid windowtext 1pt;\" valign=\"top\">This parameter specifies the format in which the vlaue will be formatted.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: solid windowtext 1pt;\" valign=\"top\"><strong>culture:<\/strong><\/td>\n<td style=\"border: solid windowtext 1pt;\" valign=\"top\">This parameter is optional, it specifies the culture in which the value is formatted. If it is not specified then the language of the current session is used.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>RETURNS: Return value type is nvarchar.<\/p>\n<p><strong>Example 1: FORMAT DATE with Culture<\/strong><\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: []; html-script: false\">DECLARE @date DATETIME = GETDATE() \r\nSELECT @date AS &#039;GETDATE()&#039;,\r\n       FORMAT( @date, &#039;d&#039;, &#039;en-US&#039;) AS &#039;DATE IN US Culture&#039;,\r\n       FORMAT( @date, &#039;d&#039;, &#039;en-IN&#039;) AS &#039;DATE IN INDIAN Culture&#039;,\r\n       FORMAT( @date, &#039;d&#039;, &#039;de-DE&#039;) AS &#039;DATE IN GERMAN Culture&#039;<\/pre>\n<p><span style=\"color: blue;\">Result:<\/span><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1174 aligncenter\" alt=\"FORMAT_FUNCTION_IN_SQL_SERVER_2012_1\" src=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_1.jpg\" width=\"585\" height=\"181\" srcset=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_1.jpg 585w, https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_1-300x92.jpg 300w\" sizes=\"auto, (max-width: 585px) 100vw, 585px\" \/><\/a><\/p>\n<p><strong>Example 2: FORMAT CURRENCY with Culture<\/strong><\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: []; html-script: false\">DECLARE @Price INT = 40\r\nSELECT FORMAT(@Price,&#039;c&#039;,&#039;en-US&#039;) \r\n         AS &#039;CURRENCY IN US Culture&#039;,       \r\n    FORMAT(@Price,&#039;c&#039;,&#039;de-DE&#039;)\r\n         AS &#039;CURRENCY IN GERMAN Culture&#039;<\/pre>\n<p><span style=\"color: blue;\">Result:<\/span><\/p>\n<p><a href=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1175\" alt=\"FORMAT_FUNCTION_IN_SQL_SERVER_2012_2\" src=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_2.jpg\" width=\"524\" height=\"134\" srcset=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_2.jpg 524w, https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_2-300x76.jpg 300w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\" \/><\/a><\/p>\n<p><strong>Example 3: FORMAT CURRENCY<\/strong><\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: []; html-script: false\">DECLARE @Price DECIMAL(5,3) = 40.356\r\nSELECT FORMAT( @Price, &#039;C&#039;) AS &#039;Default&#039;,\r\n      FORMAT( @Price, &#039;C0&#039;) AS &#039;With 0 Decimal&#039;,\r\n       FORMAT( @Price, &#039;C1&#039;) AS &#039;With 1 Decimal&#039;,\r\n       FORMAT( @Price, &#039;C2&#039;) AS &#039;With 2 Decimal&#039;,\r\n       FORMAT( @Price, &#039;C3&#039;) AS &#039;With 3 Decimal&#039;<\/pre>\n<p><span style=\"color: blue;\">Result:<\/span><br \/>\n<a href=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1176\" alt=\"FORMAT_FUNCTION_IN_SQL_SERVER_2012_3\" src=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_3.jpg\" width=\"449\" height=\"197\" srcset=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_3.jpg 449w, https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_3-300x131.jpg 300w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/a><\/p>\n<p><strong>Example 4: FORMAT PERCENTAGE<\/strong><\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: []; html-script: false\">DECLARE @Percentage float = 0.35674\r\nSELECT FORMAT( @Percentage, &#039;P&#039;) AS &#039;% Default&#039;,\r\n       FORMAT( @Percentage, &#039;P0&#039;) AS &#039;% With 0 Decimal&#039;,\r\n       FORMAT( @Percentage, &#039;P1&#039;) AS &#039;% with 1 Decimal&#039;,\r\n       FORMAT( @Percentage, &#039;P2&#039;) AS &#039;% with 2 Decimal&#039;,\r\n       FORMAT( @Percentage, &#039;P3&#039;) AS &#039;% with 3 Decimal&#039;<\/pre>\n<p><span style=\"color: blue;\">Result:<\/span><br \/>\n<a href=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1177\" alt=\"FORMAT_FUNCTION_IN_SQL_SERVER_2012_4\" src=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_4.jpg\" width=\"493\" height=\"187\" srcset=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_4.jpg 493w, https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_4-300x113.jpg 300w\" sizes=\"auto, (max-width: 493px) 100vw, 493px\" \/><\/a><\/p>\n<p><strong>Example 5: FORMAT NUMBER<\/strong><\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: []; html-script: false\">DECLARE @Number AS DECIMAL(10,2) = 454545.389\r\nSELECT FORMAT( @Number, &#039;N&#039;,&#039;en-US&#039;) AS &#039;Number Format in US&#039;,\r\n    FORMAT( @Number, &#039;N&#039;,&#039;en-IN&#039;)  AS &#039;Number Format in INDIA&#039;\r\n\r\nSELECT FORMAT( @Number, &#039;#.0&#039;)     AS &#039;With 1 Decimal&#039;,\r\n    FORMAT( @Number, &#039;#.00&#039;)    AS &#039;With 2 Decimal&#039;,\r\n    FORMAT( @Number, &#039;#,##.00&#039;) AS &#039;With Comma and 2 Decimal&#039;,\r\n    FORMAT( @Number, &#039;##.00&#039;)   AS &#039;Without Comma and 2 Decimal&#039;<\/pre>\n<p><span style=\"color: blue;\">Result:<\/span><br \/>\n<a href=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1178\" alt=\"FORMAT_FUNCTION_IN_SQL_SERVER_2012_5\" src=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_5.jpg\" width=\"547\" height=\"279\" srcset=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_5.jpg 547w, https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_5-300x153.jpg 300w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/a><\/p>\n<p><strong>Example 6: CUSTOM DATE FORMATS<\/strong><\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: []; html-script: false\">DECLARE @date DATETIME = GETDATE() \r\nSELECT @date AS &#039;GETDATE()&#039;,\r\n    FORMAT ( @date, &#039;dd\/MM\/yyyy&#039;) AS &#039;dd\/MM\/yyyy&#039;,\r\n    FORMAT ( @date, &#039;MM\/dd\/yyyy&#039;) AS &#039;MM\/dd\/yyyy&#039;,\r\n    FORMAT ( @date, &#039;yyyy\/MM\/dd&#039;) AS &#039;yyyy\/MM\/dd&#039; \r\n\r\nSELECT \r\n FORMAT( @date,&#039;dddd, MMMM dd, yyyy hh:mm:ss tt&#039;,&#039;en-US&#039;)\r\n   AS &#039;US&#039;,\r\n FORMAT( @date,&#039;dddd, MMMM dd, yyyy hh:mm:ss tt&#039;,&#039;hi-IN&#039;)\r\n   AS &#039;Hindi&#039;,\r\n FORMAT( @date,&#039;dddd, MMMM dd, yyyy hh:mm:ss tt&#039;,&#039;kn-IN&#039;)\r\n  AS &#039;Kannada&#039;<\/pre>\n<p><span style=\"color: blue;\">Result:<\/span><\/p>\n<p><a href=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1179\" alt=\"FORMAT_FUNCTION_IN_SQL_SERVER_2012_6\" src=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_6.jpg\" width=\"598\" height=\"314\" srcset=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_6.jpg 598w, https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_6-300x157.jpg 300w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/a><\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: []; html-script: false\">DECLARE @date DATETIME = GETDATE()\r\nSELECT FORMAT ( @date, &#039;dd&#039;, &#039;en-US&#039; ) AS &#039;US&#039;,\r\n\tFORMAT ( @date, &#039;ddd&#039;, &#039;en-US&#039; )   AS &#039;US&#039;,\r\n\tFORMAT ( @date, &#039;dddd&#039;, &#039;en-US&#039; )  AS &#039;US&#039;,\r\n\tFORMAT ( @date, &#039;dddd&#039;, &#039;kn-IN&#039; )  AS &#039;Kannada&#039;,\r\n\tFORMAT ( @date, &#039;dddd&#039;, &#039;hi-IN&#039; )  AS &#039;Hindi&#039;\r\n\r\nSELECT FORMAT ( @date, &#039;M&#039;, &#039;en-US&#039; )  AS &#039;US&#039;,\r\n\tFORMAT ( @date, &#039;MM&#039;, &#039;en-US&#039; )    AS &#039;US&#039;,\r\n\tFORMAT ( @date, &#039;MMM&#039;, &#039;en-US&#039; )   AS &#039;US&#039;,\r\n\tFORMAT ( @date, &#039;MMMM&#039;, &#039;en-US&#039; )  AS &#039;US&#039;,\r\n\tFORMAT ( @date, &#039;MMMM&#039;, &#039;kn-IN&#039; )  AS &#039;Kannada&#039;,\r\n\tFORMAT ( @date, &#039;MMMM&#039;, &#039;hi-IN&#039; )  AS &#039;Hindi&#039;\r\n\r\nSELECT FORMAT ( @date, &#039;y&#039;, &#039;en-US&#039; )   AS &#039;US&#039;,\r\n       FORMAT ( @date, &#039;y&#039;, &#039;kn-IN&#039; )   AS &#039;Kannada&#039;,\r\n       FORMAT ( @date, &#039;y&#039;, &#039;hi-IN&#039; )   AS &#039;Hindi&#039;,\r\n       FORMAT ( @date, &#039;yy&#039;, &#039;en-US&#039; )  AS &#039;US&#039;,\r\n       FORMAT ( @date, &#039;yyy&#039;, &#039;en-US&#039; ) AS &#039;US&#039;<\/pre>\n<p><span style=\"color: blue;\">Result:<\/span><\/p>\n<p><a href=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1180\" alt=\"FORMAT_FUNCTION_IN_SQL_SERVER_2012_7\" src=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_7.jpg\" width=\"411\" height=\"522\" srcset=\"https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_7.jpg 411w, https:\/\/sqlhints.com\/wp-content\/uploads\/2013\/06\/FORMAT_FUNCTION_IN_SQL_SERVER_2012_7-236x300.jpg 236w\" sizes=\"auto, (max-width: 411px) 100vw, 411px\" \/><\/a><\/p>\n<p><strong>Example 7: Invalid Culture<\/strong><\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: []; html-script: false\">DECLARE @date DATETIME = GETDATE()\r\nSELECT FORMAT(@date,&#039;d&#039;,&#039;Test&#039;) AS &#039;Invalid Culture&#039;<\/pre>\n<p><span style=\"color: blue;\">Result:<\/span><br \/>\n<span style=\"color: red;\">Msg 9818, Level 16, State 1, Line 2<br \/>\nThe culture parameter &#8216;Test&#8217; provided in the function call is not supported.<\/span><\/p>\n<p>You may like to read the below new built-in function&#8217;s introduced in Sql Server 2012:<\/p>\n<table border=\"1\">\n<tr style=\"border: 1pt solid\">\n<td  style=\"border: 1pt solid windowtext; width: 50%; text-align: center;background-color:#F43722; color:white;\" valign=\"top\" Colspan =\"2\"><strong>New Built in Functions introduced in Sql Server<\/strong><\/td>\n<tr>\n<td style=\"border: 1pt solid windowtext; text-align: center; color: white; background-color:#408080\" colspan=\"2\" valign=\"top\"><strong>CONVERSION FUNCTIONS<\/strong><\/td>\n<tr>\n<td style=\"text-align: center; background-color:#D8D8D8\"><strong><a href=\"https:\/\/sqlhints.com\/2013\/06\/08\/parse-sql-server-2012-built-in-conversion-function\/\" title=\"PARSE Conversion Function in Sql Server 2012\" target=\"_blank\">PARSE<\/a><\/strong><\/td>\n<td style=\"text-align: center; background-color:#D8D8D8\"><strong><a href=\"https:\/\/sqlhints.com\/2013\/06\/08\/try_parse-sql-server-2012-built-in-conversion-function\/\" title=\"TRY_PARSE Conversion Function in Sql Server 2012\" target=\"_blank\">TRY_PARSE<\/a> <\/strong><\/td>\n<tr>\n<tr>\n<td style=\"text-align: center; background-color:#D8D8D8\" colspan=\"2\"><strong><a href=\"https:\/\/sqlhints.com\/2013\/06\/08\/try_convert-sql-server-2012-built-in-conversion-function\/\" title=\"TRY_CONVERT Conversion Function in Sql Server 2012\" target=\"_blank\">TRY_CONVERT<\/a><\/strong><\/td>\n<tr >\n<td style=\"border: 1pt solid windowtext; text-align: center; color: white; background-color:#408080\" colspan=\"2\" valign=\"top\"><strong>STRING FUNCTIONS<\/strong><\/td>\n<tr>\n<td style=\"text-align: center; background-color:#D8D8D8\"><strong><a href=\"https:\/\/sqlhints.com\/2012\/12\/02\/concat-function-in-sql-server-2012\/\" title=\"CONCAT String Function in Sql Server 2012\" target=\"_blank\">CONCAT<\/a><\/strong><\/td>\n<td style=\"text-align: center; background-color:#D8D8D8\"><strong><a href=\"https:\/\/sqlhints.com\/2013\/06\/23\/format-string-function-in-sql-server-2012\/\" title=\"FORMAT String Function in Sql Server 2012\" target=\"_blank\">FORMAT<\/a><\/strong<\/td>\n<tr>\n<tr>\n<td style=\"border: 1pt solid windowtext; text-align: center; color: white; background-color:#408080\" colspan=\"2\" valign=\"top\"><strong>LOGICAL FUNCTIONS<\/strong><\/td>\n<tr>\n<td style=\"text-align: center; background-color:#D8D8D8\"><strong><a href=\"https:\/\/sqlhints.com\/2013\/06\/15\/choose-logical-function-in-sql-server-2012\/\" title=\"CHOOSE Logical Function in Sql Server 2012\" target=\"_blank\">CHOOSE<\/a><\/strong><\/td>\n<td style=\"text-align: center; background-color:#D8D8D8\"><strong><a href=\"https:\/\/sqlhints.com\/2013\/06\/15\/iif-logical-function-in-sql-server-2012\/\" title=\"IIF Logical Function in Sql Server 2012\" target=\"_blank\">IIF<\/a><\/strong<\/td>\n<tr>\n<tr>\n<td style=\"border: 1pt solid windowtext; text-align: center; color: white; background-color:#408080\" colspan=\"2\" valign=\"top\"><strong>DATE AND TIME FUNCTIONS<\/strong><\/td>\n<tr>\n<td style=\"text-align: center; background-color:#D8D8D8\" colspan=\"2\"><strong><a href=\"https:\/\/sqlhints.com\/2013\/06\/22\/eomonth-function-in-sql-server-2012\/\" title=\"EOMONTH Function in Sql Server 2012\" target=\"_blank\">EOMONTH<\/a><\/strong><\/td>\n<tr>\n<tr>\n<td style=\"text-align: center; background-color:#D8D8D8\"><strong><a href=\"https:\/\/sqlhints.com\/2013\/06\/24\/datefromparts-function-in-sql-server-2012\/\" title=\"DateFromParts Function in Sql Server 2012\" target=\"_blank\">DATEFROMPARTS<\/a><\/strong><\/td>\n<td style=\"text-align: center; background-color:#D8D8D8\"><strong><a href=\"https:\/\/sqlhints.com\/2013\/06\/24\/datetimefromparts-function-in-sql-server-2012\/\" title=\"DateTimeFromParts Function in Sql Server 2012\" target=\"_blank\">DATETIMEFROMPARTS<\/a><\/strong<\/td>\n<tr>\n<tr>\n<td style=\"text-align: center; background-color:#D8D8D8\"><strong><a href=\"https:\/\/sqlhints.com\/2013\/06\/24\/smalldatetimefromparts-function-in-sql-server-2012\/\" title=\"SmallDateTimeFromParts Function in Sql Server 2012\" target=\"_blank\">SMALLDATETIMEFROMPARTS<\/a> <\/strong><\/td>\n<td style=\"text-align: center; background-color:#D8D8D8\"><strong>DATETIME2FROMPARTS <\/strong<\/td>\n<tr>\n<tr>\n<td style=\"text-align: center; background-color:#D8D8D8\"><strong>TIMEFROMPARTS <\/strong><\/td>\n<td style=\"text-align: center; background-color:#D8D8D8\"><strong>DATETIMEOFFSETFROMPARTS<\/strong<\/td>\n<tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>FORMAT is one of the new built-in String Function introduced as a Part of Sql Server 2012. It returns the value formatted in the specified format using the optional culture parameter value. It is not an Sql Server native function instead it is .NET CLR dependent function. SYNTAX: FORMAT ( value, format [, culture ] &hellip; <a href=\"https:\/\/sqlhints.com\/2013\/06\/23\/format-string-function-in-sql-server-2012\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">FORMAT STRING FUNCTION IN SQL SERVER 2012<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13,3,5,118],"tags":[119,120,35,986,55],"class_list":["post-1109","post","type-post","status-publish","format-standard","hentry","category-functions","category-sql-server","category-sql-server-2012-sql-server","category-string-functions-functions","tag-format","tag-format-string-function-in-sql-server-2012","tag-new-feature-in-sql-server-2012","tag-sql-server","tag-sql-server-2012"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3xNAz-hT","_links":{"self":[{"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/posts\/1109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/comments?post=1109"}],"version-history":[{"count":46,"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/posts\/1109\/revisions"}],"predecessor-version":[{"id":1513,"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/posts\/1109\/revisions\/1513"}],"wp:attachment":[{"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/media?parent=1109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/categories?post=1109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/tags?post=1109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}