<?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; 2005 &#8211; List All The Column With Specific Data Types</title>
	<atom:link href="http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Shaiju CK</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-434855</link>
		<dc:creator><![CDATA[Shaiju CK]]></dc:creator>
		<pubDate>Sun, 10 Mar 2013 10:49:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-434855</guid>
		<description><![CDATA[SELECT REPLACE(&#039;2012/10/10&#039;, &#039;/&#039;, &#039;&#039;)

--Eg:-
SELECT REPLACE(FieldName, &#039;/&#039;, &#039;&#039;) FROM TableName]]></description>
		<content:encoded><![CDATA[<p>SELECT REPLACE(&#8217;2012/10/10&#8242;, &#8216;/&#8217;, &#8221;)</p>
<p>&#8211;Eg:-<br />
SELECT REPLACE(FieldName, &#8216;/&#8217;, &#8221;) FROM TableName</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaiju CK</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-434851</link>
		<dc:creator><![CDATA[Shaiju CK]]></dc:creator>
		<pubDate>Sun, 10 Mar 2013 10:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-434851</guid>
		<description><![CDATA[c and t are the aliases for sys.columns and sys.types respectively. You can see that name asighed in the last 2nd and 3rd row from the bottom.]]></description>
		<content:encoded><![CDATA[<p>c and t are the aliases for sys.columns and sys.types respectively. You can see that name asighed in the last 2nd and 3rd row from the bottom.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vichet</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-434763</link>
		<dc:creator><![CDATA[Vichet]]></dc:creator>
		<pubDate>Sun, 10 Mar 2013 06:26:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-434763</guid>
		<description><![CDATA[Can you please explain what the single characters &#039;c&#039;, &#039;t&#039; mean below? It&#039;s a copy from this blog. 

SELECT
 OBJECT_NAME(c.OBJECT_ID) TableName
 ,c.name AS ColumnName
 ,SCHEMA_NAME(t.schema_id) AS SchemaName
 ,t.name AS TypeName
 ,t.is_user_defined
 ,t.is_assembly_type
 ,c.max_length
 ,c.PRECISION
 ,c.scale
 FROM sys.columns AS c
 JOIN sys.types AS t ON c.user_type_id=t.user_type_id
 ORDER BY c.OBJECT_ID;]]></description>
		<content:encoded><![CDATA[<p>Can you please explain what the single characters &#8216;c&#8217;, &#8216;t&#8217; mean below? It&#8217;s a copy from this blog. </p>
<p>SELECT<br />
 OBJECT_NAME(c.OBJECT_ID) TableName<br />
 ,c.name AS ColumnName<br />
 ,SCHEMA_NAME(t.schema_id) AS SchemaName<br />
 ,t.name AS TypeName<br />
 ,t.is_user_defined<br />
 ,t.is_assembly_type<br />
 ,c.max_length<br />
 ,c.PRECISION<br />
 ,c.scale<br />
 FROM sys.columns AS c<br />
 JOIN sys.types AS t ON c.user_type_id=t.user_type_id<br />
 ORDER BY c.OBJECT_ID;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikash</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-427767</link>
		<dc:creator><![CDATA[Nikash]]></dc:creator>
		<pubDate>Tue, 26 Feb 2013 07:34:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-427767</guid>
		<description><![CDATA[Hope this will help you ..

select replace(replace(replace(convert(char(4),YEAR(&#039;2012/10/10&#039;))+&#039;A&#039;+convert(char(4),MONTH(&#039;2012/10/10&#039;))+&#039;B&#039;+convert(char(4),DAY(&#039;2012/10/10&#039;)),&#039;A&#039;,&#039;&#039;),&#039;B&#039;,&#039;&#039;),&#039; &#039;,&#039;&#039;)]]></description>
		<content:encoded><![CDATA[<p>Hope this will help you ..</p>
<p>select replace(replace(replace(convert(char(4),YEAR(&#8217;2012/10/10&#8242;))+&#8217;A'+convert(char(4),MONTH(&#8217;2012/10/10&#8242;))+&#8217;B'+convert(char(4),DAY(&#8217;2012/10/10&#8242;)),&#8217;A',&#8221;),&#8217;B',&#8221;),&#8217; &#8216;,&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikash</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-427759</link>
		<dc:creator><![CDATA[Nikash]]></dc:creator>
		<pubDate>Tue, 26 Feb 2013 07:22:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-427759</guid>
		<description><![CDATA[Except manually , Can i migrate the data belonging to one schema to a different one in same db.  Please tell me ASAP.]]></description>
		<content:encoded><![CDATA[<p>Except manually , Can i migrate the data belonging to one schema to a different one in same db.  Please tell me ASAP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandesh</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-417074</link>
		<dc:creator><![CDATA[Sandesh]]></dc:creator>
		<pubDate>Sun, 03 Feb 2013 07:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-417074</guid>
		<description><![CDATA[Sandesh,

It is ok Pinal, We are here to share our knowledge and grow...thank you so much for your highly useful posts always.]]></description>
		<content:encoded><![CDATA[<p>Sandesh,</p>
<p>It is ok Pinal, We are here to share our knowledge and grow&#8230;thank you so much for your highly useful posts always.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hardik</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-388625</link>
		<dc:creator><![CDATA[hardik]]></dc:creator>
		<pubDate>Fri, 07 Dec 2012 06:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-388625</guid>
		<description><![CDATA[thanx a lot buddy]]></description>
		<content:encoded><![CDATA[<p>thanx a lot buddy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; 2012 &#8211; List All The Column With Specific Data Types in Database &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-359310</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; 2012 &#8211; List All The Column With Specific Data Types in Database &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 13 Oct 2012 01:31:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-359310</guid>
		<description><![CDATA[[...] years ago I wrote script SQL SERVER – 2005 – List All The Column With Specific Data Types, when I read it again, it is very much relevant and I liked it. This is one of the script which [...]]]></description>
		<content:encoded><![CDATA[<p>[...] years ago I wrote script SQL SERVER – 2005 – List All The Column With Specific Data Types, when I read it again, it is very much relevant and I liked it. This is one of the script which [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alireza</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-356853</link>
		<dc:creator><![CDATA[alireza]]></dc:creator>
		<pubDate>Sun, 07 Oct 2012 14:39:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-356853</guid>
		<description><![CDATA[hi i want select a date from a filde 
if fdat=2012/10/10
i want  20121010
can help me !!!]]></description>
		<content:encoded><![CDATA[<p>hi i want select a date from a filde<br />
if fdat=2012/10/10<br />
i want  20121010<br />
can help me !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashok</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-343563</link>
		<dc:creator><![CDATA[Ashok]]></dc:creator>
		<pubDate>Thu, 13 Sep 2012 09:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-343563</guid>
		<description><![CDATA[Nice ya. Found your valuable effort here.
Thanks for this.
Ashok.]]></description>
		<content:encoded><![CDATA[<p>Nice ya. Found your valuable effort here.<br />
Thanks for this.<br />
Ashok.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Praveen</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-331307</link>
		<dc:creator><![CDATA[Praveen]]></dc:creator>
		<pubDate>Thu, 16 Aug 2012 08:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-331307</guid>
		<description><![CDATA[Good One !! 
Have added the NULLABLE condtion for each column!!

SELECT
OBJECT_NAME(c.OBJECT_ID) TableName
,c.name AS ColumnName
,SCHEMA_NAME(t.schema_id) AS SchemaName
,t.name AS TypeName
,t.is_user_defined
,t.is_assembly_type
,c.max_length
,c.PRECISION
,c.scale
,&#039;NULLABLE&#039; = case when c.is_nullable=&#039;true&#039;  then &#039;YES&#039; else &#039;NO&#039; end
FROM sys.columns AS c
JOIN sys.types AS t ON c.user_type_id=t.user_type_id
ORDER BY c.OBJECT_ID;]]></description>
		<content:encoded><![CDATA[<p>Good One !!<br />
Have added the NULLABLE condtion for each column!!</p>
<p>SELECT<br />
OBJECT_NAME(c.OBJECT_ID) TableName<br />
,c.name AS ColumnName<br />
,SCHEMA_NAME(t.schema_id) AS SchemaName<br />
,t.name AS TypeName<br />
,t.is_user_defined<br />
,t.is_assembly_type<br />
,c.max_length<br />
,c.PRECISION<br />
,c.scale<br />
,&#8217;NULLABLE&#8217; = case when c.is_nullable=&#8217;true&#8217;  then &#8216;YES&#8217; else &#8216;NO&#8217; end<br />
FROM sys.columns AS c<br />
JOIN sys.types AS t ON c.user_type_id=t.user_type_id<br />
ORDER BY c.OBJECT_ID;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sharath</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-303832</link>
		<dc:creator><![CDATA[Sharath]]></dc:creator>
		<pubDate>Thu, 21 Jun 2012 06:24:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-303832</guid>
		<description><![CDATA[Thank u very much..............]]></description>
		<content:encoded><![CDATA[<p>Thank u very much&#8230;&#8230;&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajib Pradhan</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-272235</link>
		<dc:creator><![CDATA[Rajib Pradhan]]></dc:creator>
		<pubDate>Thu, 05 Apr 2012 04:15:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-272235</guid>
		<description><![CDATA[Thanks Ron,
I think your script will list all the columns with data types. I want to refine my requirement that list all the primary key columns  with data type.


Rajib]]></description>
		<content:encoded><![CDATA[<p>Thanks Ron,<br />
I think your script will list all the columns with data types. I want to refine my requirement that list all the primary key columns  with data type.</p>
<p>Rajib</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron Cicotte</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-271914</link>
		<dc:creator><![CDATA[Ron Cicotte]]></dc:creator>
		<pubDate>Wed, 04 Apr 2012 12:48:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-271914</guid>
		<description><![CDATA[I was actually lookiing for a way to list the columns and datatypes for User Defined Table Types.  This article helped but I still had to do a lot of research before I came up with this:

and was able to do this:

SELECT s.name as &#039;schema&#039;
	, tt.name as TableName
	, c.name AS column_name
    ,c.column_id
    ,SCHEMA_NAME(t.schema_id) AS type_schema
    ,t.name AS type_name
    ,t.is_user_defined
    ,t.is_assembly_type
    ,c.max_length
    ,c.precision
    ,c.scale
    ,t.user_type_id
    ,c.object_id
FROM sys.columns AS c 
JOIN sys.types AS t ON c.user_type_id=t.user_type_id
JOIN sys.table_types tt ON tt.type_table_object_id = c.object_id
JOIN sys.schemas s ON s.schema_id = tt.schema_id
Order by s.name,tt.name, c.column_id]]></description>
		<content:encoded><![CDATA[<p>I was actually lookiing for a way to list the columns and datatypes for User Defined Table Types.  This article helped but I still had to do a lot of research before I came up with this:</p>
<p>and was able to do this:</p>
<p>SELECT s.name as &#8216;schema&#8217;<br />
	, tt.name as TableName<br />
	, c.name AS column_name<br />
    ,c.column_id<br />
    ,SCHEMA_NAME(t.schema_id) AS type_schema<br />
    ,t.name AS type_name<br />
    ,t.is_user_defined<br />
    ,t.is_assembly_type<br />
    ,c.max_length<br />
    ,c.precision<br />
    ,c.scale<br />
    ,t.user_type_id<br />
    ,c.object_id<br />
FROM sys.columns AS c<br />
JOIN sys.types AS t ON c.user_type_id=t.user_type_id<br />
JOIN sys.table_types tt ON tt.type_table_object_id = c.object_id<br />
JOIN sys.schemas s ON s.schema_id = tt.schema_id<br />
Order by s.name,tt.name, c.column_id</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-265718</link>
		<dc:creator><![CDATA[steve]]></dc:creator>
		<pubDate>Wed, 21 Mar 2012 17:09:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-265718</guid>
		<description><![CDATA[Why do you think INFORMATION_SCHEMA is undocumented. I do see the information on msdn http://msdn.microsoft.com/en-us/library/ms186778(v=sql.105).aspx. Information schema views seem to be simpler solution, is there any other reason not to use the information schema?]]></description>
		<content:encoded><![CDATA[<p>Why do you think INFORMATION_SCHEMA is undocumented. I do see the information on msdn <a href="http://msdn.microsoft.com/en-us/library/ms186778(v=sql.105)" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms186778(v=sql.105)</a>.aspx. Information schema views seem to be simpler solution, is there any other reason not to use the information schema?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajib Pradhan</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-259663</link>
		<dc:creator><![CDATA[Rajib Pradhan]]></dc:creator>
		<pubDate>Mon, 05 Mar 2012 09:23:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-259663</guid>
		<description><![CDATA[Hi Pinal,
 I want  a script which will find all the data types used by all the primary keys of the database. That means list all the primary keys with their data types in a database.
     Will you please write a script for this.

Thanks,
Rajib]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
 I want  a script which will find all the data types used by all the primary keys of the database. That means list all the primary keys with their data types in a database.<br />
     Will you please write a script for this.</p>
<p>Thanks,<br />
Rajib</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-218482</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 15 Dec 2011 13:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-218482</guid>
		<description><![CDATA[See if this helps
http://beyondrelational.com/blogs/madhivanan/archive/2009/12/14/search-a-value-in-character-column-of-all-tables.aspx]]></description>
		<content:encoded><![CDATA[<p>See if this helps<br />
<a href="http://beyondrelational.com/blogs/madhivanan/archive/2009/12/14/search-a-value-in-character-column-of-all-tables.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2009/12/14/search-a-value-in-character-column-of-all-tables.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pramod Patil</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-217356</link>
		<dc:creator><![CDATA[Pramod Patil]]></dc:creator>
		<pubDate>Wed, 14 Dec 2011 06:45:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-217356</guid>
		<description><![CDATA[i want Search text in any Column of Specify Table ,

I want that text which Column ::

How do I]]></description>
		<content:encoded><![CDATA[<p>i want Search text in any Column of Specify Table ,</p>
<p>I want that text which Column ::</p>
<p>How do I</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anand</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-136387</link>
		<dc:creator><![CDATA[Anand]]></dc:creator>
		<pubDate>Tue, 24 May 2011 11:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-136387</guid>
		<description><![CDATA[Hi Guys,
Have any idea to alter the system data type.

Exp:
UPDATE INFORMATION_SCHEMA.COLUMNS SET NUMERIC_PRECISION=18,NUMERIC_SCALE=2
WHERE DATA_TYPE = &#039;decimal&#039;]]></description>
		<content:encoded><![CDATA[<p>Hi Guys,<br />
Have any idea to alter the system data type.</p>
<p>Exp:<br />
UPDATE INFORMATION_SCHEMA.COLUMNS SET NUMERIC_PRECISION=18,NUMERIC_SCALE=2<br />
WHERE DATA_TYPE = &#8216;decimal&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-121658</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 03 Mar 2011 08:39:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-121658</guid>
		<description><![CDATA[That format matters only if you want to show them in a front end application. Why do you want to have data in such format?]]></description>
		<content:encoded><![CDATA[<p>That format matters only if you want to show them in a front end application. Why do you want to have data in such format?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raja</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-121173</link>
		<dc:creator><![CDATA[Raja]]></dc:creator>
		<pubDate>Mon, 28 Feb 2011 10:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-121173</guid>
		<description><![CDATA[Hi Guys,

nice post, I want a result in the following format

TableName
----------

columnName  datatype  Length
test1                     int        4

TableName
---------------
columnName  datatype  Length
test2                    int        4]]></description>
		<content:encoded><![CDATA[<p>Hi Guys,</p>
<p>nice post, I want a result in the following format</p>
<p>TableName<br />
&#8212;&#8212;&#8212;-</p>
<p>columnName  datatype  Length<br />
test1                     int        4</p>
<p>TableName<br />
&#8212;&#8212;&#8212;&#8212;&#8212;<br />
columnName  datatype  Length<br />
test2                    int        4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ludovic T-C</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-95701</link>
		<dc:creator><![CDATA[Ludovic T-C]]></dc:creator>
		<pubDate>Mon, 25 Oct 2010 11:34:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-95701</guid>
		<description><![CDATA[I wanted to find out what the column data types were for the view sys.databases.  

To return the column data types for this view, use Pinal&#039;s Script 2 above, but query &quot;sys.all_columns&quot; instead of &quot;sys.columns&quot;.  

To return only the columns for sys.databases, add:

WHERE object_name(c.OBJECT_ID) = &#039;sysdatabases&#039;

before the ORDER BY.]]></description>
		<content:encoded><![CDATA[<p>I wanted to find out what the column data types were for the view sys.databases.  </p>
<p>To return the column data types for this view, use Pinal&#8217;s Script 2 above, but query &#8220;sys.all_columns&#8221; instead of &#8220;sys.columns&#8221;.  </p>
<p>To return only the columns for sys.databases, add:</p>
<p>WHERE object_name(c.OBJECT_ID) = &#8216;sysdatabases&#8217;</p>
<p>before the ORDER BY.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sabby</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-85697</link>
		<dc:creator><![CDATA[Sabby]]></dc:creator>
		<pubDate>Mon, 30 Aug 2010 23:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-85697</guid>
		<description><![CDATA[Hi, 
In addition to this script can i add another column that states what exactly is the data length (not declared length), that means concatenating MAX( DataLength(ColumnName)) function]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
In addition to this script can i add another column that states what exactly is the data length (not declared length), that means concatenating MAX( DataLength(ColumnName)) function</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Staffan Hedström</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-85207</link>
		<dc:creator><![CDATA[Staffan Hedström]]></dc:creator>
		<pubDate>Wed, 25 Aug 2010 09:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-85207</guid>
		<description><![CDATA[Thanks for the script, you saved me an hour!]]></description>
		<content:encoded><![CDATA[<p>Thanks for the script, you saved me an hour!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swathi</title>
		<link>http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-81867</link>
		<dc:creator><![CDATA[swathi]]></dc:creator>
		<pubDate>Tue, 27 Jul 2010 15:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/08/09/sql-server-2005-list-all-the-column-with-specific-data-types/#comment-81867</guid>
		<description><![CDATA[Remisha - Thank you for the query, it&#039;s really handy.]]></description>
		<content:encoded><![CDATA[<p>Remisha &#8211; Thank you for the query, it&#8217;s really handy.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
