Quantcast
Channel: Teradata Forums - Database
Browsing all 14773 articles
Browse latest View live

Transposed multiple rows into one column and one row - response (7) by...

I hope TD can support upto 64000 characters to store in a column. in such a case if we implement recursive process then there should be rework in future since we do not know the exact no of rows as...

View Article


Variable results from an sql statement - response (2) by Fred

Interesting workaround. The more general answer is to use a cursor (even if the SELECT returns only one row): SET sql_stmt = 'SELECT COUNT(*) FROM DM_JNJCHF_TEST WHERE PT_ID = ?'  ; DECLARE C1 CURSOR...

View Article


teradata error 3523 - response (2) by Smarter_teradata

Hi ks,         The error was occured during a procedure "call", let me explain you the same : i have a procedure collect_stats for collecting stats, call PROC.COLLECT_STATS('dbname', 'table', 100);...

View Article

How to format a decimal column in Fast Export - response (12) by chaitanya09

Thanks Rajeev

View Article

Skewed data handling - topic by Vga

How do I handle the skewed data, if I have to have this data with less AMP Cpu time & Less Skew? Query looks like: SELECT PT.COL_1, PR.COL_2 FROM TMP_TEST_NEW PT    , TABLE2 PR WHERE PT.KN_ID =...

View Article


Skewed data handling - response (1) by VandeBergB

Hey GV, Can you post the ddl for the two tables?

View Article

Fast Load - Insert Select Statement - topic by sunni1221

  read more

View Article

Teradata Express Edition download link - topic by NixPhix

Im newbie to teradata im looking for express edition for Windows but i couldnt find download link at all  please someone provide link. I cant use VMware player as im gonna work on my laptop.   regards...

View Article


bteq script and password policy - response (6) by shreya_singh

hi ,  I am also interested on how to store the password in Encypted form in the .LOGON file which I would be using for connectivity to BTEQ.  

View Article


Clone database: prod -> dev, test, etc... (Teradata 13.10) - topic by Samat...

  Hello! What better to read the documentation for the migration from one to other Teradata (both versions 13.10)? Migration structures and objects - no problem (arcmain). It is not clear how best to...

View Article

Calculate AMPs used by a query - response (2) by Smarak0604

Thanks Dieter.

View Article

Variable results from an sql statement - response (3) by spidermonk

thanks Fred

View Article

Transposed multiple rows into one column and one row - response (8) by KS42982

This is how I resolved my issue, that might help. WITH RECURSIVE base (c_rnk, c_list) AS ( SELECT rnk c_rnk, CAST(TRIM(columnname) AS VARCHAR(5000)) c_list FROM MYDB.MYTB WHERE rnk = 1 UNION ALL SELECT...

View Article


Transposed multiple rows into one column and one row - response (9) by KS42982

One thing I forgot to mention above. In my query, field called 'rnk' of MYDB.MYTB is the ranked column by columname values. It happens before the recursive query starts. Like below - INSERT INTO...

View Article

teradata error 3523 - response (3) by KS42982

The only reason I think of is, the user id which is calling this SP doesn't have proper rights to the database name you pass in your SP. Please ask your DBA team to provide that.

View Article


How data is physically stored in the Disks by Teradata? - topic by barani_sachin

Hi,     I am curious to know how and where the table is actully stored by the Teradata in the Filesystem.   For Oracle i read that this is how it stores the date physically...

View Article

How data is physically stored in the Disks by Teradata? - response (2) by...

Actually it is data (For Oracle i read that this is how it stores the data physically ) And the link is http://docs.oracle.com/cd/B19306_01/server.102/b14220/logical.htm  

View Article


bteq script and password policy - response (7) by Harpreet Singh

Hi Shreya, Tdwallet utlity is one option where you can save it encrypted and call into bteq. Thanks

View Article

Skewed data handling - response (3) by Vga

Here are the DDLs: CREATE SET VOLATILE TABLE TMP_TEST_NEW ,NO FALLBACK ,      CHECKSUM = DEFAULT,      DEFAULT MERGEBLOCKRATIO,      NO LOG      (       OR_DT DATE FORMAT 'YY/MM/DD',       WT_DT DATE...

View Article

How to install external UDF libraries on Hot Standby Node (HSN)? - response...

So we have learned there is an internal dbscontrol flag to copy udflib files to the HSN node whenever a UDF is (re)compiled. This is useful in our 1+1 configuration (1 working node and 1 HSN). This is...

View Article
Browsing all 14773 articles
Browse latest View live


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