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

Teradata database restart? - response (7) by barani_sachin

Thanks ToddAWalter :-)

View Article


Variable length Columns vs Fixed length - forum topic by m.tahoon

Are there any performance implication using Variable / Fixed lenght Columns. i've passed a URl where it recommend alwasy using Fixed lenght for performacne reason. However,  i would have expected...

View Article


Collect Statistics - forum topic by tclear

Database Version: Teradata 13.10.0609  13.10.06.09A Provider Version: ODBC 14.00.00.04  CREATE TABLE MY_TABLE AS ( SELECT COL1 , COL2 , COL3 FROM DB_TABLE )WITH DATA PRIMARY INDEX (COL1); COLLECT...

View Article

DELETE FROM PPI - VERY SLOW - response (3) by suhailmemon84

Hello Dieter, If we do a full partition delete, does transient journalling happen?  If we run a delete that deletes a subset of a partition or a subset of partitions(eg: table has partition on date...

View Article

Size of table with partial data (active records) - response (5) by TD_Raj

You can create a PROC which can get the information from dbc.columns and depending on datatype should calculate the max row size. Like if it is Integer add 4 bytes ; for timestamp add 10 bytes.

View Article


Variable length Columns vs Fixed length - response (1) by dnoeth

There's four bytes overhead for the first variabe column and two bytes for each additional VarChar. So VarChars are used when the average length of the string is at least two bytes less than the...

View Article

DELETE FROM PPI - VERY SLOW - response (4) by dnoeth

Hi Suhail, #1: full partition DELETE should ru without TJ unless there are Foreign Keys, Triggers, Join/Hash Indexes. #2: Of course there will be TJ because it's not deleting all rows from that...

View Article

Collect Statistics - response (1) by dnoeth

Could you show the output (preferably BTEQ) including the actual error message? This should run. Dieter

View Article


Size of table with partial data (active records) - response (6) by dnoeth

The easiest way to get an average row size for a populated table is always size/count. So just get the size from dbc.TableSizeV and calculate the percentage assigned to those active rows based on...

View Article


help me to group the records - response (5) by dnoeth

Check  http://forums.teradata.com/forum/general/need-help-merging-consecutive-and-overlapping-date-spans  Dieter

View Article

Can we use position function in stored procedure - forum topic by janthony

Hi .. Can we use POSITION function in stored procedure ? It gave error when I try to use this function , probably because Stored Procedure itself contains POSITION keyword !! Actually I wanted to see...

View Article

help me to group the records - response (6) by barani_sachin

Hi Dieter, Thanks for the solution. Sorry for my ignorance and If you dont mind could you please explain the solution provided by you or please point to the appropriate manual. WITH cte(grpcol,pd) AS (...

View Article

help me to group the records - response (7) by dnoeth

You'll find the function in the "Functions & Operators" manual, but it's not really "well documented". Those functions only work for PERIODs and need a WITH to provide the source data, which is...

View Article


Can we use position function in stored procedure - response (1) by dnoeth

Of course you can. Is it part of the SPL code or within a SQL? Could you show what you did so far?  Dieter

View Article

Row limit in 13.0 and higher - forum topic by SHF

What is the total row length maximum in versions 13 and up? Is it still 64k? ThanksForums: Database

View Article


Row limit in 13.0 and higher - response (1) by ulrich

looks like - FTFM (release 14.0) - "Keep in mind that the Teradata Database row size is approximately 64KB, so the spool file for the output must be chunked into sequences that are no larger than 64KB...

View Article

Can we use position function in stored procedure - response (2) by janthony

Dieter , My mistake , there was some issue the way I was using in SQL ( Select POSITION('' in fieldname) into variable from table ) and as part of SPL Code ( IF position('',variable) = 0 THEN ) I...

View Article


TARA BAM 1300: 3: System Detected Error - forum topic by SHF

Our archive failed on the following error yesterday.     Failure ARC0805: Access Module returned error code 34:     Error BAM1300: 3:System detected error, operation aborted  The documentation doesn't...

View Article

Row limit in 13.0 and higher - response (2) by SHF

FTFM? Could you please ellaborate. thanks!

View Article

query on CSUM - forum topic by srinu_nistala

Hi Dieter,  Could you please help me to write a query to get the below desired result.Please find the below sample table data.  Date Name Meaure Cumm. Measure by Name Measure Total Cumm. Measure By...

View Article
Browsing all 14773 articles
Browse latest View live


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