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

Determine number working day between two dates - response (5) by VBurmist

Hi Dieter, thank you for providing the equi-joins option, it's really cool! With kind regards, Vlad.

View Article


SELECT INTO Global Temporary Table within Stored Procedure using dynamic SQL...

Hi there, I'm pretty new to the forums so if this is answered elsewhere feel free to point me in the right direction. I am trying to create flexible stored procedures which take strings that correspond...

View Article


SELECT INTO Global Temporary Table within Stored Procedure using dynamic SQL...

I believe it is this step that is not allowed in a stored procedure. This is an excerpt from the dynamic SQL:    INSERT INTO gttBirthdate  SELECT B.plan, B.membernumber, A.birthdate     FROM ' ||...

View Article

Inconsistent Date format in a Database - forum topic by Abhi93

Hi, Same table created by different users in same database have different date format ie. One has YYYY-MM-DD and other YY/MM/DD. Is this due to table def stored on a different AMP with different date...

View Article

COALESCE in create table? - forum topic by sunis12

Hi,  Can someone please table whether we can provide coalesce for a column while creating table. I have seen cases where you select using coalesce but could not find anywhere within create table...

View Article


COALESCE in create table? - response (1) by VBurmist

Hi,  there is a DEFAULT attibute for columns to provide a default value, if that's what you need. With kind regards, Vlad. 

View Article

Inconsistent Date format in a Database - response (1) by VBurmist

Hi, SHOW TABLE command can show the format of date columns for a table.   For each table it is the same on all AMPs. Another story is that when users selects data from the table, then the format can...

View Article

Compression on Indexes - response (5) by ilf

 Hi ,  Can we apply compression on a partitioning column that is not part of the PI.?  Thnx, Irfan

View Article


MERGE vs UPSERT - response (10) by super25

How can i do an upsert into teradata table(DEV) by comparing PRD table. Looking for a way to synch DEV table to PRD table and make them identical as there are some changes made to the existing records...

View Article


Precision loss during expression evaluation - data type issue? - forum topic...

Hi, when I execute the following SQL sel doc_id , prd_id , prd_cmn_name , net_quant , mvt_gravity , cast(net_quant*42*(mvt_gravity*8.338426855)-0.0101578 as DECIMAL(19,13)) from monroe_prd.movements I...

View Article

Precision loss during expression evaluation - data type issue? - response (1)...

The 2614 error says that the result is too small.  I plugged some literals your  cast stmt, and got the same errors.  When i force the order of operations and limit the values to four decimal places...

View Article

How to determine whether TotalIOCount is significant or not - forum topic by...

Hello,  After running a set of queries, it was found that, there are various values of TotalIOCount. These values range from few hundreads to as high as 23 * 10^6. On a system with 14 nodes and 504...

View Article

Teradata Online Training India - forum topic by goodtraining111

Teradata ONLINE TRAININGGood online training offers the best Teradata online training with the industry experts as their trainers. All the experienced certified tutors will share their experience, tips...

View Article


#Records estimation for Derived tables. " Too many rows" error - forum topic...

HI All,  We are facing a very frustrating problem in our reporting warehouse. We have given an adhoc BO universe to the business users. Users make their choices and execute the reports. Some of the...

View Article

REPLACE VIEW Failed. 6922: Illegal or unsupported use of subquery/derived...

REPLACE VIEW Failed. 6922:  Illegal or unsupported use of subquery/derived table inside a recursive query/view. I have my query something like the below REPLACE RECURSIVE VIEW...

View Article


Perfect Query Timings needs to be captured - forum topic by Jessy Mahesh...

Perfect Query Timings needs to be captured.  Hello, we are using Teradata13.10 Version and using Viewpoint also. We are using OBIEE 11g tool to refreshing the reports. Daily basics we runs 10000+...

View Article

Perfect Query Timings needs to be captured - response (1) by VandeBergB

The starttime column in the dbc.dbqlogtbl table is when the query started. FirstRespTime is when the query was completed and the first row of the resultset was returned to the user/application. Your...

View Article


_UNICODE in comments - procedures - response (4) by on230008

Did you find the out cause of this problem? Why it happens ?

View Article

Need help with Unicode in DDL issue - response (12) by on230008

Thanks RXCORE for the help. Your solution works but what is the underlying issue. I have seen it hapenning in some procedure while other are not effected and both types have plenty of comments in the...

View Article

Qualifier Error - forum topic by ciw916

Tags: #sqlerror code 3807#teradataForums: Database

View Article
Browsing all 14773 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>