<?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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: Building a Teradata Object Catalog</title>
	<atom:link href="http://robpaller.com/archive/2009/12/building-a-teradata-object-catalog/feed/" rel="self" type="application/rss+xml" />
	<link>http://robpaller.com/archive/2009/12/building-a-teradata-object-catalog/</link>
	<description>Databases, Data, and Geek Tendencies</description>
	<lastBuildDate>Thu, 17 Feb 2011 13:57:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rob Paller</title>
		<link>http://robpaller.com/archive/2009/12/building-a-teradata-object-catalog/comment-page-1/#comment-1099</link>
		<dc:creator>Rob Paller</dc:creator>
		<pubDate>Sat, 08 Jan 2011 04:15:49 +0000</pubDate>
		<guid isPermaLink="false">http://robpaller.com/?p=161#comment-1099</guid>
		<description>Hello Prashant,

If I understand correctly, you are trying to take a view definition and obtain the column definitions and the base table from which it was defined? The column definitions from the view definition are easy. You can find them in DBC.Columns under where the TableName = &lt;View Name&gt; and DatabaseName = &lt;View Database Name&gt;. However, making taking the next step to get back to the source table is almost impossible. You could do some experiments of comparing what DBC.Columns (or DBC.TVFields) shows for the view column and base table. From there you might be able to draw some conclusions as to what your being asked to deliver.

Let me know if I misunderstood your question.</description>
		<content:encoded><![CDATA[<p>Hello Prashant,</p>
<p>If I understand correctly, you are trying to take a view definition and obtain the column definitions and the base table from which it was defined? The column definitions from the view definition are easy. You can find them in DBC.Columns under where the TableName = <view Name> and DatabaseName = </view><view Database Name>. However, making taking the next step to get back to the source table is almost impossible. You could do some experiments of comparing what DBC.Columns (or DBC.TVFields) shows for the view column and base table. From there you might be able to draw some conclusions as to what your being asked to deliver.</p>
<p>Let me know if I misunderstood your question.</view></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant Sharma</title>
		<link>http://robpaller.com/archive/2009/12/building-a-teradata-object-catalog/comment-page-1/#comment-1098</link>
		<dc:creator>Prashant Sharma</dc:creator>
		<pubDate>Wed, 22 Dec 2010 18:06:59 +0000</pubDate>
		<guid isPermaLink="false">http://robpaller.com/?p=161#comment-1098</guid>
		<description>Hi Rob. I hae no words to describe my ecstacy when i saw ur
website. I am a budding Teradata developer, and am working as a
Database Analyst at a Indian company. Currently, i am struggling to
develop a Field Catalog for a insurance organisation, who is our
client. Now, what they have given me is a schema, which has some
views( that are created from base tables which reside in
theproduction db). Now they have asked me to create a catalog,
which should aid analysts to make business models. This catalaog,
according to them, should contain definitions of various variables
from the schema. Now, i want to ask you, how shud i begin doing it.
First of al, i want to write a macro, which can use dbc tables, to
tell me what are the base tables for the views in that particular
schema. can it be done?( i want to kindda automate it, since it
will be used on other schemas as well, and it should be noted here,
that each schema holds around 60 views.) Thanks. I hope yo will
reply and help me clear my doubts. And please don&#039;t mind if i keep
coming up wid bother-ful questions(wow, if for nothing, i devised a
new slang!) Bye and take care. Prashant</description>
		<content:encoded><![CDATA[<p>Hi Rob. I hae no words to describe my ecstacy when i saw ur<br />
website. I am a budding Teradata developer, and am working as a<br />
Database Analyst at a Indian company. Currently, i am struggling to<br />
develop a Field Catalog for a insurance organisation, who is our<br />
client. Now, what they have given me is a schema, which has some<br />
views( that are created from base tables which reside in<br />
theproduction db). Now they have asked me to create a catalog,<br />
which should aid analysts to make business models. This catalaog,<br />
according to them, should contain definitions of various variables<br />
from the schema. Now, i want to ask you, how shud i begin doing it.<br />
First of al, i want to write a macro, which can use dbc tables, to<br />
tell me what are the base tables for the views in that particular<br />
schema. can it be done?( i want to kindda automate it, since it<br />
will be used on other schemas as well, and it should be noted here,<br />
that each schema holds around 60 views.) Thanks. I hope yo will<br />
reply and help me clear my doubts. And please don&#8217;t mind if i keep<br />
coming up wid bother-ful questions(wow, if for nothing, i devised a<br />
new slang!) Bye and take care. Prashant</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Paller</title>
		<link>http://robpaller.com/archive/2009/12/building-a-teradata-object-catalog/comment-page-1/#comment-1029</link>
		<dc:creator>Rob Paller</dc:creator>
		<pubDate>Fri, 25 Jun 2010 02:17:44 +0000</pubDate>
		<guid isPermaLink="false">http://robpaller.com/?p=161#comment-1029</guid>
		<description>Stephanie,

I think I followed up on a very similar question in your other comment.

Rob</description>
		<content:encoded><![CDATA[<p>Stephanie,</p>
<p>I think I followed up on a very similar question in your other comment.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Served from: robpaller.com @ 2012-05-19 17:51:15 by W3 Total Cache -->
