<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Tech Off - Why doesn&#39;t this SQL work?</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Tech Off - Why doesn&#39;t this SQL work?</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Sat, 25 May 2013 02:21:21 GMT</pubDate>
	<lastBuildDate>Sat, 25 May 2013 02:21:21 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>10</c9:totalResults>
	<c9:pageCount>-10</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Tech Off - Why doesn&#39;t this SQL work?</title>
		<description><![CDATA[<p>I'm not sure why this isn't working<a href="http://farm4.static.flickr.com/3254/3147955221_e5b9d6dae7.jpg?v=0" rel="lightbox"><br /><img src="http://farm4.static.flickr.com/3254/3147955221_e5b9d6dae7.jpg?v=0"></a><a href="" rel=" originalAttribute=&quot;href&quot; originalPath=&quot;"></a></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/450287#450287</link>
		<pubDate>Mon, 29 Dec 2008 21:46:39 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/450287#450287</guid>
		<dc:creator>qwert231</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/qwert231/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Why doesn&#39;t this SQL work?</title>
		<description><![CDATA[<p>Too small, unreadable.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/4d6a45469355420598e49deb0002ca0f#4d6a45469355420598e49deb0002ca0f</link>
		<pubDate>Mon, 29 Dec 2008 22:51:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/4d6a45469355420598e49deb0002ca0f#4d6a45469355420598e49deb0002ca0f</guid>
		<dc:creator>ZippyV</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ZippyV/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Why doesn&#39;t this SQL work?</title>
		<description><![CDATA[<p>It is a bit small, but the first couple lines appears to be:
<div><br /><blockquote class="webkit-indent-blockquote">DB_ID(N'IntranetApps')</blockquote>
<blockquote class="webkit-indent-blockquote">GO</blockquote>
<blockquote class="webkit-indent-blockquote"><br /></blockquote>
What is this code supposed to be doing? My first guess was that you were trying to switch the connection's current database to &quot;IntranetApps&quot;, which would look like this:</div>
<div><br /><blockquote class="webkit-indent-blockquote">USE IntranetApps</blockquote>
<blockquote class="webkit-indent-blockquote">GO</blockquote>
<blockquote class="webkit-indent-blockquote"><br /></blockquote>
But the rest of the code doesn't require that. Remove it?</div></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/320d80fe599540919dda9deb0002ca37#320d80fe599540919dda9deb0002ca37</link>
		<pubDate>Tue, 30 Dec 2008 00:10:39 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/320d80fe599540919dda9deb0002ca37#320d80fe599540919dda9deb0002ca37</guid>
		<dc:creator>dpratt71</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dpratt71/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Why doesn&#39;t this SQL work?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">dpratt71 said:</div><div class="quoteText">It is a bit small, but the first couple lines appears to be:
<div><br /><blockquote class="webkit-indent-blockquote">DB_ID(N'IntranetApps')</blockquote>
<blockquote class="webkit-indent-blockquote">GO</blockquote>
<blockquote class="webkit-indent-blockquote"><br /></blockquote>
What is this code supposed to be doing? My first guess was that you were trying to switch the connection's current database to &quot;IntranetApps&quot;, which would look like this:</div>
<div><br /><blockquote class="webkit-indent-blockquote">USE IntranetApps</blockquote>
<blockquote class="webkit-indent-blockquote">GO</blockquote>
<blockquote class="webkit-indent-blockquote"><br /></blockquote>
But the rest of the code doesn't require that. Remove it?</div>
</div></blockquote>Hmm...Formatting is not what I expected (based on the preview), but hopefully you get the idea.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/05acfb453ef3468abae09deb0002ca60#05acfb453ef3468abae09deb0002ca60</link>
		<pubDate>Tue, 30 Dec 2008 00:12:11 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/05acfb453ef3468abae09deb0002ca60#05acfb453ef3468abae09deb0002ca60</guid>
		<dc:creator>dpratt71</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dpratt71/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Why doesn&#39;t this SQL work?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">qwert231 said:</div><div class="quoteText">
<div id="ctl00_MainPlaceHolder_EntryList_ctl01_EntryTemplate_BodyLabel">I'm not sure why this isn't working<a href="http://farm4.static.flickr.com/3254/3147955221_e5b9d6dae7.jpg?v=0" rel="lightbox"><br /><img src="http://farm4.static.flickr.com/3254/3147955221_e5b9d6dae7.jpg?v=0"></a></div></blockquote><br />And I'm not sure why you posted this extremely small screenshot instead of copy'n'pasting the code as text. I tried text detection and sharpening&nbsp;filters on the image and still couldn't read it.</div></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/9acb940542514caa90f69deb0002caa2#9acb940542514caa90f69deb0002caa2</link>
		<pubDate>Wed, 31 Dec 2008 05:39:16 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/9acb940542514caa90f69deb0002caa2#9acb940542514caa90f69deb0002caa2</guid>
		<dc:creator>Dorian Muthig</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Dodo/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Why doesn&#39;t this SQL work?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Dodo said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">qwert231 said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<br />And I'm not sure why you posted this extremely small screenshot instead of copy'n'pasting the code as text. I tried text detection and sharpening&nbsp;filters on the image and still couldn't read it.
<div></div>
</div></blockquote><code>DB_ID(N'IntranetApps')<br />GO<br /><br />SELECT * FROM sys.dm_db_index_physical_stats<br />(DB_ID(N'IntranetApps'), OBJECT_ID(N'...'), NULL, NULL, 'DETAILED')<br />GO</code>
<p>where ... is the name of an object in his database.</p>
<p>qwert231, check out example C in <a href="http://msdn.microsoft.com/en-us/library/ms186274.aspx">
DB_ID (Transact SQL) [MSDN]</a>.</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/89df16a97e934bc184b09deb0002caca#89df16a97e934bc184b09deb0002caca</link>
		<pubDate>Wed, 31 Dec 2008 06:29:49 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/89df16a97e934bc184b09deb0002caca#89df16a97e934bc184b09deb0002caca</guid>
		<dc:creator>Joe Chung</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/joechung/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Why doesn&#39;t this SQL work?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">joechung said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Dodo said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<code>DB_ID(N'IntranetApps')<br />GO<br /><br />SELECT * FROM sys.dm_db_index_physical_stats<br />(DB_ID(N'IntranetApps'), OBJECT_ID(N'...'), NULL, NULL, 'DETAILED')<br />GO</code>
<p>where ... is the name of an object in his database.</p>
<p>qwert231, check out example C in <a href="http://msdn.microsoft.com/en-us/library/ms186274.aspx">
DB_ID (Transact SQL) [MSDN]</a>.</p>
</div></blockquote>You can get SQL formatting like this: [ code language=&quot;SQL&quot; ] code here [ /code ]<br />Just remove the extra spaces around the [].<br /><br />EDIT: Ok, apparently that doesn't work. I know the code formatter they use supports SQL (since I wrote it <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-4.gif' alt='Tongue Out' /> ), but apparently C9 isn't exposing it.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/f8a5a0ecb6874aeebf4c9deb0002caf3#f8a5a0ecb6874aeebf4c9deb0002caf3</link>
		<pubDate>Fri, 02 Jan 2009 13:59:53 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/f8a5a0ecb6874aeebf4c9deb0002caf3#f8a5a0ecb6874aeebf4c9deb0002caf3</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Why doesn&#39;t this SQL work?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Sven Groot said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">joechung said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
You can get SQL formatting like this: [ code language=&quot;SQL&quot; ] code here [ /code ]<br />Just remove the extra spaces around the [].<br /><br />EDIT: Ok, apparently that doesn't work. I know the code formatter they use supports SQL (since I wrote it
<img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-4.gif" alt="Tongue Out"> ), but apparently C9 isn't exposing it.</div></blockquote><pre class="brush: sql">SELECT * FROM sys.databases</pre> Edit: it works when you put &quot;sql&quot; in lower case letters.
 Yay for case-sensitivity.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/b873703347db4584ba339deb0002cb1c#b873703347db4584ba339deb0002cb1c</link>
		<pubDate>Fri, 02 Jan 2009 15:03:42 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/b873703347db4584ba339deb0002cb1c#b873703347db4584ba339deb0002cb1c</guid>
		<dc:creator>Tommy Carlier</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/TommyCarlier/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Why doesn&#39;t this SQL work?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Sven Groot said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">joechung said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
You can get SQL formatting like this: [ code language=&quot;SQL&quot; ] code here [ /code ]<br />Just remove the extra spaces around the [].<br /><br />EDIT: Ok, apparently that doesn't work. I know the code formatter they use supports SQL (since I wrote it
<img src="http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-4.gif" alt="Tongue Out"> ), but apparently C9 isn't exposing it.</div></blockquote>Duplicate.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/4c30f29733744fc69a429deb0002cb44#4c30f29733744fc69a429deb0002cb44</link>
		<pubDate>Fri, 02 Jan 2009 15:04:11 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/4c30f29733744fc69a429deb0002cb44#4c30f29733744fc69a429deb0002cb44</guid>
		<dc:creator>Tommy Carlier</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/TommyCarlier/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Why doesn&#39;t this SQL work?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Dodo said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">qwert231 said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<br />And I'm not sure why you posted this extremely small screenshot instead of copy'n'pasting the code as text. I tried text detection and sharpening&nbsp;filters on the image and still couldn't read it.
<div></div>
</div></blockquote>Yeah... he's a source of unanswered questions. And now we are at a question without a question <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-2.gif' alt='Big Smile' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/84542cac8cf842e6b5d29deb0002cb6b#84542cac8cf842e6b5d29deb0002cb6b</link>
		<pubDate>Fri, 02 Jan 2009 15:19:00 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/450287-Why-doesnt-this-SQL-work/84542cac8cf842e6b5d29deb0002cb6b#84542cac8cf842e6b5d29deb0002cb6b</guid>
		<dc:creator>Christian Liensberger</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/littleguru/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>