#DateForumTypeThreadPost
62503 Oct 2013 @ 05:56 PDTToolsReplyConverting Binary extracted file using TPT to ASCII?you are right ;-) try google and search binary to ascii linux  I saw some possible solutions there. How big was the difference (binary compared to ascii) on your system?
62403 Oct 2013 @ 04:13 PDTDatabaseReplyCASE statement in SQLtry to avoid implicit conversions.    If you compare with a char constant on the righ side make sure the left side is also char. something like coalesce(trim(cast(id as varchar(11))),&...
62323 Sep 2013 @ 11:53 PDTGeneralReplyhow to select multiple variables with same prefixno, it's not possible to specify something like select v_1--v_100 you can generate the columnlist with SQL and copy paste the needed columns into your statement something like select case ...
62220 Sep 2013 @ 07:35 PDTDatabaseReplyPlease help me on BT/ET and ROLLBACK/ABORTHm, what you do is 1. Begin a transaction 2. Ins/select - at the end of the Ins/Select the transaction is still open. 3. End the transaction (Insert / Select is commited) 4. Rollback - What do...
62120 Aug 2013 @ 11:26 PDTDatabaseReplyLike Operator in TeradataHi, databasename has length 30 so like'H%DB' will only work for databasenames which are actually 30 characters long. an so use trim(databasename) like 'H%DB' Ulrich
62020 Aug 2013 @ 03:59 PDTAsterReplyAster_function load_from_teradataMost likely to be a network issue where is can be very ugly to track this down as the issue can be on every layer (VM, host, firewall...).  Are you sure that your Aster as access to your TD b...
61919 Aug 2013 @ 12:16 PDTAsterReplyAster_function load_from_teradataHi, the my_driver table is some kind of dummy and should be exactly defined as in the example. The code below works for me Ulrich CREATE TABLE mr_driver( c1 INT) DISTRIBUTE BY HASH (c1) ; ...
61813 Aug 2013 @ 08:27 PDTDatabaseReplyRow limit in 13.0 and higherlooks like - FTFM (release 14.0) -  "Keep in mind that the Teradata Database row size is approximately 64KB, so the spool file for the output must be chunked into sequences that are no l...
61705 Aug 2013 @ 07:12 PDTDatabaseReplyFor joins NUPI can be a better choice than a UPIyou don't give any context for "For join performance, a NUPI can be a better choice than a UPI." so it would require again the crystal ball to come up with a reply...
61602 Aug 2013 @ 02:27 PDTDatabaseReplySearch for first substring in string with conditionI agree with Dieter. But I also don't think this will work within the DB - at least not for the big SQL's which spann multiple lines in qrylogSQL. I use a java programm to do this which pa...
61501 Aug 2013 @ 12:43 PDTDatabaseReplySelecting groups whose member belongs to multiple groups  Hi pavan,   try  select group_id, member_id from your_table qualify count(group_id) over (partition by member_id) > 1 ;  
61431 Jul 2013 @ 07:14 PDTDatabaseReplySearch for first substring in string with conditionperformance depend on your data volumes but at least this does the trick with your data ;-) I used the volatile table to make it a bit more clearer  First splitt your data into chars and kee...
61331 Jul 2013 @ 06:27 PDTDatabaseReplySearch for first substring in string with conditionwhich version are you on?
61224 Jul 2013 @ 06:45 PDTConnectivityReplyLogin OK with teradata Assistant, KO with BTEQthe message is indicating that BTEQ reached the server but either user or password is wrong. Are you 100% sure of not having a typo?
61124 Jul 2013 @ 06:42 PDTDatabaseReplyUntranslatable character at any position in a field.did you check the TRANSLATE function and checked the WITH ERROR option?
61024 Jul 2013 @ 06:38 PDTDatabaseReplyCan I do select from fallback table?system will read the fallback data if a node or diskarray is going down but you can't influence this with a SQL. What would be the benifit if direct accessing it?  
60924 Jul 2013 @ 06:36 PDTDatabaseReplyUnicode vs Latinlatin is just the system default at your system if you are not specifing something in your ddl. space savings - an unicode varchar/char will use 2 times the space. 
60812 Jun 2013 @ 05:55 PDTData ModelingReplyEffect of reversing the order of columns in mutli-column statsat least up to 13.10 - I am not 100% sure about 14.0. see http://developer.teradata.com/blog/carrie/2012/04/teradata-13-10-statistics-collection-recommendations Only the 16 bytes of the conc...
60704 Jun 2013 @ 06:00 PDTDatabaseReplyIs there any way to handle single digit's in date?Try SEL TO_TIMESTAMP('May 10 2013 10:58:04:3934PM', 'Month dd yyyy hh:mi:ss:ssssAM')
60604 Jun 2013 @ 04:37 PDTGeneralReplySame hash for different valuesThe hashrow has to few bits, so hash collissions are common. It doesn't have the same properties as a SHA1 hash.
60530 May 2013 @ 10:59 PDTDatabaseReplyTransposing the data - QUERYyou could do the same with min and the change_log_from column  build two derived tables (one with the max one with the min)  and join the results together and coalesce the max, min...
60430 May 2013 @ 10:58 PDTAnalyticsReplyteradataR package and R 3.0.0I know - but why doesn't TD release a new version?  Or release the source code as open source and someone could move this forward?
60330 May 2013 @ 08:42 PDTDatabaseReplyTransposing the data - QUERYAre you looking for something like  select ID, change_id, update_time, substr(max(case when columnname = 'change_col_1' then cast(update_time as char(30)) ...
60230 May 2013 @ 07:11 PDTDatabaseReplyView validity checkits not possible to get this info out of dbc it can change any time and maybe in 5 min the view is valid again. try the following bteq script .logon system/user,passwd; .set width 500; cre...
60129 May 2013 @ 03:36 PDTToolsReplyUnable to open Teradata SQL assistantTeradata SQL assistant on Mac OS? At least I never saw a Mac version Teradata SQL assistant is a windows program. Or do you mean Teradata Studio (Express)?

Pages