Selecting duplicate records from a table - Complete record and not just the...
Hi, Ignoring the fact that the tables has NULL values for natural key columns, could you let me know if the logic being used to capture the duplicate records is correct ? Thanks Much!!!
View ArticleFind table size and last access date - response (3) by rbearley
Thanks for the replies, this helped.
View ArticleFind table size and last access date - response (4) by Nishant.Bhardwaj
Hi Dieter/Adharssh, I checked earlier too but all the entries of lastaccesstimestamp in dbc.tables comes as null in my application.. Is there any way to activate it or is it automatic ? Cheers! Nishant
View ArticleMSUM - use column name for query width - forum topic by sam99
Hi All, This is my requirement. PDay Query_width Sal Sum of last '3' rows inclusive 9/13/2013 3 10 10 9/14/2013 3 20 30 9/15/2013 3 30 60 9/16/2013...
View ArticleHow to get data from Excel to Teradata table without using teradata olap...
Try the following: 1. Save your spreadsheet as tab delimited 2. Open up SQLA 3. Navigate to File and select 'Import Data' 4. Compose something similare to: insert into databasename.tablename values...
View ArticleUpdate for Derive Tables - forum topic by nevermore
Hi, I've 2 derived tables and want to update one column. And I couldnt find a way to mak this ok. Can you help me pls. thanks in advance. UPDATE TGT FROM ( SELECT COL1, COL2, COL3, COL4 FROM...
View ArticleMSUM - use column name for query width - response (1) by Qaisar Aftab Kiani
I doubt you can use the column name instead of the width. However, the use of MSUM is discouraged in Teradata, and you should prefer to use SUM window function... SUM(SAL) OVER(ORDER BY PDAY ROWS 2...
View ArticleBulk Loading - response (4) by Adharssh
Hi, The Following Code Snippet will work, Assuming that your target table has 3 fields, COLUMNPI,COLUMN1,COLUMN2 and Source hastow fields COL1,COL2. INSERT INTO TARGET_TABLE ( COLUMNPI, COLUMN1,...
View ArticleFind table size and last access date - response (5) by Qaisar Aftab Kiani
I think you need to activate ObjectUseCountCollectRate in DBS control utility...
View ArticleSelecting duplicate records from a table - Complete record and not just the...
Why don't you run a test on some sample data????
View ArticleFIFO / LIFO For Cost of Goods Sold - forum topic by newb1
Hello, I have to develop a cost of goods sold script using FIFO / LIFO techniques. I have a crude working program that uses volatile tables for stock in and stock out that runs through each sale and...
View ArticleFIFO / LIFO For Cost of Goods Sold - response (1) by newb1
Maybe I should post this to the general forum?
View ArticleTypes of locks during Fastload abort-? - response (1) by Nishant.Bhardwaj
Hi Experts, Your comments on the above pls. cheers! Nishant
View ArticleUpdate for Derive Tables - response (1) by M.Saeed Khurram
Hi, I have checked you statement with a sample scenario and it is working fine. The following query should work for you. I have made just a little change, you were refering the COL55 by qualifying with...
View ArticleUpdate for Derive Tables - response (2) by Adharssh
Hi, Can You please let us know, What error did you faced? The Update Query is trying to Update the COLUMN 'COL55' but the SubQuery doesn't select the COL55. Thanks & Regards, Adharssh.
View ArticleHow to get data from Excel to Teradata table without using teradata olap...
Thanks for the info... Any idea from where we can download teradata OLAP connector?
View ArticleFIFO / LIFO For Cost of Goods Sold - response (2) by sachin.sebastian
You can try out SELECT AND CONSUME operation using QUEUE TABLE
View ArticleBulk Loading - response (5) by sachin.sebastian
You can try using Identity Column in DDL
View ArticleFIFO / LIFO For Cost of Goods Sold - response (3) by dnoeth
Hi newb1, you got luck, when i saw that competition a few years ago i tried to solve it using Teradata SQL :-) It turned out to be much simpler due to Teradata's support of ROWS UNBOUNDED PRECEDING...
View ArticleFIFO / LIFO For Cost of Goods Sold - response (4) by newb1
Dieter Thanks very much you code like a poet! I am a big fan of your work having read some of the other posts you've done in the past. I've been trying the use of volatile tables and scalar queries to...
View Article