SQL to find Row Count - response (1) by robpaller
No. DBQL doesn't seem to log records inserted, deleted, or updated by INSERT, UPDATE, DELETE, or MERGE operations. Do you have any timestamp or date fields on the table to track when records have been...
View ArticleServer configuration for TDE 13.10.00.10 for VM Ware (1 TB) installation -...
Hi, Can any one please let me know the configuration required for a Linux VM Ware server for "TDE 13.10.00.10 for VM Ware (1 TB)" installation, considering approximately 100 concurrent user will be...
View ArticleList of tables and columns while writing sql - topic by soumyanand
I would like to know the way where in i can display the list of tables and columns when i press spacebar while writing sql in teradata assistant.
View ArticleData Cleansing using SQL - response (6) by kalpanaceo
Data cleansing is the process of uncovering and correcting inconsistent records from a table, a set, or database. This is used mainly in databases to identify imperfect, incorrect, erroneous and...
View ArticleCreate Timestamp from Date and Time - response (2) by td_apprentice
hey Petr, just found a solution: SELECT CAST((CURRENT_DATE + .5) AS TIMESTAMP(0)) + (( CURRENT_TIME - TIME '00:00:00') HOUR TO SECOND(0)) ;
View ArticleSQL Question - response (6) by abc_munmun
i need to pull a string between two chars.for ex- abc#read#efg .i need to puul the string between the 1st and 2nd '#'.Substring won't help.so i am not sure how to proceed.
View ArticleFine tuning a query - response (5) by phillipmiller
Here is something you could try. If your 50 queries are all inserting into that same table "DB.MAIN" the queries will lock that table and run sequentially. If you could change the queries to write to...
View ArticleInformatica/ Teradata INSERT Access WITH GRANT Issue while Loading - response...
Hi, I am facing the same issue using TPT Stream Operator, The error message is: TPT10508: RDBMS error 5315: An owner referenced by user does not have INSERT WITH GRANT OPTION access to...
View ArticleSQL to find Row Count - response (2) by dnoeth
If STEPINFO is enabled then dbc.QryLogSteps.RowCount records the activitycount. Based on StepName: - UPD: updates - DEL: deletes - MRG: inserts (ins/sel) - MRM: inserts, RowCount2 -> updates There...
View ArticleIssue with Decimal(38,0) data type in BTEQ - topic by suresh1802
Hi, I am trying to export data from a table in which one column has a data type of Decimal(38,0). Query: select sa from aa; Result: When I run the select statement in SQL assistant....the output is...
View ArticleTimestamp difference help needed! - response (1) by CarlosAL
Hi: Not sure about what you're after. You could try something like: WHEN ( CAST(call_end_tmstp AS DATE) = CAST(rec_last_updt_tmstp AS DATE) AND CAST(rec_last_updt_tmstp AS TIME(0)) >...
View ArticleLeft Function || Conversion of Sql Server to Teradata - topic by e-smile
Hello everyone, Sorry. I'm disturbing your. I have a question about conversion of SQL Server Query to Teradata Query about LEFT function. If anyone can help me in conversion of query to teradata;...
View ArticleImport in TD SQL Assistant - response (8) by amik_xyz
Continuing to the above query made by Nitish, I am working on TD SQL assistant version 13. In this i could not find any option for IMPORTING file from desktop and loading its data into TD tables. in TD...
View ArticleLeft Function || Conversion of Sql Server to Teradata - response (1) by CarlosAL
You don't give DDL's, your attempts and the errors you get, but SELECT CASE WHEN (SUBSTR(COLUMNNAME,1,2) <> '60' AND COLUMNNAME2 IN (1,2)) THEN 2 ELSE 1 END FROM...
View ArticleSQL to find Row Count - response (3) by robpaller
Learned something new! Thanks Dieter. Didn't even consider StepInfo. Step Info does generate a significant volume so from a historical basis you'd want to keep 30-60 days tops and maybe build aggregate...
View ArticleLeft Function || Conversion of Sql Server to Teradata - response (2) by e-smile
Thank you for update Carlos, it's working. Thanks. Ismail
View ArticleHow to force duplication of the rows from a small table on all AMPs -...
Aftab, Thanks again. yes you were right. I tried the above approach and it still didn't help. The larger table is still being redistributed. There is already a secondary index in the larger table col1,...
View Articlewhy should we use SET table ? - response (13) by Santhosh.SaSo
Hi friends..!! i am new for teradata project.. i want to know, what type of error's will come, when data is loading,and how to over come those errors.. and give me some tips, i want to become a best in...
View Articlewhy should we use SET table ? - response (14) by Santhosh.SaSo
Hi.. Mr.Dnoeth.. your way of exp is very very good, and easy to understand... i am new for Teradata Project.. please help me.. can you send any dummy project to my mail ID.. Please.....
View ArticleSQL Left Join question - response (3) by ganeshh
select c.customer_id, o.order_dte from customers c LEFT OUTER JOIN orders o where c.customer_id = o.customer_id;
View Article