Cast from CHAR(20) to SMALLINT - response (2) by chinmay Athavale
Hello Sachin, I tried the syntax provided by you and it worked for me: sel name,cast (cast(name as char(6)) as smallint) from delta Regards, Chinmay Athavale
View ArticleSpace consumed by Primary Index - forum topic by 02CSE33
Hello Friends, Can you please help me with knowing about space consumption by Primary Index of a Table. I want to know how much PERM does it consumes. Regards, Sudipto.Forums: Database
View Articleconcatenate value of multiple rows into one Single row - response (1) by dnoeth
Hi Bill, you're creating a huge intermediate spool due to the join on parent_id = parent AND child_id >child which is a kind of cross join. Better use the following approach: CREATE VOLATILE TABLE...
View ArticleError in select statement with "with" keyword inside procedure - response (1)...
What realese are you running? A few releases ago WITH was not allowed n SPs. Dieter
View ArticleCeating secondary indexes for performance gains... - response (1) by dnoeth
Hi US-Rose, of course you don't have to reload, the index is immediately known to the optimizer but you should collect stats. Dieter
View ArticleVaried result with DBC.TableSize & DBC.DiskSpace - forum topic by 02CSE33
I was going through TableSize and Diskspace views Using the following queries : SELECT MAX(CurrentPerm),SUM(CurrentPerm) FROM DBC.TableSize where DatabaseName='financial'; O/P : 4,564,992.00...
View ArticleVaried result with DBC.TableSize & DBC.DiskSpace - response (1) by CarlosAL
You are comparing apples and oranges. 1: the max currentperm for an amp for a table in the database 'financial' 2: the max currentperm for an amp for the database 'financial'. HTH. Cheers. Carlos.
View Articleincrease size of teraData database - response (7) by vasu6
HI All, I need to increase DBC space ? ? I am trying to increase space on in TD Admin GUI ,Tool option -->modify user ,i am trying to increase space,but i am getting error : Error is : The user...
View ArticleVaried result with DBC.TableSize & DBC.DiskSpace - response (2) by 02CSE33
Thanks Carlos for clearing my Perception!
View ArticlePlease tell me the link to download teradata express edition 12.0 window...
Tags: teradata 12.0 downloadForums: Teradata Studio
View ArticleSpace consumed by Primary Index - response (1) by rajeev saravanan
Hi Sudipta, Primary Index don't cost you space unlike the secondary indexes which maintain the sub tables Regards R.Rajeev
View ArticleBLANK FROM SOURCE IS CONVERTED TO 0 while loading into Table - forum topic by...
Hi I have a table and while loading the table , if the column is INTEGER then blank from SOURCE is converted to 0 i.e. numerical ZERO. Why is this happening ? Does this mean we cannot have BLANK value...
View ArticleTPT API From Informatica - response (1) by vijai_meda
Yes, we can override the work table names for UPDATE operator with TPTAPI. Just add the desired table name for the attribute "TD_WORK_TABLE". Examples : conn->AddAttribute(TD_WORK_TABLE,...
View ArticleCast from CHAR(20) to SMALLINT - response (3) by SCHINN
Hello Chinmay, originally that column is char(20) trying to change to smallint. Do you think the data i have above might be causing any issue? Appreciate your help....
View ArticleBLANK FROM SOURCE IS CONVERTED TO 0 while loading into Table - response (1)...
Of course, we can have NULL values in integer column. Check your ETL code, it must be converting NULL to 0 somewhere. Also, check the table definition and see if there is "DEFAULT 0" for this column....
View ArticleWhere is Teradata SQL Assistant - response (7) by KS42982
Looks like you are not able to connect to server. Check if the server is up and you have proper rights to connect to that server. Btw, are you using ODBC to connect ?
View ArticleSenior Teradata Architect - Central Europe - forum topic by marlingreen13
We have a new contract opportunity with one of our clients based in Central Europe who requires a Teradata Architect to start in the coming month. For more information on the position, please contact...
View ArticleBalancing quotes in SP - forum topic by barani_sachin
Hi All, I have a SP like below. replace procedure temp(in temp varchar(1000)) dynamic result sets 1 begin declare stmt varchar(1000); DECLARE C1 CURSOR WITH RETURN ONLY FOR STMT1; set stmt =...
View ArticleBLANK FROM SOURCE IS CONVERTED TO 0 while loading into Table - response (2)...
How is this table loaded? A typecase from string to integer returns 0 for blanks/empty strings, this is documented but stupid: try a select '' (int); You should use a NULLIF(col,'') (int) to set the...
View ArticleSpace consumed by Primary Index - response (2) by Nishant.Bhardwaj
Hi Experts, In context to the above Question, just want to know how can we estimate the Size of the Secondary Index Subtable and also do we need to take in to account of Secondary Index sub table...
View Article