<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Reed Me : data quality</title><link>http://blogs.msdn.com/reedme/archive/tags/data+quality/default.aspx</link><description>Tags: data quality</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Sybase loves AdventureWorks2008?</title><link>http://blogs.msdn.com/reedme/archive/2009/01/22/sybase-loves-adventureworks2008.aspx</link><pubDate>Thu, 22 Jan 2009 19:24:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9368955</guid><dc:creator>reedme</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/reedme/comments/9368955.aspx</comments><wfw:commentRss>http://blogs.msdn.com/reedme/commentrss.aspx?PostID=9368955</wfw:commentRss><wfw:comment>http://blogs.msdn.com/reedme/rsscomments.aspx?PostID=9368955</wfw:comment><description>&lt;p&gt;A SQL Ranger friend of mine in the UK gave me the heads up to this yesterday. (Thanks, Ben!!) Apparently, back in December 2008, Sybase ported some of our samples to SQL Anywhere. Needless to say, I’ve got mixed feelings about Sybase porting AdventureWorks to their platform. Sort of like a cherry-cheese Danish: it’s a pastry and pastries are supposed to taste good, right? But cherries and cheese? Ick. (I’m on a &lt;a href="http://blogs.msdn.com/reedme/archive/2008/12/29/game-on-steve-s-going-down.aspx" target="_blank"&gt;severely calorically restricted diet&lt;/a&gt;; sorry for the digression.)&lt;/p&gt;  &lt;blockquote&gt;&lt;em&gt;As SQL Server 2008 and SQL Anywhere 11 are two very different database solutions, the ‘AdventureWorks2008’ database will appear slightly different, and offer a few functional differences. These incongruities are the result of different feature sets, which are intrinsic to each database’s design. &lt;/em&gt;&lt;a href="http://www.sybase.com/detail?id=1061455" target="_blank"&gt;AdventureWorks2008 Sample Database for SQL Anywhere Download: Mobile Enterprise, Database Management iAnywhere - Sybase Inc&lt;/a&gt;&lt;/blockquote&gt;  &lt;p&gt;We license AdventureWorks under the Ms-PL, so anybody’s welcome to do whatever they want with our code. It’s out there for learning purposes. Sybase seems to have learned that SQL Anywhere 11 doesn’t do a lot of the really cool things that SQL Server 2008 does! They only ported the OLTP database – I wonder why they ignored DW and LT??&lt;/p&gt;  &lt;p&gt;The Sybase port of AdventureWorks2008 drops the following features:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;They dropped all the spatial columns because SQL Anywhere doesn’t have a geography type.&lt;/li&gt;    &lt;li&gt;They dropped Try/Catch error handling in all stored procedures, since they can’t do that.&lt;/li&gt;    &lt;li&gt;They dropped DDL triggers, because SQL Anywhere doesn’t have them.&lt;/li&gt;    &lt;li&gt;They dropped all stored procedures with recursive queries, because they don’t support them.&lt;/li&gt;    &lt;li&gt;They dropped all Full Text indexes and queries, since SQL Anywhere doesn’t do that, either, I guess.&lt;/li&gt;    &lt;li&gt;They dropped or modified all tables with HierarchyID columns, because they don’t have that data type.&lt;/li&gt;    &lt;li&gt;They dropped all the tables with XML data, or omitted the XML columns, because they don’t support the same XML query lingo and have no XML index support.&lt;/li&gt;    &lt;li&gt;They dropped all the indexed views, because SQL Anywhere doesn’t do that,either.&lt;/li&gt;    &lt;li&gt;They dropped all the views that use PIVOT, because (guess what?) they don’t have that keyword.&lt;/li&gt;    &lt;li&gt;They had to modify a bunch of stored procedures because they don’t support EXECUTE AS CALLER. (Did I mention that they had to drop all the Try/Catch support, too?)&lt;/li&gt;    &lt;li&gt;They had to emasculate most of the trigger functionality (not counting the DDL triggers they had to drop outright), because they don’t support those features. Such as dropping Try/Catch support to throw exceptions instead of logging and always updating certain columns (even when not appropriate for the business rules):&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;HumanResources.dEmployee&lt;/li&gt;      &lt;li&gt;Person.iuPerson&lt;/li&gt;      &lt;li&gt;Production.iWorker&lt;/li&gt;      &lt;li&gt;Production.uWorkOrder&lt;/li&gt;      &lt;li&gt;Purchasing.iPurchaseOrderDetail&lt;/li&gt;      &lt;li&gt;Purchasing.uPurchaseOrderHeader&lt;/li&gt;      &lt;li&gt;Purchasing.uPurchaseOrderDetail&lt;/li&gt;      &lt;li&gt;Purchasing.uPurchaseOrderHeader&lt;/li&gt;      &lt;li&gt;Purchasing.dVendor&lt;/li&gt;      &lt;li&gt;Sales.iduSalesOrderDetail&lt;/li&gt;      &lt;li&gt;Sales.uSalesOrderHeader&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;They had to truncate all the binary image columns to 32,767 bytes (which will break all the ones bigger than that) because SQL Anywhere doesn’t have a large binary type apparently. Whoops!&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Anyway, I don’t have a SQL Anywhere installation to try it out on, but that list from their own website reads (to me) like a list of reasons to use SQL Server 2008 instead. It looks like they ported our .NET samples for AdventureWorks2008, too, so I have to wonder if they’re equally limited as the AdventureWorks2008 port?&lt;/p&gt;  &lt;p&gt;I do hope that SQL Anywhere customers do get some benefit out of using the port of our sample OLTP database (or switch to SQL Server 2008 where they can get the full functionality of AdventureWorks2008). I’d also like to invite Oracle and DB2 to port AdventureWorks2008 to their platforms so that the world can see how much of our feature set they don’t support, either. Heh.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9368955" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/reedme/archive/tags/database/default.aspx">database</category><category domain="http://blogs.msdn.com/reedme/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.msdn.com/reedme/archive/tags/samples/default.aspx">samples</category><category domain="http://blogs.msdn.com/reedme/archive/tags/data+modeling/default.aspx">data modeling</category><category domain="http://blogs.msdn.com/reedme/archive/tags/database+design/default.aspx">database design</category><category domain="http://blogs.msdn.com/reedme/archive/tags/free+stuff/default.aspx">free stuff</category><category domain="http://blogs.msdn.com/reedme/archive/tags/data+programmability/default.aspx">data programmability</category><category domain="http://blogs.msdn.com/reedme/archive/tags/AdventureWorks/default.aspx">AdventureWorks</category><category domain="http://blogs.msdn.com/reedme/archive/tags/open+source/default.aspx">open source</category><category domain="http://blogs.msdn.com/reedme/archive/tags/weird/default.aspx">weird</category><category domain="http://blogs.msdn.com/reedme/archive/tags/You_2700_re+doing+it+wrong_2100_/default.aspx">You're doing it wrong!</category><category domain="http://blogs.msdn.com/reedme/archive/tags/data+quality/default.aspx">data quality</category><category domain="http://blogs.msdn.com/reedme/archive/tags/weight+loss/default.aspx">weight loss</category><category domain="http://blogs.msdn.com/reedme/archive/tags/Sybase/default.aspx">Sybase</category><category domain="http://blogs.msdn.com/reedme/archive/tags/SQL+Anywhere_3F00_/default.aspx">SQL Anywhere?</category></item><item><title>How reliable is your data source?</title><link>http://blogs.msdn.com/reedme/archive/2008/12/10/how-reliable-is-your-data-source.aspx</link><pubDate>Thu, 11 Dec 2008 02:13:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9193105</guid><dc:creator>reedme</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/reedme/comments/9193105.aspx</comments><wfw:commentRss>http://blogs.msdn.com/reedme/commentrss.aspx?PostID=9193105</wfw:commentRss><wfw:comment>http://blogs.msdn.com/reedme/rsscomments.aspx?PostID=9193105</wfw:comment><description>&lt;p&gt;It seems like aeons ago (not even a decade yet) when I was @ a little start-up that was assimilating real estate data to further our digital business model and making sales to web-savvy home buyers at a discount. So many funny stories, so little time...&lt;/p&gt;  &lt;p&gt;The data from every MLS system we assimilated had its own little quirks. It seems that REALTOR®s aren’t the best data entry clerks (who would’ve imagined that there are 71 different ways to spell Chicago?), but maybe it’s not just REALTOR®s. It could be that humans aren’t very good at reliable data entry.&lt;/p&gt;  &lt;p&gt;New York City takes this to a whole new level of insanity, though. Allowing for a trivial paper crime to “steal” an entire skyscraper??&lt;/p&gt;  &lt;blockquote&gt;&lt;em&gt;The massive ripoff [the theft of the Empire State Building] illustrates a gaping loophole in the city's system for recording deeds, mortgages and other transactions. &lt;/em&gt;&lt;a href="http://www.nydailynews.com/money/2008/12/02/2008-12-02_it_took_90_minutes_for_daily_news_to_ste.html" target="_blank"&gt;It took 90 minutes for Daily News to 'steal' the Empire State Building (nydailynews.com)&lt;/a&gt;&lt;/blockquote&gt;  &lt;p&gt;Since everybody’s hyper-aware these days of the fragility of our mortgage system, how is it that the largest city in the county allows this to continue in the 21st century?&lt;/p&gt;  &lt;p&gt;If you’re doing business based on somebody else’s data... how certain are you that you’re making the right decisions? I’m not going to call “business intelligence” an oxymoron like many people do “military intelligence”, but they do sound the same... don’t they? What risk mitigation are you doing to prevent executive decisions from being made @ your compnay based on the equivalent of a Ouija board (data from somebody else’s system)?&lt;/p&gt;  &lt;p&gt;Maybe Skynet has a point about humans...? Er, wait a sec-!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9193105" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/reedme/archive/tags/operational+maturity/default.aspx">operational maturity</category><category domain="http://blogs.msdn.com/reedme/archive/tags/You_2700_re+doing+it+wrong_2100_/default.aspx">You're doing it wrong!</category><category domain="http://blogs.msdn.com/reedme/archive/tags/compliance/default.aspx">compliance</category><category domain="http://blogs.msdn.com/reedme/archive/tags/data+quality/default.aspx">data quality</category><category domain="http://blogs.msdn.com/reedme/archive/tags/data+governance/default.aspx">data governance</category></item></channel></rss>