<?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 programmability</title><link>http://blogs.msdn.com/reedme/archive/tags/data+programmability/default.aspx</link><description>Tags: data programmability</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>A cool DP sample that couldn't make it into the out of the box for some reason...</title><link>http://blogs.msdn.com/reedme/archive/2008/01/23/a-cool-dp-sample-that-couldn-t-make-it-into-the-out-of-the-box-for-some-reason.aspx</link><pubDate>Wed, 23 Jan 2008 22:20:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7211728</guid><dc:creator>reedme</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/reedme/comments/7211728.aspx</comments><wfw:commentRss>http://blogs.msdn.com/reedme/commentrss.aspx?PostID=7211728</wfw:commentRss><wfw:comment>http://blogs.msdn.com/reedme/rsscomments.aspx?PostID=7211728</wfw:comment><description>&lt;p&gt;Although we've been putting the SQL Server &lt;a href="http://www.codeplex.com/SqlServerSamples"&gt;product samples&lt;/a&gt; in CodePlex for quite a while, I'm not sure why this one didn't wind up &amp;quot;in the (out of the) box&amp;quot; space. Go figure.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://blogs.msdn.com/sqlnativeclient/archive/2008/01/21/sending-blob-data-to-sql-server-using-irowsetfastload-and-isequentialstream.aspx"&gt;Sending BLOB Data to SQL SERVER Using IROWSETFASTLOAD and ISEQUENTIALSTREAM (Microsoft SQL Server Native Client team blog)&lt;/a&gt; &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Doesn't make it any less cool, though!!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7211728" width="1" height="1"&gt;</description><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/Books+Online/default.aspx">Books Online</category><category domain="http://blogs.msdn.com/reedme/archive/tags/CodePlex/default.aspx">CodePlex</category><category domain="http://blogs.msdn.com/reedme/archive/tags/data+programmability/default.aspx">data programmability</category></item></channel></rss>