<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.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>SQL Champ - A Quiz to Prove Your SQL Knowlege</title><link>http://sqlblog.com/blogs/denis_gobo/archive/2008/04/01/5981.aspx</link><description>In case you are bored CodeProject has a small SQL test (7 questions) Take the test here: SQL Champ - A Quiz to Prove Your SQL Knowledge And did you get everything correct? And yes they wrote Knowlege instead of Knowledge :-)</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: SQL Champ - A Quiz to Prove Your SQL Knowlege</title><link>http://sqlblog.com/blogs/denis_gobo/archive/2008/04/01/5981.aspx#5987</link><pubDate>Wed, 02 Apr 2008 11:38:37 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:5987</guid><dc:creator>andyleonard</dc:creator><description>&lt;p&gt;That's cool Denis. Wouldn't you know it - I missed the one on SQLCLR. &lt;/p&gt;
&lt;p&gt;:{&amp;gt; Andy&lt;/p&gt;
</description></item><item><title>re: SQL Champ - A Quiz to Prove Your SQL Knowlege</title><link>http://sqlblog.com/blogs/denis_gobo/archive/2008/04/01/5981.aspx#5990</link><pubDate>Wed, 02 Apr 2008 13:46:31 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:5990</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Fun :-)&lt;/p&gt;
&lt;p&gt;The answer to the question on Database Snapshots is wrong, according to Ron Talmage. &amp;nbsp;Apparently he and the SQLCAT team tested under intense load and saw times when creating the snapshot could take hours... &lt;/p&gt;
</description></item><item><title>re: SQL Champ - A Quiz to Prove Your SQL Knowlege</title><link>http://sqlblog.com/blogs/denis_gobo/archive/2008/04/01/5981.aspx#5994</link><pubDate>Wed, 02 Apr 2008 15:38:50 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:5994</guid><dc:creator>Alex Kuznetsov</dc:creator><description>&lt;p&gt;Nice link Denis. Yet (as you know that we disagree on many things ;) ) I would not allow the following code in production:&lt;/p&gt;
&lt;p&gt;cast(floor(cast(@MyDateTime as float)) as datetime)&lt;/p&gt;
&lt;p&gt;I would use dateadd and datediff instead. I don't think such tricks with cast, floor, and datetime are relevant to writing production quality code. What do you think?&lt;/p&gt;
</description></item><item><title>re: SQL Champ - A Quiz to Prove Your SQL Knowlege</title><link>http://sqlblog.com/blogs/denis_gobo/archive/2008/04/01/5981.aspx#5995</link><pubDate>Wed, 02 Apr 2008 15:53:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:5995</guid><dc:creator>Denis Gobo</dc:creator><description>&lt;p&gt;Alex I agree, instead of&lt;/p&gt;
&lt;p&gt;select cast(floor(cast(getdate() as float)) as datetime)&lt;/p&gt;
&lt;p&gt;I would do&lt;/p&gt;
&lt;p&gt;select dateadd(dd, datediff(dd, 0, getdate())+0, 0)&lt;/p&gt;
</description></item><item><title>re: SQL Champ - A Quiz to Prove Your SQL Knowlege</title><link>http://sqlblog.com/blogs/denis_gobo/archive/2008/04/01/5981.aspx#6007</link><pubDate>Thu, 03 Apr 2008 00:25:05 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:6007</guid><dc:creator>Kalen Delaney</dc:creator><description>&lt;p&gt;I would also take issue with the answer to the question on snapshots. The missing element is that SQL Server runs recovery on the snapshot so that all the data available through the snapshot is committed data. If you create a snapshot while the db is in the middle of (or not quite done with) some long transactions, it can take a long time to run recovery. &lt;/p&gt;
&lt;p&gt;~Kalen&lt;/p&gt;
</description></item><item><title>re: SQL Champ - A Quiz to Prove Your SQL Knowlege</title><link>http://sqlblog.com/blogs/denis_gobo/archive/2008/04/01/5981.aspx#33157</link><pubDate>Thu, 03 Feb 2011 10:35:04 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:33157</guid><dc:creator>mkkkkokop</dc:creator><description>&lt;p&gt;bionnnn&lt;/p&gt;
</description></item><item><title>re: SQL Champ - A Quiz to Prove Your SQL Knowlege</title><link>http://sqlblog.com/blogs/denis_gobo/archive/2008/04/01/5981.aspx#41407</link><pubDate>Sun, 29 Jan 2012 06:43:30 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:41407</guid><dc:creator>ap</dc:creator><description>&lt;p&gt;tjhbvfg&lt;/p&gt;
</description></item><item><title>re: SQL Champ - A Quiz to Prove Your SQL Knowlege</title><link>http://sqlblog.com/blogs/denis_gobo/archive/2008/04/01/5981.aspx#41408</link><pubDate>Sun, 29 Jan 2012 07:03:37 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:41408</guid><dc:creator> .</dc:creator><description>&lt;p&gt;,.'/,.'&lt;/p&gt;
</description></item></channel></rss>