Quantcast
Channel: Teradata Forums - Database
Browsing all 14773 articles
Browse latest View live

Default date column not aligning in xcel - response (12) by Raja_KT

Excel does have an issue with dates before 1900. However, there is a workaround for it. This script, I test in excel and it works fine with few extra values: http://support.microsoft.com/?kbid=245104...

View Article


Mload Match TAGs(in DML transaction phase and Application phase) - response...

Hi All, Please anyone answer to my question.

View Article


Teradata sql grouping - response (4) by gerardo

To obtain ththe output as you have indicated, the sql: SEL VENDOR, COALESCE(LOCATION,'TOTAL ') AS LOCATION , SEPT, OCT, TOTAL2013 FROM ( SEL VENDOR, LOCATION, SUM(CASE WHEN EXTRACT (MONTH FROM...

View Article

Whom can help me explain the ‘46.06:18:08’ time. - response (9) by gerardo

I have TD 14.00 and using SQL assistant 14.01 Running   SELECT CAST( '11:10:25' AS TIME(0)) - CAST('11:00:33' AS TIME(0)) HOUR TO SECOND ;  I get  as answer : 0:09:52.000000 that is right .  I have...

View Article

"CONTAINS" opertator - forum topic by david powell

New to Teradata.  Does teradata use the "CONTAINS" operator?  If so are there additional information concerning this operator in relation to properly setting up indexs?  Thanks david powellForums:...

View Article


Foreign Keys - forum topic by JustMe

 One of our data modelers came to me with the following scenario.  He is creating two tables and defining a foreign key on one that references the other. CREATE  TABLE EDWSPACE.AMK_ACCT_ANC (...

View Article

Foreign Keys - response (2) by Kawish_Siddiqui

This is something about implementing hard RI and soft RI. I am trying to find some reference why Teradata is creating "_0" table but for the time being I can tell you if you apply soft RI, it won't...

View Article

Macro Metadata Log Table - forum topic by nevermore

Hi All, I want to create a log table which will keep metadata for macro. such as who execute, when exec, success flag, count(*) exc.  Does anybody can give me a trick for that. thank you in advanced....

View Article


Foreign Keys - response (3) by M.Saeed Khurram

Well, Teradata create error tables named with TableName_Incremental digit. But this is created as a result of invalid foreign key references.  have you checked the table creation right after the DLL...

View Article


Macro Metadata Log Table - response (1) by tomnolan

If you enable query logging, DBQL will contain most of what you asked for, such as "who execute, when exec, success flag". I'm not sure what you mean by "count(*)", but if you are referring to the...

View Article

"CONTAINS" opertator - response (1) by tomnolan

For questions about functions and operators, you should refer to the Teradata Database SQL Reference volume "SQL Functions, Operators, Expressions, and Predicates". All Teradata documentation is...

View Article

Why I do not see all the databases in Teradata Studio - response (8) by pmehrotr

I do not have access to DBC. There is something in TREDATA Studio which is different from SQL Assist. When one does LDAP authentication in Terdata Studio, it does not show all the databases I have...

View Article

Macro Metadata Log Table - response (2) by Raja_KT

Hi, You ca get most of the info from DBQLogTbl,DBQLObjTbl,DBQLStepTbl and some other DBQL tables if you need extra. Now-a-days, even ETL meta tables design have become easier. ETL framework, DQ...

View Article


How to set up a ROLE correctly - response (2) by Fahdkhan111

You can also use the set role statement to swith between roles (incase default role is not set to all) assigned to a user during the session. SET ROLE TestRole;

View Article

Macro Metadata Log Table - response (3) by nevermore

Thank you both Tomnolan and Raja, I'll try to use that tables you've given me. 

View Article


Can some one provide the solution for the below scenario? - response (8) by...

Hi Ulrich, Recently I come across the similar scenario where I having a source table containing fields Cust_id, Amount , Date. At a single point of time Source table will contain the record for same...

View Article

Teradata - forum topic by kunmehta

Hi , Recently I come across the similar scenario where I having a source table containing fields Cust_id, Amount , Date. At a single point of time Source table will contain the record for same month....

View Article


UTF -8 or UTF-16? - forum topic by Nishant.Bhardwaj

Hi Experts, As per one of the requirement , we are making one column as CHARACTER SET UNICODE CASESPECIFIC. But as we know that in Unicode too we have two types of character sets UTF-8 & UTF-16....

View Article

UTF -8 or UTF-16? - response (1) by M.Saeed Khurram

Hi Nishant, You can find a reasonable information about these two in the link below and then will be able to make a better...

View Article

Rewriting the Self join - forum topic by bikky6

MERGE_ID is the primary index in  CUST_HIST SELECT * FROM (SEL A.MERGE_ID,A.REM_ID, A.EFF_DT, A.FIRST_MERGE_DT , A.CURR_CUST_MERGE_DT FROM CUST_HIST A INNER JOIN CUST_HIST B ON A.REM_ID=B.MERGE_ID...

View Article
Browsing all 14773 articles
Browse latest View live