<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4015078625407292958.post5541885913578163926..comments</id><updated>2008-12-05T15:34:11.469-08:00</updated><title type='text'>Comments on Lone Star Developer: Advanced SQL training</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.lonestardeveloper.com/feeds/5541885913578163926/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4015078625407292958/5541885913578163926/comments/default'/><link rel='alternate' type='text/html' href='http://blog.lonestardeveloper.com/2008/12/advanced-sql-training.html'/><author><name>Louis</name><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4015078625407292958.post-8502953803512132543</id><published>2008-12-05T15:34:11.469-08:00</published><updated>2008-12-05T15:34:11.469-08:00</updated><title type='text'>Thanks for your comment, Anne.You are absolutely r...</title><content type='html'>Thanks for your comment, Anne.&lt;BR/&gt;&lt;BR/&gt;You are absolutely right when you say that business logic has no place  on the database side of of your application, and I should've mentioned it!&lt;BR/&gt;&lt;BR/&gt;I am just amazed at the amount of information we can get out of a properly designed database and how fast SQL can get it for us.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4015078625407292958/5541885913578163926/comments/default/8502953803512132543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4015078625407292958/5541885913578163926/comments/default/8502953803512132543'/><link rel='alternate' type='text/html' href='http://blog.lonestardeveloper.com/2008/12/advanced-sql-training.html?showComment=1228520051469#c8502953803512132543' title=''/><author><name>Louis</name><uri>http://www.blogger.com/profile/15834808621872557921</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='00666161247752643612'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.lonestardeveloper.com/2008/12/advanced-sql-training.html' ref='tag:blogger.com,1999:blog-4015078625407292958.post-5541885913578163926' source='http://www.blogger.com/feeds/4015078625407292958/posts/default/5541885913578163926' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-4015078625407292958.post-2093473763206444143</id><published>2008-12-05T15:29:14.775-08:00</published><updated>2008-12-05T15:29:14.775-08:00</updated><title type='text'>SQL sure can do a lot, esp. T-SQL (I've written ma...</title><content type='html'>SQL sure can do a lot, esp. T-SQL (I've written many a logic-filled sproc in my time) but you do have to be careful with that... as I'm sure you're reading, T-SQL has a fairly full set of loops, branching, and even some exception tools, and it's can be tempting to end up with business logic in your DB.  It just needs to be said that logic is much harder to test in the DB, and may even be outside of your standard versioning/change control system-this is a risky set of affairs, and something to avoid if possible.  &lt;BR/&gt;&lt;BR/&gt;I will say that it's certainly still a good idea to get very familiar with what SQL can do, esp. if you have no DBA.  If a query is running slowly, it's important to know why, and what can be done. (take a look at indexing and understanding query plans)  Besides, even when using an ORM that can make queries, you'll want to know how to work with views and triggers to ease working with ugly tables while transitioning to better structures, or if you end up with a query that your ORM just isn't writing efficiently (rare, but I hear it happens), you might be able to handcraft something better.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4015078625407292958/5541885913578163926/comments/default/2093473763206444143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4015078625407292958/5541885913578163926/comments/default/2093473763206444143'/><link rel='alternate' type='text/html' href='http://blog.lonestardeveloper.com/2008/12/advanced-sql-training.html?showComment=1228519754775#c2093473763206444143' title=''/><author><name>Anne</name><uri>http://www.blogger.com/profile/03729624916836273494</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.lonestardeveloper.com/2008/12/advanced-sql-training.html' ref='tag:blogger.com,1999:blog-4015078625407292958.post-5541885913578163926' source='http://www.blogger.com/feeds/4015078625407292958/posts/default/5541885913578163926' type='text/html'/></entry></feed>