<?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; 2012 &#8211; List All The Column With Specific Data Types in Database</title>
	<atom:link href="http://blog.sqlauthority.com/2012/10/13/sql-server-2012-list-all-the-column-with-specific-data-types-in-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2012/10/13/sql-server-2012-list-all-the-column-with-specific-data-types-in-database/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Wed, 22 May 2013 19:03:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: sjain</title>
		<link>http://blog.sqlauthority.com/2012/10/13/sql-server-2012-list-all-the-column-with-specific-data-types-in-database/#comment-457230</link>
		<dc:creator><![CDATA[sjain]]></dc:creator>
		<pubDate>Tue, 16 Apr 2013 12:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=21164#comment-457230</guid>
		<description><![CDATA[Is There any way to fetch all default constraints created on BIT (datatype )column only with in a database.?
please suggest a solution.
like we have to fetch all BIT columns and default constraint on this column if there is any within a database.]]></description>
		<content:encoded><![CDATA[<p>Is There any way to fetch all default constraints created on BIT (datatype )column only with in a database.?<br />
please suggest a solution.<br />
like we have to fetch all BIT columns and default constraint on this column if there is any within a database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manthan</title>
		<link>http://blog.sqlauthority.com/2012/10/13/sql-server-2012-list-all-the-column-with-specific-data-types-in-database/#comment-406346</link>
		<dc:creator><![CDATA[manthan]]></dc:creator>
		<pubDate>Fri, 11 Jan 2013 06:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=21164#comment-406346</guid>
		<description><![CDATA[Can you please tell that how to get information regarding whether the column is identity and its seed and increment value? Also default value of the column.]]></description>
		<content:encoded><![CDATA[<p>Can you please tell that how to get information regarding whether the column is identity and its seed and increment value? Also default value of the column.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mycow</title>
		<link>http://blog.sqlauthority.com/2012/10/13/sql-server-2012-list-all-the-column-with-specific-data-types-in-database/#comment-361658</link>
		<dc:creator><![CDATA[mycow]]></dc:creator>
		<pubDate>Thu, 18 Oct 2012 18:34:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=21164#comment-361658</guid>
		<description><![CDATA[Pinal,
Thanks for the Query, Pinal.  Is there a reson why the provided schema views are never used in queries examples like yours?  Many of the views have been avaliable since SQL7.0 and I use them all the time but I rarly see them referenced.   For Example: 

SELECT * FROM INFORMATION_SCHEMA.COLUMNS;
--or 
SELECT * from sys.all_columns;

Thanks
mycow]]></description>
		<content:encoded><![CDATA[<p>Pinal,<br />
Thanks for the Query, Pinal.  Is there a reson why the provided schema views are never used in queries examples like yours?  Many of the views have been avaliable since SQL7.0 and I use them all the time but I rarly see them referenced.   For Example: </p>
<p>SELECT * FROM INFORMATION_SCHEMA.COLUMNS;<br />
&#8211;or<br />
SELECT * from sys.all_columns;</p>
<p>Thanks<br />
mycow</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2012/10/13/sql-server-2012-list-all-the-column-with-specific-data-types-in-database/#comment-360350</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Mon, 15 Oct 2012 15:12:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=21164#comment-360350</guid>
		<description><![CDATA[Hi Akki,

The numbers of result was correct but the sys schema was getting incorrect result.

Thanks for bringing it to notice.

Kind Regards,
Pinal]]></description>
		<content:encoded><![CDATA[<p>Hi Akki,</p>
<p>The numbers of result was correct but the sys schema was getting incorrect result.</p>
<p>Thanks for bringing it to notice.</p>
<p>Kind Regards,<br />
Pinal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akki</title>
		<link>http://blog.sqlauthority.com/2012/10/13/sql-server-2012-list-all-the-column-with-specific-data-types-in-database/#comment-360348</link>
		<dc:creator><![CDATA[Akki]]></dc:creator>
		<pubDate>Mon, 15 Oct 2012 15:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=21164#comment-360348</guid>
		<description><![CDATA[if i am not wrong,
for all the tables it is showing schema as &quot;sys&quot; because of incorrect join
&quot;INNER JOIN sys.schemas s ON s.schema_id = t.schema_id&quot;

it should be :
SELECT s.name AS &#039;schema&#039;, ts.name AS TableName,
c.name AS column_name, c.column_id,
SCHEMA_NAME(t.schema_id) AS DatatypeSchema,
t.name AS Datatypename
,t.is_user_defined, t.is_assembly_type
,c.is_nullable, c.max_length, c.PRECISION,
c.scale
FROM sys.columns AS c
INNER JOIN sys.types AS t ON c.user_type_id=t.user_type_id
INNER JOIN sys.tables ts ON ts.OBJECT_ID = c.OBJECT_ID
INNER JOIN sys.schemas s ON s.schema_id = ts.schema_id
ORDER BY s.name, ts.name, c.column_id]]></description>
		<content:encoded><![CDATA[<p>if i am not wrong,<br />
for all the tables it is showing schema as &#8220;sys&#8221; because of incorrect join<br />
&#8220;INNER JOIN sys.schemas s ON s.schema_id = t.schema_id&#8221;</p>
<p>it should be :<br />
SELECT s.name AS &#8216;schema&#8217;, ts.name AS TableName,<br />
c.name AS column_name, c.column_id,<br />
SCHEMA_NAME(t.schema_id) AS DatatypeSchema,<br />
t.name AS Datatypename<br />
,t.is_user_defined, t.is_assembly_type<br />
,c.is_nullable, c.max_length, c.PRECISION,<br />
c.scale<br />
FROM sys.columns AS c<br />
INNER JOIN sys.types AS t ON c.user_type_id=t.user_type_id<br />
INNER JOIN sys.tables ts ON ts.OBJECT_ID = c.OBJECT_ID<br />
INNER JOIN sys.schemas s ON s.schema_id = ts.schema_id<br />
ORDER BY s.name, ts.name, c.column_id</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waqar-DBA</title>
		<link>http://blog.sqlauthority.com/2012/10/13/sql-server-2012-list-all-the-column-with-specific-data-types-in-database/#comment-359780</link>
		<dc:creator><![CDATA[Waqar-DBA]]></dc:creator>
		<pubDate>Sun, 14 Oct 2012 08:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=21164#comment-359780</guid>
		<description><![CDATA[Dear Pinal,
can you tell me any tool for business intelligence dashbooards which provide us a lot of variety of guages,charts and graphs etc for making executive dashboards and easily configurable with MS visual studio 2010 and C# ....
and freely available not licenced?]]></description>
		<content:encoded><![CDATA[<p>Dear Pinal,<br />
can you tell me any tool for business intelligence dashbooards which provide us a lot of variety of guages,charts and graphs etc for making executive dashboards and easily configurable with MS visual studio 2010 and C# &#8230;.<br />
and freely available not licenced?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2012/10/13/sql-server-2012-list-all-the-column-with-specific-data-types-in-database/#comment-359749</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Sun, 14 Oct 2012 06:48:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=21164#comment-359749</guid>
		<description><![CDATA[This is a database specific script.]]></description>
		<content:encoded><![CDATA[<p>This is a database specific script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saqib</title>
		<link>http://blog.sqlauthority.com/2012/10/13/sql-server-2012-list-all-the-column-with-specific-data-types-in-database/#comment-359741</link>
		<dc:creator><![CDATA[Saqib]]></dc:creator>
		<pubDate>Sun, 14 Oct 2012 06:30:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=21164#comment-359741</guid>
		<description><![CDATA[Dear Pinal, 

Its a nice script better if we can add server instance name and database name so it will be more illustrative. 

Thanks 

saqib]]></description>
		<content:encoded><![CDATA[<p>Dear Pinal, </p>
<p>Its a nice script better if we can add server instance name and database name so it will be more illustrative. </p>
<p>Thanks </p>
<p>saqib</p>
]]></content:encoded>
	</item>
</channel>
</rss>
