Pivot Data by Month - response (2) by mattie4
Ulrich, The State_IND just has the State abbreviation i.e. AL, TN. When i pasted it, it included 1, 2 etc, which is not part of the field. The source table only contains the CMTMT_Date and does...
View ArticleHow to exceute only integer records in character column - topic by anilaraveti
Hi Teradata gurs, Could you please any body help me how to exceute only integer values in charcater Suppose i have data like below : Column A A123RAJ RAJ345venkat Prakash234RAJ I want to exceute only...
View ArticleTD 14 Columnar data organization.. - topic by Cvinodh
Hi all, I have small doubt regarding Teradata Columnar feature consider a column partitioned table with three column partitions C1,C2 and C3. The table has say a billion rows. is a datablock allowed...
View ArticleHow to convert unicode russian string to it's hexadecimal representation? -...
Hi, All. I have TD database with tables with columns like "VARCHAR(1024) CHARACTER SET UNICODE NOT CASESPECIFIC". The columns contains russian string data (like "", "", etc..). I use SQL Assistant with...
View ArticleHow to convert unicode russian string to it's hexadecimal representation? -...
select _UNICODE '0414043E0433043E0432043E0440'XCV converts unicode_hex->rus_string, but i need vice versa: rus_string->unicode_hex
View ArticleHow to convert unicode russian string to it's hexadecimal representation? -...
Well... founded: SELECT CHAR2HEXINT('')
View Article2616: Numeric overflow occurred During computation - response (2) by...
Hi Juan, Found out which column was creating problem?
View ArticleForce user to change password at first logon - topic by Pariksheet
Hi , I want to add functionality to force users to change their password at first logon. Can this be achieved through profile parameters? Any other way..?? Thanks in advance. -Pariksheet
View ArticleR functions & Teradata - topic by eddie.baldo
Hello, I am using Revolution R & Teradata. Can I use all the R functions (example "rpart" for regression trees or the "pamk" function for cluster analysis) against Teradata or I can use only the...
View Article2616: Numeric overflow occurred During computation - response (3) by...
Hi Juan, This error will occur in Numerical data types(BYTEINT,SMALLINT,INT,BIGINT,DECIMAL(T,D)), So please check you numeric data types are matching and returing value with in the specific...
View ArticleReplace Function - topic by Prabhu_Teradata
Hi, Need Help on Replace Function Senario: There is column with Value: Text1 , Text2 , Text3; Need to Replace it as Text1 Text2 Text3 Other Information: 1. OREPLACE function is not...
View ArticleR functions & Teradata - response (1) by ulrich
Hi Edoardo, no, it is limited to teradataR package. This package "translate" functions into SQL and execute the SQLs on TD.
View ArticlePivot Data by Month - response (3) by ulrich
still no ddl and inserts... but in this case it should be simply Select state_ind, sum(State_Count ), max(Total ), max(case when Month_ = 'July' then State_Count else...
View ArticleFast Export 2GB file Limit - response (3) by anjanpaul
On UNIX MP-RAS operating system, the maximum file size that is supported by the FastExport utility is 2 gigabytes. On Windows, Solaris SPARC, AIX, and HP-UX operating systems, there is no file size...
View ArticleBTEQ REPORT - response (1) by anjanpaul
use following command in your bteq script: .SET FORMAT OFF; .SET TITLEDASHES OFF;
View ArticleBTEQ REPORT - response (2) by ursgovi
@anjanpaul: I've tried these included but my purpose is not served. .SET FORMAT OFF; --i'm already using this. Sorry that I missed to mention. .SET TITLEDASHES OFF; this helped me to have the...
View ArticleBTEQ REPORT - response (3) by ulrich
There is not possibilty to get this automated. you would need to do it manually select 'select what_ever from tab order by 2,3,5' (title''); Be carefull with in query ' which would need to be...
View ArticleGet the previous row's column Value - topic by gv
Hello All, I have got source data in following way: Col_1 | Col_2 100 | 2000 100 | 3000 100 | 4000 300 | 5000 300 | 6000 300 | 7000 I need to generate an extra column as Col_3 (based upon Col_2) where...
View ArticleGet the previous row's column Value - response (1) by dnoeth
select coalesce(min(col_2) over (partition by col_1 order by col_2 rows between 1 preceding and 1 preceding), 0) Dieter
View ArticleRenaming Name field to return date value - topic by TRMyoung
I have a query and want to return the date as the field name. What do I need to do to turn the date value as a field name? select Suppress_Cd, supp_desc, read more
View Article