{"id":553,"date":"2011-06-01T13:01:00","date_gmt":"2011-06-01T13:01:00","guid":{"rendered":"\/blogs\/bobb\/post\/Interesting-SQL-Azure-change-with-next-SR.aspx"},"modified":"2014-01-20T12:23:27","modified_gmt":"2014-01-20T20:23:27","slug":"interesting-sql-azure-change-with-next-sr","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/","title":{"rendered":"Interesting SQL Azure change with next SR"},"content":{"rendered":"<p>\nIn looking at the what&#39;s new for SQL Azure (May 2011) page, I came across the following: &quot;Upcoming Increased Precision of Spatial Types: For the next major service release, some intrinsic functions will change and SQL Azure will support increased precision of Spatial Types.&quot;\n<\/p>\n<p>\nThere&#39;s a few interesting things about this announcement.\n<\/p>\n<p>\nFirstly, the increased precision for spatial types is not a SQL Server 2008 R2 feature. It&#39;s a Denali CTP1 feature. Although the article doesn&#39;t indicate whether they&#39;ve made up a special &quot;pre-Denali&quot; version of this feature, or when exactly &quot;the next major service release&quot; will be (and when SQL Server Denali will be released is unknown), it would be interesting if updated SQL Server spatial functionality made its appearance in SQL Azure *before* making its appearence in an&nbsp;on-premise release of SQL Server. As far as I know, this will be the first time a new, non-deprecation feature is deployed in the cloud before on-premise (non-deprecation because, for example, the COMPUTE BY clause fails in SQL Azure but not in any on-premise RTM release of SQL Server). Note that usage of SQL Server &quot;opaque&quot; features (for example, are instances managed internally be a variant of the Utility Control Point concept?) cannot be determined.\n<\/p>\n<p>\nIn addition, this may be the first &quot;impactful change&quot; (BOL doesn&#39;t say breaking change, but change with a possible impact, but one never knows what the impact would be in other folks&#39; applications) in SQL Azure Database. The BOL entry continues &quot;This will have an impact on persisted computed columns as well as any index or constraint defined in terms of the persisted computed column. With this service release SQL Azure provides a view to help determine objects that will be impacted by the change. Query sys.dm_db_objects_impacted_on_version_change (SQL Azure Database) in each database to determine impacted objects for that database.&quot;\n<\/p>\n<p>\nHere&#39;s a couple of object definitions that will populate this DMV:\n<\/p>\n<p>\ncreate table spatial_test ( <br \/>\n&nbsp;id int identity primary key,<br \/>\n&nbsp;geog geography,<br \/>\n&nbsp;area as geog.STArea() PERSISTED,<br \/>\n);\n<\/p>\n<p>\n&#8212; one row, class_desc INDEX, for the clusted index<br \/>\nselect * from sys.dm_db_objects_impacted_on_version_change\n<\/p>\n<p>\nALTER TABLE spatial_test<br \/>\nADD CONSTRAINT check_area CHECK (area &gt; 50);\n<\/p>\n<p>\n&#8212; two more rows, class_desc OBJECT_OR_COLUMN, for the constraint object<br \/>\nselect * from sys.dm_db_objects_impacted_on_version_change\n<\/p>\n<p>\n<br \/>\nBefore this, the SQL Azure Database koan was &quot;Changes are always backward-compatible&quot;. There is now the sys.dm_db_objects_impacted_on_version_change DMV and the BOL page for it even provides&nbsp;sample DDL&nbsp;to handle the impacted objects. But this begs the question: I can run the DMV to determine objects that would be impacted and fix them when the change occurs, but if I don&#39;t know when the SU will be released, how can I plan\/stage my app&nbsp;change to corespond? Interesting times ahead&#8230;\n<\/p>\n<p>\n@bobbeauch<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In looking at the what&#39;s new for SQL Azure (May 2011) page, I came across the following: &quot;Upcoming Increased Precision of Spatial Types: For the next major service release, some intrinsic functions will change and SQL Azure will support increased precision of Spatial Types.&quot; There&#39;s a few interesting things about this announcement. Firstly, the increased [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,36],"tags":[],"class_list":["post-553","post","type-post","status-publish","format-standard","hentry","category-sql-azure-database","category-sql-server-spatial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.9.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Interesting SQL Azure change with next SR - Bob Beauchemin<\/title>\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.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Interesting SQL Azure change with next SR - Bob Beauchemin\" \/>\n<meta property=\"og:description\" content=\"In looking at the what&#039;s new for SQL Azure (May 2011) page, I came across the following: &quot;Upcoming Increased Precision of Spatial Types: For the next major service release, some intrinsic functions will change and SQL Azure will support increased precision of Spatial Types.&quot; There&#039;s a few interesting things about this announcement. Firstly, the increased [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/\" \/>\n<meta property=\"og:site_name\" content=\"Bob Beauchemin\" \/>\n<meta property=\"article:published_time\" content=\"2011-06-01T13:01:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-01-20T20:23:27+00:00\" \/>\n<meta name=\"author\" content=\"Bob Beauchemin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bob Beauchemin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/\",\"name\":\"Interesting SQL Azure change with next SR - Bob Beauchemin\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/#website\"},\"datePublished\":\"2011-06-01T13:01:00+00:00\",\"dateModified\":\"2014-01-20T20:23:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/#\/schema\/person\/62bfa986c5b5d28fcffd8b4fc409c73e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Azure SQL Database\",\"item\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/category\/sql-azure-database\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Interesting SQL Azure change with next SR\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/#website\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/\",\"name\":\"Bob Beauchemin\",\"description\":\"SQL Server Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/#\/schema\/person\/62bfa986c5b5d28fcffd8b4fc409c73e\",\"name\":\"Bob Beauchemin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6f80e6cc667410857fa6a21931dc528b8092f4d112bf7a8ff7c267674d44ee37?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6f80e6cc667410857fa6a21931dc528b8092f4d112bf7a8ff7c267674d44ee37?s=96&d=mm&r=g\",\"caption\":\"Bob Beauchemin\"},\"sameAs\":[\"http:\/www.sqlskills.com\/blogs\/bobb\/\"],\"url\":\"https:\/\/www.sqlskills.com\/blogs\/bobb\/author\/bobb\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Interesting SQL Azure change with next SR - Bob Beauchemin","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.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/","og_locale":"en_US","og_type":"article","og_title":"Interesting SQL Azure change with next SR - Bob Beauchemin","og_description":"In looking at the what&#39;s new for SQL Azure (May 2011) page, I came across the following: &quot;Upcoming Increased Precision of Spatial Types: For the next major service release, some intrinsic functions will change and SQL Azure will support increased precision of Spatial Types.&quot; There&#39;s a few interesting things about this announcement. Firstly, the increased [&hellip;]","og_url":"https:\/\/www.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/","og_site_name":"Bob Beauchemin","article_published_time":"2011-06-01T13:01:00+00:00","article_modified_time":"2014-01-20T20:23:27+00:00","author":"Bob Beauchemin","twitter_misc":{"Written by":"Bob Beauchemin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/","url":"https:\/\/www.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/","name":"Interesting SQL Azure change with next SR - Bob Beauchemin","isPartOf":{"@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/#website"},"datePublished":"2011-06-01T13:01:00+00:00","dateModified":"2014-01-20T20:23:27+00:00","author":{"@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/#\/schema\/person\/62bfa986c5b5d28fcffd8b4fc409c73e"},"breadcrumb":{"@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/interesting-sql-azure-change-with-next-sr\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqlskills.com\/blogs\/bobb\/"},{"@type":"ListItem","position":2,"name":"Azure SQL Database","item":"https:\/\/www.sqlskills.com\/blogs\/bobb\/category\/sql-azure-database\/"},{"@type":"ListItem","position":3,"name":"Interesting SQL Azure change with next SR"}]},{"@type":"WebSite","@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/#website","url":"https:\/\/www.sqlskills.com\/blogs\/bobb\/","name":"Bob Beauchemin","description":"SQL Server Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sqlskills.com\/blogs\/bobb\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/#\/schema\/person\/62bfa986c5b5d28fcffd8b4fc409c73e","name":"Bob Beauchemin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sqlskills.com\/blogs\/bobb\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6f80e6cc667410857fa6a21931dc528b8092f4d112bf7a8ff7c267674d44ee37?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6f80e6cc667410857fa6a21931dc528b8092f4d112bf7a8ff7c267674d44ee37?s=96&d=mm&r=g","caption":"Bob Beauchemin"},"sameAs":["http:\/www.sqlskills.com\/blogs\/bobb\/"],"url":"https:\/\/www.sqlskills.com\/blogs\/bobb\/author\/bobb\/"}]}},"_links":{"self":[{"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/posts\/553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/comments?post=553"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/posts\/553\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/media?parent=553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/categories?post=553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/bobb\/wp-json\/wp\/v2\/tags?post=553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}