<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dushyanth Jyothi &#187; metadata</title>
	<atom:link href="http://dushi.co.uk/tag/metadata/feed/" rel="self" type="application/rss+xml" />
	<link>http://dushi.co.uk</link>
	<description>Me, My Life and the Binary</description>
	<lastBuildDate>Thu, 22 Jul 2010 21:14:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Information Schema Database Metadata</title>
		<link>http://dushi.co.uk/15/07/2009/information-schema-database-metadata/</link>
		<comments>http://dushi.co.uk/15/07/2009/information-schema-database-metadata/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 09:46:49 +0000</pubDate>
		<dc:creator>Dushyanth Jyothi</dc:creator>
				<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Information schema]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[MS SQL Server 2008]]></category>

		<guid isPermaLink="false">http://dushi.co.uk/?p=71</guid>
		<description><![CDATA[Information schema is part of the SQL-92 standard, holds the structure if your database.Applies to MS SQL SERVER 2008T-SQL CODE to see the metada:&#160;T-SQL&#160;&#124;&#160;&#160;copy&#160;code&#160;&#124;?&#160;1SELECT * FROM INFORMATION_SCHEMA.TABLES<br />&#160;T-SQL&#160;&#124;&#160;&#160;copy&#160;code&#160;&#124;?&#160;1SELECT 2TABLE_CATALOG,/*'TABLE_CATALOG' IS SQL-92 STANDARD NAME FOR 'DATABASE'*/3TABLE_SCHEMA,/*'TABLE_SCHEMA' IS SQL-92 STANDARD NAME FOR 'OWNER'*/4TABLE_NAME,5TABLE_TYPE6FROM INFORMATION_SCHEMA.TABLES<br />Further Reading/Details:http://msdn.microsoft.com/en-us/library/ms186778.aspx]]></description>
			<content:encoded><![CDATA[Information schema is part of the SQL-92 standard, holds the structure if your database.<br /><br /><strong>Applies to MS SQL SERVER 2008</strong><br /><br />T-SQL CODE to see the metada:<br /><br /><pre class="devcodeblock" title="T-SQL"><table class="devcodetools"><tbody><tr><td>&nbsp;T-SQL&nbsp;|&nbsp;</td><td style="background-image:url('http://dushi.co.uk/wp-content/plugins/devformatter/img/devformatter-copy.png');background-repeat:no-repeat;background-position:50% 50%;width:16px;height:16px;"/><embed id="ZeroClipboard3" src="http://dushi.co.uk/wp-content/plugins/devformatter/_zclipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="16px" height="16px" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=3&width=16&height=16" wmode="transparent" /></td><td>&nbsp;copy&nbsp;code&nbsp;|</td><td style="cursor:pointer" title="DevFormatter Plugin" onclick="devfmt_credits()">?</td><td width="99%">&nbsp;</td></tr></tbody></table><div class="devcodeoverflow"><table class="devcodearea" width="100%"><tr><td class="devcodelines" width="1%">1</td><td class="devcodelinesarea"><pre class="devcode devcodeline"><span style="color: #0000FF;">SELECT</span> <span style="color: #808080;">*</span> <span style="color: #0000FF;">FROM</span> <span style="color: #808080;">IN</span>F<span style="color: #808080;">OR</span>MATION_SCHEMA.<span style="color: #202020;">TABLES</span></pre></td></tr></table></div></pre>
<br /><pre class="devcodeblock" title="T-SQL"><table class="devcodetools"><tbody><tr><td>&nbsp;T-SQL&nbsp;|&nbsp;</td><td style="background-image:url('http://dushi.co.uk/wp-content/plugins/devformatter/img/devformatter-copy.png');background-repeat:no-repeat;background-position:50% 50%;width:16px;height:16px;"/><embed id="ZeroClipboard4" src="http://dushi.co.uk/wp-content/plugins/devformatter/_zclipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="16px" height="16px" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=4&width=16&height=16" wmode="transparent" /></td><td>&nbsp;copy&nbsp;code&nbsp;|</td><td style="cursor:pointer" title="DevFormatter Plugin" onclick="devfmt_credits()">?</td><td width="99%">&nbsp;</td></tr></tbody></table><div class="devcodeoverflow"><table class="devcodearea" width="100%"><tr><td class="devcodelines" width="1%">1</td><td class="devcodelinesarea"><pre class="devcode devcodeline"><span style="color: #0000FF;">SELECT</span> </pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">2</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">TABLE_CATALOG,<span style="color: #008080;">/*'TABLE_CATALOG' IS SQL-92 STANDARD NAME FOR 'DATABASE'*/</span></pre></td></tr><tr><td class="devcodelines" width="1%">3</td><td class="devcodelinesarea"><pre class="devcode devcodeline">TABLE_SCHEMA,<span style="color: #008080;">/*'TABLE_SCHEMA' IS SQL-92 STANDARD NAME FOR 'OWNER'*/</span></pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">4</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">TABLE_NAME,</pre></td></tr><tr><td class="devcodelines" width="1%">5</td><td class="devcodelinesarea"><pre class="devcode devcodeline">TABLE_TYPE</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">6</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline"><span style="color: #0000FF;">FROM</span> <span style="color: #808080;">IN</span>F<span style="color: #808080;">OR</span>MATION_SCHEMA.<span style="color: #202020;">TABLES</span></pre></td></tr></table></div></pre>
<br /><strong>Further Reading/Details:</strong><br /><a href="http://msdn.microsoft.com/en-us/library/ms186778.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms186778.aspx</a><br /><br /><br />]]></content:encoded>
			<wfw:commentRss>http://dushi.co.uk/15/07/2009/information-schema-database-metadata/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
