Using FastExport with Teradata JDBC Driver - response (6) by emilwu
Tomnolan, about the fast export jdbc connectivity. is there any detailed instructions how to get the row count before fetch by not using select count(*)? When using native Fastexpoprt utility , this...
View ArticleCommand Help : Alter table modify column - response (4) by dnoeth
@KS42982: Why use a temp table and drop it Create a new table with the required definition, insert/select and the rename the tables: create newtab (...); ins newtab sel * from oldtab; collect stats on...
View ArticleNeed to calculate using LEAD, LAG function - response (13) by dnoeth
ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING is similar to ROWS UNBOUNDED PRECEDING (= ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW), but ROWS UNBOUNDED FOLLOWING is syntactically not allowed....
View ArticleBest approach to handle partition in truncate load table - response (1) by...
Short answers: #1: Yes, No #2: No The partitioning on dates fits your example queries, they will benefit from the PPI, but when the PI is accessed it will be slower than before: it's still an...
View ArticleCan't compile UDF's on Windows - response (2) by tdgi
I should have included more info. Here's an excerpt from the resultant dip14.txt: /************************************************************************ * External Procedure SQLJ.INSTALL_JAR:...
View ArticleCommand Help : Alter table modify column - response (5) by KS42982
That is definately a good approcah. However, what I hear from DBAs in my company that RENAMEing table is not a good stable thing to do in teradata. So in such kind of situations, they always prefer us...
View ArticleConcatenate o/p of two select statements - response (10) by teradatauser2
1 2 SEL Col1,Col2,Col3,MaxCol FROM table1, (SEL MAX(eff_date) MaxCol FROM table2)t Hi Mathuram, Could you please explain you query. I couldn't uderstand it. Where we get maxcol value in the upper...
View ArticleI need to add starbox comments to table DDL. Works with view DDL, but not...
Hello everyone, I'm on a new project and one of our requirements is that all DDL objects must be created using a STARBOX in the DDL for tracking purposes. Here's what this looks like when creating a...
View ArticleConcatenate o/p of two select statements - response (13) by Mathuram
Hi teradatauser2, SEL Col1, Col2, Col3, MaxCol FROM table1, (SEL MAX(eff_date) MaxCol FROM table2)t In the above query t is the derived table, so table1, t will do Cartesian Product Join, that...
View ArticleCursors in stored procedures - response (3) by mithunk
Do we have any other option apart from using cursors to return resultset from a teradata stored procedure?
View ArticleTeradata Setup on MAC - Connection, Database etc. - topic by AbhinavBansal
Dear All I have recently moved from Windows to Mac and am trying to get used to the change. At the same time I am new to Teradata and want to learn it. I have installed Teradata Studio on Mac but I am...
View ArticleImporting Data from file with sql assistant - topic by kumquatz
Hi, I have created a table: create table sandbox.xyz (name varchar(256) not null);and want to load data from a file with the following command: insert into sandbox.xyz (?);the file I use contains just...
View ArticleTeradata SQL Assistant 13 with Teradata .Net provider - response (3) by dhepec
Hi, I am try to create a DSN using C# code and trying to connect to Teradata, i am getting the following error [.Net provider for teradata][115006] could not resolve datasource ="DSNNAME" to an...
View ArticleHow to Install and Configure Teradata Express 13.0 in Windows - response (1)...
here is a guidance post : http://www.oldlessons.com/2013/02/installing-teradata-demo-on-vmware.html Thanks,
View Articlesample JCL with the TPT script embedded. - topic by RG255025
Hi All, Hope your doing fine. Im new Teradata and TPT tool. We have requirement in one of the client, JCL should call TPT scripts? Could you please some one send me sample JCL with the TPT...
View ArticleHow to insert recursive query answerset to another table - topic by Gowtham
Hi, For a looping concept, i had done a query in recursive but i dont know how to load the result to another table, I need your help to load the answerset to another table. Thanks
View ArticleDBQLOBJTBL - unknown values - response (1) by HelmutR
Hi Kepler, I think your question was already answered somewhere else ... But in my opinion you have to see this like a bitmask 1 = Found in the resolver = 0000001 2 = Accessed...
View ArticleCursors in stored procedures - response (4) by dnoeth
Hi Mithun, there's no other option, but it's *not* a cursor, it's just the syntax of a cursor. Dieter
View ArticleCommand Help : Alter table modify column - response (6) by dnoeth
I never heard of problems regarding RENAME. It just needs a short exclusive lock, but you probably don't want to do that during production hours anyway. Dieter
View Article