<?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>geeksdatabase &#187; Database</title>
	<atom:link href="http://geeksdatabase.com/category/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://geeksdatabase.com</link>
	<description>Everything about everything.</description>
	<lastBuildDate>Thu, 23 Apr 2009 19:26:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to search for a column name in the Oracle Database</title>
		<link>http://geeksdatabase.com/how-to-search-for-a-column-name-in-the-oracle-database/</link>
		<comments>http://geeksdatabase.com/how-to-search-for-a-column-name-in-the-oracle-database/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 22:30:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[pl/sql]]></category>

		<guid isPermaLink="false">http://geeksdatabase.com/?p=106</guid>
		<description><![CDATA[<p>When you are working with Database systems, very often you will be stuck in a situation where you vaugely remember the column name but doesn't know which TABLE the COLUMN belongs to. I've been in this situation more than a dozen times myself. I blame my bad memory for this.</p>

Well, here is a small SQL query that does the trick for you... 
]]></description>
			<content:encoded><![CDATA[<!-- AdSense Now V1.53 -->
<!-- Post[count: 1] -->
<div class="adsense adsense-leadin" style="float:right;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "pub-1213643583738263";
google_ad_slot = "5294177075";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><p>When you are working with Database systems, very often you will be stuck in a situation where you vaugely remember the column name but doesn&#8217;t know which TABLE the COLUMN belongs to. I&#8217;ve been in this situation more than a dozen times myself. I blame my bad memory for this.</p>
<p>Well, here is a small SQL query that does the trick for you.</p>
<p><code>SELECT TABLE_NAME,COLUMN_NAME FROM USER_TAB_COLUMNS WHERE COLUMN_NAME like '%customer_id%';</code></p>
<!-- AdSense Now V1.53 -->
<!-- Post[count: 2] -->
<div class="adsense adsense-midtext" style="float:left;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "pub-1213643583738263";
google_ad_slot = "5294177075";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><p>Replace the &#8220;customer_id&#8221; with the text that you would like to search for.</p>
<p>This works for a Oracle Database. I haven&#8217;t tried this with MySQL.</p>
<p>Please use the comment box for any suggestions.</p>
<!-- AdSense Now V1.53 -->
<!-- Post[count: 3] -->
<div class="adsense adsense-leadout" style="float:right;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "pub-1213643583738263";
google_ad_slot = "5294177075";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>]]></content:encoded>
			<wfw:commentRss>http://geeksdatabase.com/how-to-search-for-a-column-name-in-the-oracle-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
