Quantcast
Channel: Teradata Forums - All forums
Browsing all 27759 articles
Browse latest View live

Help required on the query using analytic function - response (4) by dnoeth

Hi Bala, #1: recursion is a parallel operation, so it's much faster than a cursor which is processed serially #2: There's no built-in recursion level limit and there's no option like MAXRECURSION. You...

View Article


Combining Multiple Insert Statements with Calculations Fields - response (4)...

Hi Mahesh, you have to split the collects into multiple scripts and then use multiple BTEQs to run them. Or you have a look at the approach i described in  http://developer.teradata.com/node/16550 Dieter

View Article


Logging on to Utilities with no TDPID - response (5) by toadrw

  Thank you Dieter.  That clears A LOT up!  I still is a little magical. :p I do have one more problem with logging in... It sounds like I still need an entry in the hosts file for dbccop1 then.  Is...

View Article

How to insert recursive query answerset to another table - response (2) by...

Thanks Dieter.

View Article

Help on Query Tunning - response (4) by dnoeth

Could you post the explain and ifo about the actual number of rows? #1: as Rajeev mentioned "ECD.Clndr_Dt" can be simply replaced by "DATE '2012-09-21' AS CIndr_Dt" and then remove all the joins to the...

View Article


Logging on to Utilities with no TDPID - response (6) by dnoeth

Hi Todd, when BTEQ is used in interactive mode you *never* add the password to the ".logon [tdpid/]user", it's always entered after the pw prompt. ".LOGON user,password" is only for batch mode or .RUN...

View Article

Dropping Primary Composite Key - response (3) by VandeBergB

Primary Keys and USI's are different animals if you try to run the DDL below code, it fails with "More than one primary index of primary key specified".  Teradata will create a Unique Primary Index on...

View Article

Dropping Primary Composite Key - response (4) by dnoeth

Of course you can create a PI and a PK on the same table, your example only fails because you try to create two PKs. CREATE TABLE pk_test (col1 INTEGER NOT NULL ,col2 INTEGER NOT NULL ,col3 INTEGER NOT...

View Article


How does SQL Assistant gather view datatypes? - topic by TC185027

Hello all,   We are trying to create metadata for our business users by gathering the data types for each column in a view.   I understand that there is the type function, but out of curiosity, does...

View Article


How does SQL Assistant gather view datatypes? - topic by TC185027

Hello all,   We are trying to create metadata for our business users by gathering the data types for each column in a view.   I understand that there is the type function, but out of curiosity, does...

View Article

How to validate whether my PI selection is right? - topic by quest

Friends, I have defined a PI for an table. Now I need to validate whether the columns selected for PI are the right candidate. What are the ways to go for it? How can I showcase whether all the AMP's...

View Article

Logging on to Utilities with no TDPID - response (7) by toadrw

Okay.  Thank you.  That makes sense again as it exposed the password.   I've just been used to using a batch script "bteq < scriptname" so I guessed that was the way to do it.  Apparently the...

View Article

Error: Error table already exists - Eventhough it was not present in the...

Hi, Which version of MLOAD are you using? And, if possible, can you share your MLOAD script? Thanks! --Ivy.

View Article


Clarification doubt on SPOOL SPACE - response (2) by Teraone

Thanks :)  

View Article

How does SQL Assistant gather view datatypes? - topic by TC185027

Hello all,   We are trying to create metadata for our business users by gathering the data types for each column in a view.   I understand that there is the type function, but out of curiosity, does...

View Article


volatile tables with ODBC and Stata - topic by dvmaster1

Is there a way to tweak ODBC/Stata to work with volatile tables in Linux? Stata (a statistics package) allows SQL statements to be issued directly to ODBC data source. I believe SAS has similar...

View Article

Can't compile UDF's on Windows - response (3) by tdgi

Just in case anyone's wondering, I was able to fix this by reinstalling Visual Studio 2005.  I apparently outsmarted myself by attempting to keep the VS install small by not including "unnecessary"...

View Article


unable to run query in Teradata Studio Express while being used in VMware...

Facing the same issue, any guidence please?

View Article

How to validate whether my PI selection is right? - response (2) by Wasif.Kabeer

  You may check the skew factor of the PI column by using the below query. Minimum the skew factor, better is the distribution.     /* Get Skew factor of a single column */ SEL (100 -...

View Article

How to validate whether my PI selection is right? - response (3) by VandeBergB

The thing about the Primary Index is that ISN'T all about data distribution.  If you select a PI that perfectly distributes the data across the AMPS, but is never used as a Join column or in a query...

View Article
Browsing all 27759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>