dbTalk Databases Forums  

Newbie Teradata question

comp.databases comp.databases


Discuss Newbie Teradata question in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Strangiato
 
Posts: n/a

Default Newbie Teradata question - 12-02-2003 , 03:55 AM






I'm looking at some Teradata SQL (without manuals).

All tables in the SQL are qualified with a prefix :

prefix.tablename

In Teradata, does this prefix refer to a database?

Thanks in anticipation :-)



Reply With Quote
  #2  
Old   
Paul
 
Posts: n/a

Default Re: Newbie Teradata question - 12-02-2003 , 04:34 PM







nochance (AT) youmustbejoking (DOT) com says...

Quote:
I'm looking at some Teradata SQL (without manuals).
All tables in the SQL are qualified with a prefix :

prefix.tablename

Are you sure that what you're looking at isn't


tablename.fieldname?


Paul...

--

plinehan x__AT__x yahoo x__DOT__x com

C++ Builder 5 SP1, Interbase 6.0.1.6 IBX 5.04 W2K Pro

Please do not top-post.


Reply With Quote
  #3  
Old   
Strangiato
 
Posts: n/a

Default Re: Newbie Teradata question - 12-02-2003 , 04:43 PM



Yes, definitely.

"Paul" <paul (AT) not (DOT) a.chance.ie> wrote

Quote:
nochance (AT) youmustbejoking (DOT) com says...

I'm looking at some Teradata SQL (without manuals).
All tables in the SQL are qualified with a prefix :

prefix.tablename


Are you sure that what you're looking at isn't


tablename.fieldname?


Paul...

--

plinehan x__AT__x yahoo x__DOT__x com

C++ Builder 5 SP1, Interbase 6.0.1.6 IBX 5.04 W2K Pro

Please do not top-post.



Reply With Quote
  #4  
Old   
Paul
 
Posts: n/a

Default Re: Newbie Teradata question - 12-02-2003 , 05:39 PM




nochance (AT) youmustbejoking (DOT) com says...

Quote:
tablename.fieldname?

Yes, definitely.

OK then, you're basically asking a company specific question - why not
go to their site and look at their user groups - maybe somebody there
can help you out?


Paul...


--

plinehan x__AT__x yahoo x__DOT__x com

C++ Builder 5 SP1, Interbase 6.0.1.6 IBX 5.04 W2K Pro

Please do not top-post.


Reply With Quote
  #5  
Old   
Ed prochak
 
Posts: n/a

Default Re: Newbie Teradata question - 12-04-2003 , 12:30 PM



Paul <paul (AT) not (DOT) a.chance.ie> wrote

Quote:
nochance (AT) youmustbejoking (DOT) com says...

I'm looking at some Teradata SQL (without manuals).
All tables in the SQL are qualified with a prefix :

prefix.tablename


Are you sure that what you're looking at isn't


tablename.fieldname?


Paul...
in a SQL context, that "prefix" is likely the schema name. Objects may
be qualified by the ID of it's containing object, so you can even have
more than one period in a name, for example referring to column
LOGIN_NAME in table ACCOUNTS in the SYSTEM schema looks like this:
SYSTEM.ACCOUNTS.LOGIN_NAME

So it's not necessarily company specific.

HTH,
Ed


Reply With Quote
  #6  
Old   
Strangiato
 
Posts: n/a

Default Re: Newbie Teradata question - 12-06-2003 , 01:41 PM



Many thanks for all your help and tips guys

"Strangiato" <nochance (AT) youmustbejoking (DOT) com> wrote

Quote:
I'm looking at some Teradata SQL (without manuals).

All tables in the SQL are qualified with a prefix :

prefix.tablename

In Teradata, does this prefix refer to a database?

Thanks in anticipation :-)





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.