<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Query to Find Column From All Tables of Database</title>
	<atom:link href="http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sun, 12 Feb 2012 09:22:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Sharky</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-250575</link>
		<dc:creator><![CDATA[Sharky]]></dc:creator>
		<pubDate>Thu, 09 Feb 2012 14:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-250575</guid>
		<description><![CDATA[Tnanks. I needed this to find several feilds in a new database. really helped]]></description>
		<content:encoded><![CDATA[<p>Tnanks. I needed this to find several feilds in a new database. really helped</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-218483</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 15 Dec 2011 13:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-218483</guid>
		<description><![CDATA[Example code

exec sp_msforeachdb &#039;if exists(select * from ?..sysobjects where name=&#039;&#039;TABLE_PRIVILEGES&#039;&#039;) select &#039;&#039;TABLE_PRIVILEGES&#039;&#039;&#039;]]></description>
		<content:encoded><![CDATA[<p>Example code</p>
<p>exec sp_msforeachdb &#8216;if exists(select * from ?..sysobjects where name=&#8221;TABLE_PRIVILEGES&#8221;) select &#8221;TABLE_PRIVILEGES&#8221;&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manoj</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-215965</link>
		<dc:creator><![CDATA[manoj]]></dc:creator>
		<pubDate>Mon, 12 Dec 2011 10:24:36 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-215965</guid>
		<description><![CDATA[HI,

I need query which will find common tables from different databases..?]]></description>
		<content:encoded><![CDATA[<p>HI,</p>
<p>I need query which will find common tables from different databases..?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Developer Mike</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-191021</link>
		<dc:creator><![CDATA[Developer Mike]]></dc:creator>
		<pubDate>Tue, 08 Nov 2011 18:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-191021</guid>
		<description><![CDATA[You saved me more than million times. Thank YOU!]]></description>
		<content:encoded><![CDATA[<p>You saved me more than million times. Thank YOU!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Parthiban Sekar</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-178246</link>
		<dc:creator><![CDATA[Parthiban Sekar]]></dc:creator>
		<pubDate>Thu, 13 Oct 2011 05:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-178246</guid>
		<description><![CDATA[Hi Guys,

I often come across the situation where i need to find the column name having particular value of unknown table in a Sql database. For example, I know the value of a column like &#039;Test&#039; and i need to find the Column name and table name in the particular data base. Please share if i can query like that.

Thanks and Regards,
Parthiban Sekar]]></description>
		<content:encoded><![CDATA[<p>Hi Guys,</p>
<p>I often come across the situation where i need to find the column name having particular value of unknown table in a Sql database. For example, I know the value of a column like &#8216;Test&#8217; and i need to find the Column name and table name in the particular data base. Please share if i can query like that.</p>
<p>Thanks and Regards,<br />
Parthiban Sekar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SheldonL</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-146681</link>
		<dc:creator><![CDATA[SheldonL]]></dc:creator>
		<pubDate>Thu, 07 Jul 2011 15:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-146681</guid>
		<description><![CDATA[This script is awesome.  Thanks for sharing with the community.  I finished my work alot faster now.]]></description>
		<content:encoded><![CDATA[<p>This script is awesome.  Thanks for sharing with the community.  I finished my work alot faster now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: subramaniyan</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-144610</link>
		<dc:creator><![CDATA[subramaniyan]]></dc:creator>
		<pubDate>Wed, 29 Jun 2011 07:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-144610</guid>
		<description><![CDATA[thanks a lot...]]></description>
		<content:encoded><![CDATA[<p>thanks a lot&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: caroline</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-141012</link>
		<dc:creator><![CDATA[caroline]]></dc:creator>
		<pubDate>Wed, 15 Jun 2011 05:02:39 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-141012</guid>
		<description><![CDATA[I&#039;m not a big commenter, but I just wanted to say thanks.  I end up finding answers on your blog really often, and I really should take the time to say thank you.  

Soo...thanks for being so concise, and for taking the time to share your knowledge, it is much appreciated.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m not a big commenter, but I just wanted to say thanks.  I end up finding answers on your blog really often, and I really should take the time to say thank you.  </p>
<p>Soo&#8230;thanks for being so concise, and for taking the time to share your knowledge, it is much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: satheesh</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-139992</link>
		<dc:creator><![CDATA[satheesh]]></dc:creator>
		<pubDate>Thu, 09 Jun 2011 10:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-139992</guid>
		<description><![CDATA[i need your help to study SQL]]></description>
		<content:encoded><![CDATA[<p>i need your help to study SQL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: satheesh</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-139991</link>
		<dc:creator><![CDATA[satheesh]]></dc:creator>
		<pubDate>Thu, 09 Jun 2011 10:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-139991</guid>
		<description><![CDATA[hi friends]]></description>
		<content:encoded><![CDATA[<p>hi friends</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: satheesh</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-139983</link>
		<dc:creator><![CDATA[satheesh]]></dc:creator>
		<pubDate>Thu, 09 Jun 2011 09:37:37 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-139983</guid>
		<description><![CDATA[Hi friends 

I know only DBMS concepts
give me tips to know SQL]]></description>
		<content:encoded><![CDATA[<p>Hi friends </p>
<p>I know only DBMS concepts<br />
give me tips to know SQL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brutus</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-137003</link>
		<dc:creator><![CDATA[brutus]]></dc:creator>
		<pubDate>Fri, 27 May 2011 07:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-137003</guid>
		<description><![CDATA[if you have a ntext column is does not work....
Example :


if i want to search for any columns that contain value:%SKUS% it doesn&#039;t show anything...]]></description>
		<content:encoded><![CDATA[<p>if you have a ntext column is does not work&#8230;.<br />
Example :</p>
<p>if i want to search for any columns that contain value:%SKUS% it doesn&#8217;t show anything&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-134585</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Mon, 16 May 2011 10:31:23 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-134585</guid>
		<description><![CDATA[Refer this
http://beyondrelational.com/blogs/madhivanan/archive/2007/11/02/different-ways-to-count-rows-from-a-table.aspx]]></description>
		<content:encoded><![CDATA[<p>Refer this<br />
<a href="http://beyondrelational.com/blogs/madhivanan/archive/2007/11/02/different-ways-to-count-rows-from-a-table.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2007/11/02/different-ways-to-count-rows-from-a-table.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-134584</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Mon, 16 May 2011 10:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-134584</guid>
		<description><![CDATA[Query on definition colum of the system table  sys.sql_modules]]></description>
		<content:encoded><![CDATA[<p>Query on definition colum of the system table  sys.sql_modules</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yogesh</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-134583</link>
		<dc:creator><![CDATA[Yogesh]]></dc:creator>
		<pubDate>Mon, 16 May 2011 10:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-134583</guid>
		<description><![CDATA[Hi, 

I want to retrieve the row counts of all the tables present in a database using a query. Please help me.

Example

if there are 2 tables in a database called A and B having 15 and 20 results respectively. I want a query that gives
this display

TableName      RowCount
A                           15
B                           20

it shoudl extract the names and row count itself from sys.tables.

hope m clear.

Regards,
Yogesh]]></description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I want to retrieve the row counts of all the tables present in a database using a query. Please help me.</p>
<p>Example</p>
<p>if there are 2 tables in a database called A and B having 15 and 20 results respectively. I want a query that gives<br />
this display</p>
<p>TableName      RowCount<br />
A                           15<br />
B                           20</p>
<p>it shoudl extract the names and row count itself from sys.tables.</p>
<p>hope m clear.</p>
<p>Regards,<br />
Yogesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-134579</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Mon, 16 May 2011 10:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-134579</guid>
		<description><![CDATA[Select column_name from information_schema.columns where table_name=&#039;table name&#039;]]></description>
		<content:encoded><![CDATA[<p>Select column_name from information_schema.columns where table_name=&#8217;table name&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venkat</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-134220</link>
		<dc:creator><![CDATA[Venkat]]></dc:creator>
		<pubDate>Fri, 13 May 2011 08:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-134220</guid>
		<description><![CDATA[Hi,

 I want to retrieve some of cloumn names form table..is that possible ?

Thanks 

Venkat]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p> I want to retrieve some of cloumn names form table..is that possible ?</p>
<p>Thanks </p>
<p>Venkat</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: S.Thomas</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-134106</link>
		<dc:creator><![CDATA[S.Thomas]]></dc:creator>
		<pubDate>Thu, 12 May 2011 10:14:18 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-134106</guid>
		<description><![CDATA[Is there any query to find all the references of a particular column in a table? In other way how to find where and all that particular column (not the name, actual column refernce) is used? (ex: sps, user function, FK , views etc)]]></description>
		<content:encoded><![CDATA[<p>Is there any query to find all the references of a particular column in a table? In other way how to find where and all that particular column (not the name, actual column refernce) is used? (ex: sps, user function, FK , views etc)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kumar</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-132577</link>
		<dc:creator><![CDATA[Kumar]]></dc:creator>
		<pubDate>Tue, 03 May 2011 01:26:28 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-132577</guid>
		<description><![CDATA[CREATE VIEW [Sales].[vSalesPerson]   
AS   
SELECT   
s.[SalesPersonID]  
,c.[Title]  
,c.[FirstName]  
,c.[MiddleName]  
,c.[LastName]  
,c.[Suffix]  
,[JobTitle] = e.[Title]  
,c.[Phone]  
,c.[EmailAddress]  
,c.[EmailPromotion]  
,a.[AddressLine1]  
,a.[AddressLine2]  
,a.[City]  
,[StateProvinceName] = sp.[Name]  
,a.[PostalCode]  
,[CountryRegionName] = cr.[Name]  
,[TerritoryName] = st.[Name]  
,[TerritoryGroup] = st.[Group]  
,s.[SalesQuota]  
,s.[SalesYTD]  
,s.[SalesLastYear]  
FROM [Sales].[SalesPerson] s  
INNER JOIN [HumanResources].[Employee] e   
ON e.[EmployeeID] = s.[SalesPersonID]  
LEFT OUTER JOIN [Sales].[SalesTerritory] st   
ON st.[TerritoryID] = s.[TerritoryID]  
INNER JOIN [Person].[Contact] c   
ON c.[ContactID] = e.[ContactID]  
INNER JOIN [HumanResources].[EmployeeAddress] ea   
ON e.[EmployeeID] = ea.[EmployeeID]   
INNER JOIN [Person].[Address] a   
ON ea.[AddressID] = a.[AddressID]  
INNER JOIN [Person].[StateProvince] sp   
ON sp.[StateProvinceID] = a.[StateProvinceID]  
INNER JOIN [Person].[CountryRegion] cr   
ON cr.[CountryRegionCode] = sp.[CountryRegionCode];  

Query is : How could we say that the above VIEW follows which type of JOIN by looking at resultset or View ?]]></description>
		<content:encoded><![CDATA[<p>CREATE VIEW [Sales].[vSalesPerson]<br />
AS<br />
SELECT<br />
s.[SalesPersonID]<br />
,c.[Title]<br />
,c.[FirstName]<br />
,c.[MiddleName]<br />
,c.[LastName]<br />
,c.[Suffix]<br />
,[JobTitle] = e.[Title]<br />
,c.[Phone]<br />
,c.[EmailAddress]<br />
,c.[EmailPromotion]<br />
,a.[AddressLine1]<br />
,a.[AddressLine2]<br />
,a.[City]<br />
,[StateProvinceName] = sp.[Name]<br />
,a.[PostalCode]<br />
,[CountryRegionName] = cr.[Name]<br />
,[TerritoryName] = st.[Name]<br />
,[TerritoryGroup] = st.[Group]<br />
,s.[SalesQuota]<br />
,s.[SalesYTD]<br />
,s.[SalesLastYear]<br />
FROM [Sales].[SalesPerson] s<br />
INNER JOIN [HumanResources].[Employee] e<br />
ON e.[EmployeeID] = s.[SalesPersonID]<br />
LEFT OUTER JOIN [Sales].[SalesTerritory] st<br />
ON st.[TerritoryID] = s.[TerritoryID]<br />
INNER JOIN [Person].[Contact] c<br />
ON c.[ContactID] = e.[ContactID]<br />
INNER JOIN [HumanResources].[EmployeeAddress] ea<br />
ON e.[EmployeeID] = ea.[EmployeeID]<br />
INNER JOIN [Person].[Address] a<br />
ON ea.[AddressID] = a.[AddressID]<br />
INNER JOIN [Person].[StateProvince] sp<br />
ON sp.[StateProvinceID] = a.[StateProvinceID]<br />
INNER JOIN [Person].[CountryRegion] cr<br />
ON cr.[CountryRegionCode] = sp.[CountryRegionCode];  </p>
<p>Query is : How could we say that the above VIEW follows which type of JOIN by looking at resultset or View ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-131555</link>
		<dc:creator><![CDATA[Tom]]></dc:creator>
		<pubDate>Wed, 27 Apr 2011 14:38:54 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-131555</guid>
		<description><![CDATA[I have used TM Field Finder for a while and it&#039;s really helpfull when you need to search in SQL Server database for particular text.]]></description>
		<content:encoded><![CDATA[<p>I have used TM Field Finder for a while and it&#8217;s really helpfull when you need to search in SQL Server database for particular text.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaik Fayaz</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-127040</link>
		<dc:creator><![CDATA[Shaik Fayaz]]></dc:creator>
		<pubDate>Wed, 06 Apr 2011 13:58:08 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-127040</guid>
		<description><![CDATA[Hello my dear friends 

I have simple code that is to get a data from couple of tables. But it showing the Result multiple times.Can any body help me.
THIS IS THE CODE.
----------------------------------------------------------
SELECT H1.EMP_CODE,H1.NAME1A+&#039;  &#039;+H1.NAME2A+&#039;  &#039;+H1.NAME3A &#039;NAME&#039;
,H2.DESCA &#039;JOB&#039;
,H3.DESCA &#039;COUNTRY&#039;
FROM H_EMP H1 INNER JOIN H_D_JOB H2
ON H1.JOB_CODE=H2.CODE 
INNER JOIN H_D_NATIONALITY H3
ON H1.NAT_CODE=H3.CODE
WHERE EMP_CODE=7515
------------------------------------------------------
OUT PUT
--------------------------------------------------------
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
7515	شيخ   فياز  باشا	مبرمج	هندي
I&#039;m really Thanks alot to help me.]]></description>
		<content:encoded><![CDATA[<p>Hello my dear friends </p>
<p>I have simple code that is to get a data from couple of tables. But it showing the Result multiple times.Can any body help me.<br />
THIS IS THE CODE.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
SELECT H1.EMP_CODE,H1.NAME1A+&#8217;  &#8216;+H1.NAME2A+&#8217;  &#8216;+H1.NAME3A &#8216;NAME&#8217;<br />
,H2.DESCA &#8216;JOB&#8217;<br />
,H3.DESCA &#8216;COUNTRY&#8217;<br />
FROM H_EMP H1 INNER JOIN H_D_JOB H2<br />
ON H1.JOB_CODE=H2.CODE<br />
INNER JOIN H_D_NATIONALITY H3<br />
ON H1.NAT_CODE=H3.CODE<br />
WHERE EMP_CODE=7515<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
OUT PUT<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
7515	شيخ   فياز  باشا	مبرمج	هندي<br />
I&#8217;m really Thanks alot to help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shail</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-126649</link>
		<dc:creator><![CDATA[Shail]]></dc:creator>
		<pubDate>Tue, 05 Apr 2011 06:40:48 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-126649</guid>
		<description><![CDATA[hi , 
for eg.
create view  abc as
SELECT 
a.pen,
b.book
from  account a,  books b

now i want to know the name of all those views who have books in their FROM clause. Plz suggest me to build the query.
Thanks in Advance]]></description>
		<content:encoded><![CDATA[<p>hi ,<br />
for eg.<br />
create view  abc as<br />
SELECT<br />
a.pen,<br />
b.book<br />
from  account a,  books b</p>
<p>now i want to know the name of all those views who have books in their FROM clause. Plz suggest me to build the query.<br />
Thanks in Advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sheetal</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-124379</link>
		<dc:creator><![CDATA[Sheetal]]></dc:creator>
		<pubDate>Tue, 22 Mar 2011 10:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-124379</guid>
		<description><![CDATA[Hi Madhivanan,

Thanks very much for your quick response. Best part is I have tried the query as you suggested and its working. Really thanks for your help.


Sheetal]]></description>
		<content:encoded><![CDATA[<p>Hi Madhivanan,</p>
<p>Thanks very much for your quick response. Best part is I have tried the query as you suggested and its working. Really thanks for your help.</p>
<p>Sheetal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-124352</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 22 Mar 2011 07:03:27 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-124352</guid>
		<description><![CDATA[select product_id from table
where product_name in (&#039;Camera&#039;,&#039;Bluetooth&#039;,&#039;MP3&#039;)
group by product_id
having count(distinct product_name)=3]]></description>
		<content:encoded><![CDATA[<p>select product_id from table<br />
where product_name in (&#8216;Camera&#8217;,'Bluetooth&#8217;,'MP3&#8242;)<br />
group by product_id<br />
having count(distinct product_name)=3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sheetal</title>
		<link>http://blog.sqlauthority.com/2008/08/06/sql-server-query-to-find-column-from-all-tables-of-database/#comment-124260</link>
		<dc:creator><![CDATA[Sheetal]]></dc:creator>
		<pubDate>Mon, 21 Mar 2011 13:35:35 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=788#comment-124260</guid>
		<description><![CDATA[Hi,

Need help to fetch records. I have a table product having 2 field product_id and features. I have 5 following row

1         Camera
1         Bluetooth
1         MP3
2         Camera
3         Camera
3         MP3

Now I just want to fetch thoes products, having Camera,Bluetooth and MP3

Please suggest me to build a query

Thanks
Sheetal]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Need help to fetch records. I have a table product having 2 field product_id and features. I have 5 following row</p>
<p>1         Camera<br />
1         Bluetooth<br />
1         MP3<br />
2         Camera<br />
3         Camera<br />
3         MP3</p>
<p>Now I just want to fetch thoes products, having Camera,Bluetooth and MP3</p>
<p>Please suggest me to build a query</p>
<p>Thanks<br />
Sheetal</p>
]]></content:encoded>
	</item>
</channel>
</rss>
