Skip to main content

Questions tagged [teradata]

Teradata is a parallel 'shared-nothing' database management system. It is primarily used for data warehouse applications with large data volumes.

0 votes
0 answers
19 views

I'm working on a UDF solution for the Teradata Database. My UDFs are written in C and compiled into a .so (shared object) library, which I reference during CREATE FUNCTION. I'm running these UDFs in ...
RK_geek's user avatar
2 votes
0 answers
48 views

In teradata sql I get an error when I use sel * from table where sk = null However if I include this in a stored procedure and pass a null value in the parameter I don't. replace procedure(In name ...
iosdev's user avatar
  • 21
0 votes
1 answer
745 views

Seen below is the code of how I would create a volatile table when I was coding in Teradata. I liked it because it would be the same structure and format as a normal query, but it would make a ...
agentneru's user avatar
-2 votes
2 answers
400 views

Teradata Related question… I have a table containing new starters along with a start date, every 90 days from the start date I need to conduct a review with the starter How do I identify the next 90 ...
Spindo82's user avatar
0 votes
1 answer
615 views

Currently I have seen an ETL process where a user created tables that are used to store an intermediate result and then drop the tables at the end of the ETL process. At first glance it seemed to me ...
Enrique Benito Casado's user avatar
0 votes
0 answers
251 views

We have a large table (4 Terabytes) in Teradata. For compliance reasons, we need to keep 13 months worth of data. However, for querying, we may only need one month worth of data (300GB). I have ...
Fawad Shah's user avatar
0 votes
1 answer
3k views

I have columns AssignedTo, InternalID, Task Function, Min(STARTDATE), Max(ENDDATE) AssignedTo InternalID Task Function STARTDATE ENDDATE Joe 67077 Write the letter 08/24/2017 05:30 AM NULL Joe 16354 ...
Tekno Joe's user avatar
3 votes
2 answers
429 views

Does it matters which field I specify first in the index? would CREATE SET TABLE my_table ( validity_date DATE , branch_id SMALLINT , account_class_id BYTEINT , ...
Eliy Arlev's user avatar
0 votes
1 answer
122 views

I have two tables, call them T1 and T2 each with 4 columns A, B, C, Quantity. I want to do an outer join. However, some ABC combinations in T1 do not match with T2, and vice versa. My goal is to join ...
CS Student's user avatar
-1 votes
1 answer
1k views

In Oracle we can measure text similarity with Jaro-Winkler like the following: SELECT UTL_MATCH.JARO_WINKLER_SIMILARITY('STACKEXCHANGE', 'STAMPEXCHANGE') MYSTRING FROM DUAL; --98 And it turns out ...
Rino's user avatar
  • 229
1 vote
1 answer
755 views

I am recently got stuck upon a simple problem in Teradata: how to get random number between a pair of number coming from field/column? The function RANDOM( lower_bound , upper_bound ) apparently is ...
Rino's user avatar
  • 229
1 vote
1 answer
2k views

How to get all CREATE VIEW statements with a single query? This Query is used to get the definition of a single view: show view db.tablename;
Gowtham's user avatar
  • 11
0 votes
1 answer
203 views

In Teradata 17, I am trying to call their own hash_md5 external function from my own SQL stored procedure: replace procedure p() sql security creator begin declare l_hash varchar(32); set l_hash = ...
Gandon Jank's user avatar
1 vote
2 answers
3k views

consider a table named "TABLE-A" with below data. ID hcc D_CD 1 null 1 1 5 1 2 null 2 2 10 2 2 20 3 3 null 3 I need to select ID,hcc fields from ...
Velu's user avatar
  • 127
-2 votes
1 answer
1k views

consider TABLE1 and has the below records. ID MBR_ID STRT_DT END_DT ID_TYPE 1 001 01-01-2019 31-12-2019 TYPE_1 2 002 02-05-2019 31-07-2020 TYPE_1 3 002 ...
Velu's user avatar
  • 127

15 30 50 per page
1
2 3 4 5 6