<?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/"
		>
<channel>
	<title>Comments on: Microsoft BI Metadata Toolkit</title>
	<atom:link href="http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/</link>
	<description>Random thoughts and experiences with SSIS, by Phil Brammer</description>
	<lastBuildDate>Wed, 25 Jan 2012 10:27:44 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ueb sait evtini</title>
		<link>http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/comment-page-1/#comment-15323</link>
		<dc:creator>ueb sait evtini</dc:creator>
		<pubDate>Tue, 01 Mar 2011 10:03:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/#comment-15323</guid>
		<description>it works for me! from http://www.driverbul.info</description>
		<content:encoded><![CDATA[<p>it works for me! from <a href="http://www.driverbul.info" rel="nofollow">http://www.driverbul.info</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nanthakumar</title>
		<link>http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/comment-page-1/#comment-5883</link>
		<dc:creator>Nanthakumar</dc:creator>
		<pubDate>Fri, 10 Sep 2010 06:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/#comment-5883</guid>
		<description>Hi,

By using the SSIS_META is it possible to view or retreive the length of columns in a particular transformation?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>By using the SSIS_META is it possible to view or retreive the length of columns in a particular transformation?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: software</title>
		<link>http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/comment-page-1/#comment-2526</link>
		<dc:creator>software</dc:creator>
		<pubDate>Wed, 03 Mar 2010 11:07:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/#comment-2526</guid>
		<description>Hey, I like you blog, I\&#039;d really love to write an article if I could.</description>
		<content:encoded><![CDATA[<p>Hey, I like you blog, I\&#8217;d really love to write an article if I could.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ranjith Nair</title>
		<link>http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/comment-page-1/#comment-1760</link>
		<dc:creator>Ranjith Nair</dc:creator>
		<pubDate>Fri, 07 Aug 2009 13:36:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/#comment-1760</guid>
		<description>Is there anything similar for SQL Server 2008?  Utilizing the SSIS native components?</description>
		<content:encoded><![CDATA[<p>Is there anything similar for SQL Server 2008?  Utilizing the SSIS native components?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Sims</title>
		<link>http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/comment-page-1/#comment-1726</link>
		<dc:creator>John Sims</dc:creator>
		<pubDate>Thu, 30 Jul 2009 11:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/#comment-1726</guid>
		<description>After I followed the instructions and populated the SSIS_META database I hashed together the following script so I can check for dependencies on a particular field before I change it:

DECLARE @LookupColumn varchar(200)
DECLARE @LookupTable varchar(200)
DECLARE @Database varchar(200)
SET @LookupColumn = &#039;ColumnName&#039;
SET @LookupTable = &#039;TableName&#039;
SET @Database = &#039;DatabaseName&#039;

DECLARE @Statement NVarchar(Max)
SET @Statement = &#039;declare	@dbname	sysname &#039;
+ &#039;declare @objid int &#039;
+ &#039;declare @sysobj_type char(2) &#039;
+ &#039;select @objid = object_id, @sysobj_type = type from &#039; + @Database + &#039;.sys.all_objects where name = &#039;&#039;&#039; + @LookupTable + &#039;&#039;&#039; &#039;
+ &#039;if exists (select * from &#039; + @Database + &#039;.sys.all_columns where object_id = @objid) &#039;
+ &#039;begin &#039;
+ &#039;declare @numtypes nvarchar(80) &#039;
+ &#039;select @numtypes = N&#039;&#039;tinyint,smallint,decimal,int,real,money,float,numeric,smallmoney&#039;&#039; &#039;
+ &#039;select &#039;&#039;Column_name&#039;&#039; = name, &#039;
+ &#039;	&#039;&#039;Type&#039;&#039; = type_name(user_type_id), &#039;
+ &#039; &#039;&#039;Length&#039;&#039; = convert(int, max_length), &#039;
+ &#039; &#039;&#039;Prec&#039;&#039; = case when charindex(type_name(system_type_id), @numtypes) &gt; 0 then convert(char(5),IsNull(ColumnProperty(object_id, name, &#039;&#039;precision&#039;&#039;),&#039;&#039;0&#039;&#039;)) else &#039;&#039;0&#039;&#039; end, &#039;
+ &#039; &#039;&#039;Scale&#039;&#039; = case when charindex(type_name(system_type_id), @numtypes) &gt; 0 then convert(char(5),OdbcScale(system_type_id,scale)) else &#039;&#039;0&#039;&#039; end, &#039;
+ &#039; &#039;&#039;Nullable&#039;&#039; = case when is_nullable = 0 then &#039;&#039;false&#039;&#039; else &#039;&#039;true&#039;&#039; end &#039;
+ &#039;from &#039; + @Database + &#039;.sys.all_columns where object_id = @objid AND [name] = &#039;&#039;&#039; + @LookupColumn + &#039;&#039;&#039; &#039;
+ &#039;end &#039;

exec(@Statement)

SELECT		O.ObjectName, 
			A.ObjectAttrValue As ObjectDesc,
			Oi.ObjectName,
			Oi.ObjectDesc,
			Oii.ObjectName,
			Oii.ObjectDesc,
			Oiii.ObjectName,
			Oiii.ObjectDesc,
			Oiiii.ObjectName,
			Oiiii.ObjectDesc 
FROM		Objects O 
			INNER JOIN ObjectAttributes A ON O.ObjectKey = A.ObjectKey
			LEFT OUTER JOIN ObjectDependencies ODi ON ODi.TgtObjectKey = O.ObjectKey 
			LEFT OUTER JOIN Objects Oi ON ODi.SrcObjectKey = Oi.ObjectKey
			LEFT OUTER JOIN ObjectDependencies ODii ON ODii.TgtObjectKey = Oi.ObjectKey
			LEFT OUTER JOIN Objects Oii ON ODii.SrcObjectKey = Oii.ObjectKey
			LEFT OUTER JOIN ObjectDependencies ODiii ON ODiii.TgtObjectKey = Oii.ObjectKey
			LEFT OUTER JOIN Objects Oiii ON ODiii.SrcObjectKey = Oiii.ObjectKey
			LEFT OUTER JOIN ObjectDependencies ODiiii ON ODiiii.TgtObjectKey = Oiii.ObjectKey
			LEFT OUTER JOIN Objects Oiiii ON ODiiii.SrcObjectKey = Oiiii.ObjectKey
WHERE		A.ObjectAttrName = &#039;QueryDefinition&#039; AND
			A.ObjectAttrValue Like &#039;%&#039; + @LookupColumn + &#039;%&#039; AND
			A.ObjectAttrValue Like &#039;%&#039; + @LookupTable + &#039;%&#039;</description>
		<content:encoded><![CDATA[<p>After I followed the instructions and populated the SSIS_META database I hashed together the following script so I can check for dependencies on a particular field before I change it:</p>
<p>DECLARE @LookupColumn varchar(200)<br />
DECLARE @LookupTable varchar(200)<br />
DECLARE @Database varchar(200)<br />
SET @LookupColumn = &#8216;ColumnName&#8217;<br />
SET @LookupTable = &#8216;TableName&#8217;<br />
SET @Database = &#8216;DatabaseName&#8217;</p>
<p>DECLARE @Statement NVarchar(Max)<br />
SET @Statement = &#8216;declare	@dbname	sysname &#8216;<br />
+ &#8216;declare @objid int &#8216;<br />
+ &#8216;declare @sysobj_type char(2) &#8216;<br />
+ &#8217;select @objid = object_id, @sysobj_type = type from &#8216; + @Database + &#8216;.sys.all_objects where name = &#8221;&#8217; + @LookupTable + &#8221;&#8217; &#8216;<br />
+ &#8216;if exists (select * from &#8216; + @Database + &#8216;.sys.all_columns where object_id = @objid) &#8216;<br />
+ &#8216;begin &#8216;<br />
+ &#8216;declare @numtypes nvarchar(80) &#8216;<br />
+ &#8217;select @numtypes = N&#8221;tinyint,smallint,decimal,int,real,money,float,numeric,smallmoney&#8221; &#8216;<br />
+ &#8217;select &#8221;Column_name&#8221; = name, &#8216;<br />
+ &#8216;	&#8221;Type&#8221; = type_name(user_type_id), &#8216;<br />
+ &#8216; &#8221;Length&#8221; = convert(int, max_length), &#8216;<br />
+ &#8216; &#8221;Prec&#8221; = case when charindex(type_name(system_type_id), @numtypes) &gt; 0 then convert(char(5),IsNull(ColumnProperty(object_id, name, &#8221;precision&#8221;),&#8221;0&#8221;)) else &#8221;0&#8221; end, &#8216;<br />
+ &#8216; &#8221;Scale&#8221; = case when charindex(type_name(system_type_id), @numtypes) &gt; 0 then convert(char(5),OdbcScale(system_type_id,scale)) else &#8221;0&#8221; end, &#8216;<br />
+ &#8216; &#8221;Nullable&#8221; = case when is_nullable = 0 then &#8221;false&#8221; else &#8221;true&#8221; end &#8216;<br />
+ &#8216;from &#8216; + @Database + &#8216;.sys.all_columns where object_id = @objid AND [name] = &#8221;&#8217; + @LookupColumn + &#8221;&#8217; &#8216;<br />
+ &#8216;end &#8216;</p>
<p>exec(@Statement)</p>
<p>SELECT		O.ObjectName,<br />
			A.ObjectAttrValue As ObjectDesc,<br />
			Oi.ObjectName,<br />
			Oi.ObjectDesc,<br />
			Oii.ObjectName,<br />
			Oii.ObjectDesc,<br />
			Oiii.ObjectName,<br />
			Oiii.ObjectDesc,<br />
			Oiiii.ObjectName,<br />
			Oiiii.ObjectDesc<br />
FROM		Objects O<br />
			INNER JOIN ObjectAttributes A ON O.ObjectKey = A.ObjectKey<br />
			LEFT OUTER JOIN ObjectDependencies ODi ON ODi.TgtObjectKey = O.ObjectKey<br />
			LEFT OUTER JOIN Objects Oi ON ODi.SrcObjectKey = Oi.ObjectKey<br />
			LEFT OUTER JOIN ObjectDependencies ODii ON ODii.TgtObjectKey = Oi.ObjectKey<br />
			LEFT OUTER JOIN Objects Oii ON ODii.SrcObjectKey = Oii.ObjectKey<br />
			LEFT OUTER JOIN ObjectDependencies ODiii ON ODiii.TgtObjectKey = Oii.ObjectKey<br />
			LEFT OUTER JOIN Objects Oiii ON ODiii.SrcObjectKey = Oiii.ObjectKey<br />
			LEFT OUTER JOIN ObjectDependencies ODiiii ON ODiiii.TgtObjectKey = Oiii.ObjectKey<br />
			LEFT OUTER JOIN Objects Oiiii ON ODiiii.SrcObjectKey = Oiiii.ObjectKey<br />
WHERE		A.ObjectAttrName = &#8216;QueryDefinition&#8217; AND<br />
			A.ObjectAttrValue Like &#8216;%&#8217; + @LookupColumn + &#8216;%&#8217; AND<br />
			A.ObjectAttrValue Like &#8216;%&#8217; + @LookupTable + &#8216;%&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: clement</title>
		<link>http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/comment-page-1/#comment-578</link>
		<dc:creator>clement</dc:creator>
		<pubDate>Mon, 08 Sep 2008 15:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2008/03/28/microsoft-bi-metadata-toolkit/#comment-578</guid>
		<description>Hi,

Thanks for this mirror.
It&#039;s a pity that when you use not native components in a package the DependancyAnalyser will not be able to do it&#039;s job.

Is there another tool more recent ?

a+, =)
-=Clement=-

Configuration :
BIDS 2005</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for this mirror.<br />
It&#8217;s a pity that when you use not native components in a package the DependancyAnalyser will not be able to do it&#8217;s job.</p>
<p>Is there another tool more recent ?</p>
<p>a+, =)<br />
-=Clement=-</p>
<p>Configuration :<br />
BIDS 2005</p>
]]></content:encoded>
	</item>
</channel>
</rss>

