Java exception | locked (a com.teradata.jdbc.jdk6.JDK6_SQL_PreparedStatement)...
You mentioned an error. What error are you getting? The stack trace that you posted is a stack trace for a running thread. It is not an exception stack trace.
View Articlesql help: valid indicator for records that are >= 6 months - response (3) by...
Dieter, Thank you very much for your help. I tried the logic and it works great. Quisar Aftab, thanks for looking into this i will work on that too and see how it works. -Feroz.
View ArticleSQL Help : Left join - topic by sunny.j
Hi im writing a sql query with Left join : sel a.* ,b.ordr_date from tbl_cust_info a left join tbl_ordr_date b on a.customer=b.customer and ( b.ordr_date between a.starting_date and...
View ArticleSwitching from 12 to 13 Batch file will not save Excel file correctly - topic...
I have a batch file that will launch Teradata run query and save to Excell file, our systems was upgraded to WIN 7 and Teradata 13 the saved Excel file only has one column will all of the query fields....
View ArticleSearching for Documentation - topic by dbeebe
Hello! Forgive me if this isn't the right forum, but I'm reviewing Teradata SMWeb documentation and it refers to a document "Teradata SMWeb Configuration Guide" (B035-5351) that doesn't seem to exist...
View ArticleTPT API and TLOGVIEW - response (5) by jebeckford
Thanks for your feedback. I will certainly do what I can to follow up with the ETL tool vendor. I just think it's easy for them to claim that they have no better option. We will get there...
View ArticleSQL Help : Left join - response (2) by Qaisar Aftab Kiani
Queries aborting due to insufficient spool is because the quantity of data that is brought in spool for joining between the two tables is more than the allocated spool space for the user. Mostly this...
View ArticleFastload issue - topic by veskojl
I'm trying to load a table dump exported with fastexport, but i get the following error: The length of: PREFIX in row: 1 was greater than defined. Defined: 3, Received: 3072 Here are my fastexport and...
View ArticleSharing table or view in multiple ODBC Connections - response (8) by fmartinus
Hi Dieter, Suresh, Because the database admin somehow manage to have two tables in separate system, which is annoying. I thought if I spool the output of one server to a volatile table, then...
View Articleconvert varchar to timestamp - response (7) by KrishnaKulkarni
Hi, I am using TPT to load my table. I am facing an error in converting varchar to TimeStamp(0). The segment code which is giving the error is : STEP LOAD_DATA_INTO_TABLE ( APPLY ('INSERT INTO...
View Articlevarchar to timestamp conversion - topic by sunny.j
Hi i have a column with date and time in varchar , im trying to convert it to timestamp . sel cast(''12/25/1994 11:46:29PM' as timestamp(0) format 'DD-MM-YYYYhh:mi:sst' ) But it showing me an...
View Articlevarchar to timestamp conversion - response (1) by dnoeth
In your example day and month are exchanged and you forgot the blank. This should work: sel cast('12/25/1994 11:46:29PM' as timestamp(0) format 'MM-DD-YYYYBhh:mi:sst' )Dieter
View Articlevarchar to timestamp conversion - response (2) by sunny.j
i want to extract time from the data and time attribute in the format of 'HH:MI:SS' , but Teradata showing me invalid timestamp
View ArticleSharing table or view in multiple ODBC Connections - response (9) by dnoeth
Yep, you're right, Volatile and Globale Temp tables are only usable within a single session. Dieter
View Articlevarchar to timestamp conversion - response (3) by dnoeth
sel cast(cast('12/25/1994 11:46:29PM' as timestamp(0) format 'MM-DD-YYYYBhh:mi:sst' ) as time(0))Dieter
View Articlevarchar to timestamp conversion - response (4) by sunny.j
thanks its working . if my timestamp will be in the format '20-SEP-12 02.27.45.145000 PM' then the given query is failing with error message invalid time .
View Articlevarchar to timestamp conversion - response (7) by dnoeth
Of course this is failing, it's a totally different format. In each new post there's a different scenario. What do you expect? Teradata automagically casting any kind of timestamp string? Me reading...
View Article