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

JDBC connection through JAVA throwing an error, "Could not create connection;...

Hi everyone, We're trying to connect to our teradata database through Java using TMODE=ANSI, and it's throwing the following error: org.jboss.resource.JBossResourceException: Could not create...

View Article


Timestamp format on teradata retrieval - response (8) by kashifkiani

From 12/8/2010 8:00:40 PM  8/30/2011 5:10:35 PM  To 12/08/2010 20:00:40 08/30/2011 17:10:35   Suppose datetime column is start_date Query   CAST( CAST( CAST( CASE WHEN INDEX(START_DATE,' ')=0 THEN NULL...

View Article


FastLoad Error table being dropped - topic by JazzKhan

Hi Guys, I am using fastload within SAS DIS (ETL) and my 99% rows are being rejected to an error table. However, here is the issue. When my job starts Two error tables are created err1 and err2 in...

View Article

to_char function in stored procedure - topic by sateesh240

Hi All,   The below query works fine when i ran it in sql assistant.   sel cast(to_char(trim(extract( month from <table.date_column>)),'09')||'01'||to_char(trim(extract( year from...

View Article

Collect Stats - How Performance gets improved? - response (15) by ratnamch

  hi ,   what is demografics ? how many types of demografics? how it will work in teradata?   could you please explain brief in step by step?   thanks ratnam

View Article


Secondary Index usage - response (3) by siddumangam.3

QUERY ON SECONDARY INDEX:   Hi Friends , I was new to this teradata and its related concepts . clear my doubts for the following things ... 1.Why we use secondary index ? How S.I effects the...

View Article

JDBC connection through JAVA throwing an error, "Could not create connection;...

Try to replace , for / in the connection string: jdbc:teradata://XXXXXX.XXX.XX.com,tmode=ANSI to  jdbc:teradata://XXXXXX.XXX.XX.com/tmode=ANSI

View Article

SQLA 13.10.0.04 - Memory Issue - topic by TDUser2000

Hello All, The SQLA 13.10.0.04 is throwing the following error at random times and it is really very painful as it needs the whole SQLA to be restarted(closed and opened a new). It is really very...

View Article


Convert Date and time to GMT(date/Time) - topic by Kane2586

Hello , I need help on sql where i can convert Date and Time (including day light savings) to GMT . In my table, I have different City’s like Dallas ,Los Angles, New York , Tokyo etc. for this city’s...

View Article


Viewpoint data collector - Lock Info error - response (3) by Mcdonald_t

Using Viewpoint, I set the LockLogger to TRUE but after a few minutes it is automatically set back to FALSE. When it was TRUE I did a tpareset but when I check the status it is set back to FALSE. Any...

View Article

Dynamic Selection based on Date Comparision - topic by xzbitz

Hallo All I have a requirement that requires to join 2 tables and then select a key value for the record that doesn't have one. To be clear - pls go through the example provided below, Here in MASTER...

View Article

to_char function in stored procedure - response (1) by Fred

The to_char function is an ODBC extension and is being translated by the client driver. Something like this should work: cast(cast(cast(extract( month from table.date_column) as format '99') as...

View Article

FastLoad Error table being dropped - response (1) by Fred

By default, the err1 table will be dropped if it is empty. And the only reason for rows in FastLoad err2 is that the target table is defined with a unique Primary Index but there are duplicate PI...

View Article


Multiload Concatenation Field Query - response (1) by Fred

In the first case, three parameters are sent to Teradata and then the database does the concatenation. In the second case, the client on which MultiLoad is running does the concatenation and then sends...

View Article

Help with SQL - topic by td_admirer

Hello Experts, Hope you are doing well.   I need some help determining the logic for the below scenario. The sample data is as follows read more

View Article


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
Browsing all 14773 articles
Browse latest View live


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