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

Extracting Domain Names from EMAIL_TXT Field - forum topic by freon73

I am new to TD and am attempting to pull the domain names (.com, .net, .ca) from email address.    SELECT COUNT(DISTINCT(email_txt)) FROM sch.table WHERE email_txt  LIKE  ('%us');  An issue I run into...

View Article


Looping in Teradata sql - forum topic by prateek.saxena

Hi, I am a beginner for Teradata. I am trying to convert following SAS code in sql. DO i=1 to 20 BY 1 IF (x>i/y) THEN DO Z It seems there are no loops available in sql. Any help would be...

View Article


Question about using primary keys - forum topic by EswarEswar

Hi, I have the following question. Assume that I have a table T, with: - columns (A, B), together as PRIMARY UNIQUE INDEX - a lot of other columns, e.g. C1..C100.  Table T contains millions of rows,...

View Article

Teradata Express for WIN 32 BIT - response (14) by karthickalan

Rajat, Man, you are water in heat.... finally got the link thanks!

View Article

Which column should i select for Index creation - forum topic by quest

Hi All, I have data in an csv file and I am planning to create an table in Teradata and insert these records. I then need to create an PI after the analyzing the data properties. I somehow need to know...

View Article


Which column should i select for Index creation - response (1) by Adharssh

Hi, The PI of the column is choosen in Teradata for the Data Distribution. We can get the No of AMP's using this hashamp function. SEL HASHAMP()+1 -- This will give the No of Amps present in the TD...

View Article

Which column should i select for Index creation - response (2) by Qaisar...

The below query will give you some stats about the data distribution as how many rows will be landing on different amps... Execute the query with different column list, you surely will be able to...

View Article

volatile table as select..with data - not loading data - response (21) by...

We can only make some guess without looking at the actual DDLs.... Share the tables DDLs and people here will definitely help you with both of your queries!

View Article


Combine Multiple Select Statements - response (11) by Qaisar Aftab Kiani

Replace the comma with dot in the first line.... t1,cnt should be t1.cnt 

View Article


TDExpress Database Connection Problem - forum topic by ericha1981

Hi, I am running my sample database on VMWare. I am following installation guide here:http://developer.teradata.com/database/articles/teradata-express-14-0-for-vmware-user-guide And part where I have...

View Article

MONITORQUERYBAND Open API Issue - forum topic by Cvinodh

Hi, I am using the SYSLIB.MONITORQUERYBAND Open API in my application. the API takes three parameters,  HostId,SessionNo,RunVProcNo The CLIv2 counterpart of this API has the option of passing null/0...

View Article

volatile table as select..with data - not loading data - response (22) by...

Thanks for everyone help. Here is the Functional Code for Update Query but I still need some Logic Help I am going to put here hoping someone have an guide me in a right direction. I do not have access...

View Article

volatile table as select..with data - not loading data - response (23) by...

You got a working piece of code... What kind of help you are looking for? Sorry no magic wand!

View Article


volatile table as select..with data - not loading data - response (24) by...

Thanks Qaisar for the vote of confidence. 

View Article

Propagate row data until next date is encountered - forum topic by Harry...

We don't have the ability to create stored procedures here so looking for an SQL solution to the following.  Given the following data, how can I propagate the noted rows for the date values until the...

View Article


Propagate row data until next date is encountered - response (2) by Qaisar...

The below post will give you some idea as how to start with...http://forums.teradata.com/forum/database/handling-missing-dates

View Article

Propagate row data until next date is encountered - response (3) by dnoeth

Hi Harry, when you're on TD13.10 you can use EXPAND ON: SELECT name, BEGIN(pd2) AS newdate, amt FROM ( SELECT name, datecol, amt, PERIOD(datecol, COALESCE(MIN(datecol) OVER (PARTITION BY name ORDER BY...

View Article


Extracting Domain Names from EMAIL_TXT Field - response (1) by dnoeth

You might try: trim(leading '.' from substring(email_address from char_length(x) -2))  Dieter

View Article

Looping in Teradata sql - response (1) by dnoeth

You need to create a Stored Procedure to be able to use loops, of course most DBA's don't like end users to create SPs. What are you trying to achieve? Maybe it's possible in plan SQL.  Dieter

View Article

Teradata Training Center in hyderabad - forum topic by svaiyabu

Any teradata training centers in BangaloreTags: Teradata training inquiryForums: Database

View Article
Browsing all 14773 articles
Browse latest View live


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