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

Help with SQL - response (1) by WAQ

Its always good to provide the DDL's and DML's in order to get the resolution quickly.

View Article


to_char function in stored procedure - response (2) by DS

I managed using trunc as below sel (.....,trunc(<table.date_column>,'RM'), ........ )  Anyways thanks a lot!

View Article


Reverse string search (right to left)? - response (11) by teradatauser2

Hi Diether, I need to find 4 char from the right of a column. I tried substring(col from char_length(col) for  - 4). But this gives me an error. I think we can't use -4. This is not supported. What is...

View Article

Help with SQL - response (2) by td_admirer

Hello, Good Morning!! Thank you very much for looking into this. Here is the DDL/DML . Kindly let me know if you need any further info. CREATE volatile TABLE test  ,FALLBACK ,       NO BEFORE JOURNAL,...

View Article

Reverse string search (right to left)? - response (12) by ulrich

select cast((current_date (format 'DD-MM-YYYY'))as char(10)) as txt, substring(txt from characters(txt) - 3 for 4);

View Article


Teradata Studio - USEXVIEWS - topic by vincebernard

After the adding the USEXVIEWS options to Teradata Studio connection, my test user is limited in the databases that are visible, as I would expect. However, when I click to expand the user, I see a...

View Article

Convert Date and time to GMT(date/Time) - response (1) by CarlosAL

I'm not sure about your data, but assuming you have the time as TIME WITH TIMEZONE you can build a timestamp with time zone and do something like:   SELECT MY_TIMESTAMP_WITH_TIME_ZONE,...

View Article

Reverse string search (right to left)? - response (13) by teradatauser2

Hi Ulrich, Thanks  ! This logic worked.. I used : substring ( l_comment  from ( character_length(l_comment) -4 ) for 5 )

View Article


Help with SQL - response (3) by ulrich

I guess rule 1 is not correct as sel COL1,dt,col3,col4 from vt_test group by 1,3,4,2 having count(*) > 1; gives null rows. -> all rows are first occurance... So try to explain it in different...

View Article


Help with SQL - response (4) by td_admirer

Hi Ulrich, For a combination of col1,dt,col4 the record with col3 value "2" is the first (which is record# 1) for dt 9/27. For dt 10/13, record # 5 is the first. In other words, these are the records...

View Article

Help with SQL - response (5) by dnoeth

Based on your narrative: SELECT test.*, CASE WHEN ROW_NUMBER() OVER (PARTITION BY col1,dt,col4 ORDER BY col3) = 1 THEN (dt-MIN(dt) OVER (PARTITION BY col1 ORDER BY dt,col4,col3 ROWS BETWEEN 1 PRECEDING...

View Article

Help with SQL - response (6) by td_admirer

Thank you very much Dieter. This is exactly what I've wanted. I am running out of spool when when run on a table with a couple million records. Can you think of something that can give me a better...

View Article

Transposing Data - response (13) by Andrew S

Thanks for the SAS code.

View Article


How to Call Teradata Stored Procedure - response (4) by monishapm

  REPLACE PROCEDURE a.LOAD_TB_BI_TABLE ( IN P_JOB VARCHAR(10000), OUT P_RETURN_MSG1 VARCHAR(256), OUT P_STATUS1 INTEGER ) P1:BEGIN DECLARE v_SQL_STMT VARCHAR(10000) ; DECLARE FLAG VARCHAR(10000) ;...

View Article

Multi load through java application. - topic by Harsha1187

Hi,   I am trying to multi load a csv table. Can you please share a java code for the same. I dont want to use a script for this.   Thanks

View Article


Converting Existing Table Date Counter from DAYS to WEEKDAYS - topic by...

Hi there! this is my first post so hopefully I get it right. Firsty this is work related so I cannot upload any dataset as it pertains to sensitive material. The case is that in the data base there is...

View Article

tbuild - message catalog related environment variable for AIX - response (3)...

hi Vijay, Can I check from where you downloaded TTUV13 in AIX 64 bit ? As I could not see its free version available in Downloads.

View Article


How to know AMPs and Nodes list from teradata database from working...

I would use MonitorPhysicalConfig and MonitorVirtualConfig of PMPC UDFs.

View Article

Urgent Requirement : Need Teradata DBA @ San Jose CA for 6 months Duration -...

  Hi, Our client in San Jose California is looking for an Teradata DBA for a 6 months+  contract oppurtunity with possibility of extension to 12 months. Required Qualifications: read more

View Article

Need Teradata Developer @ San Jose California for 6 months duration - topic...

  Hi, Our client in San Jose California is looking for an Teradata Developer for a 6 months+  contract oppurtunity with possibility of extension to 12 months. Required Qualifications: read more

View Article
Browsing all 27759 articles
Browse latest View live