Top Function - response (6) by Raja_KT
Hi Ratnam, Sample mainly for getting samples of row from table or view. We can use SAMPLE n, where n is an integer or can be decimal between 1.00 and 0.00. We can also use SAMPLEID. TOP n operator...
View ArticleODBC Connection issues with Teradata 14 on VMWare Player - response (2) by...
OK the solution to this is: check your ODBC Connection, set the IP Address correctly to the VM Ware, incase you are using a loop back adapter make sure that the adapter address is updated. Optionally...
View ArticleTop Function - response (7) by M.Saeed Khurram
Hi Ratnam, In a Sample n function, the amps will choose rows in some random fashion. So there is no need to sort the rows. In TOP n function the rows are sorted first and then the top n rows specified...
View ArticleQuery with TOP and COUNT - response (4) by M.Saeed Khurram
Hi Ratnam, I have answered it on the other thread you have started:http://forums.teradata.com/forum/database/top-function#comment-127912
View ArticleTop Function - response (8) by dnoeth
Hi Ratnam, SAMPLE (RANDOMIZED ALLOCATION) returns a truely random result while TOP n (without PERCENT/ORDER BY) simply returns the first n rows found on a single AMP (or multiple AMPs). SAMPLE is...
View ArticleDoes one need unicode compression in Tredata 14.0 - response (5) by M.Saeed...
Hi I was going through some material and I came to know that TRANSUNICODETOUTF8 can only be used to compress UNICODE columns which contain ASCII LATIN 7 Bit data. So I guess if TD 14 is to store...
View ArticleDoes one need unicode compression in Tredata 14.0 - response (6) by dnoeth
Hi Khurram, TransUnicodeToUTF8 works for any UTF16 character, but if there's a lot of Latin chars it simply compresses better: Most of the Latin chars are stored in one byte in UTF8 while some of the...
View ArticleDoes one need unicode compression in Tredata 14.0 - response (7) by Raja_KT
In the context of table joins, I feel that we need to be careful so that both the joining fields are of the same characters, else there will be performance degrade. I have heard quite a number of...
View ArticleDoes one need unicode compression in Tredata 14.0 - response (8) by dnoeth
Hi Raja, this only relates to LATIN vs. UNICODE, of course they hash differently and thus you can't get PI-to-PI joins. But algorithmic compression doesn't change the charset, only the storage (btw,...
View ArticleMany tables or many databases? - forum topic by rhuaman
For a project, we have several groups that will produce numbers using models. Input and output data will be in the DB. Each group is independent and works in their own different way; however, the...
View ArticleClarification on Rowhash Match Scan and Sync Scan - forum topic by Santanu84
Hi Folks, I need confirmation on my understaning of Rowhash Match Scan and Sync Scan. 1. I am joining two tables TableA and TableB using TableA.A1 column which is PI and TableB.B2 column which is...
View ArticleMany tables or many databases? - response (1) by VandeBergB
If you go the route of one database, based upon your description, you'll be forcing the dba team to maintain object level permissions, never a good idea. If you create a db for each team, your...
View ArticleQuery on Skew-Sensitivity in the TD12 above Optimizer - forum topic by Santanu84
Hi All, I was reading Carrie's blog on skew sensitivity of TD12 optimizer.http://developer.teradata.com/database/articles/skew-sensitivity-in-the-optimizer-new-in-teradata-12 Here at one point she...
View ArticleTeradata Dbase Error:5758 - forum topic by Swathi Reddy
Hi All, Mery X'mas and Wish you a very Advance Happy New Year My Question :- While Running MERGE INSERT INTO /UPDATE Statement , followinf error have appeared Failed. 5758: The search condition...
View ArticleTeradata Dbase Error:5758 - response (1) by Raja_KT
Hi Swathi, Your query is very long and I see a lot of trim :). Since you know the joining condtions and fields very well, an explanation is given in this...
View ArticleMany tables or many databases? - response (3) by Raja_KT
Hi, I feel you need to look at things from different perspectives like, short term, long term plans. Will the group expand or shrink? How the data volume is going to grow? Think from the standpoint of...
View ArticleColumn compression and Table header size - response (8) by Fahdkhan111
The maximum row length is approximately 64 KB (the actual limit is 64,256 bytes)
View Articleextending MLPPI tables - forum topic by domingo.maynard@gmail.com
I am having trouble extending partitions for the table below, the table is populated and I was able to extend range for level1. however i get error on extending level2, I was able to extend level2...
View ArticleTable Partition - forum topic by sharatbalaji
CREATE SET TABLE INFORM_USER.TABLEA ,NO FALLBACK , NO BEFORE JOURNAL, NO AFTER JOURNAL, CHECKSUM = DEFAULT, DEFAULT MERGEBLOCKRATIO ( PLCY_NBR INTEGER, MO_ID INTEGER, PLCY_STATUS VARCHAR(20) CHARACTER...
View Article