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

Execute sql through excel vba - forum topic by teradatauser2

Hi , I am also facing a problem while executing sql through excel. I have a query that uses pdcrinfo dbql views- dbqllogtbl_hst and dbqlsqltbl_hst. I have just one select statement. When i run this...

View Article


Derived Tables - forum topic by TDW

Hi, I am still new to TD (9 months) but am getting more involved with writing code instead of making simple changes. I am sure this question has been asked before, but I was unable to find an absolute...

View Article


Data From Vendor Changes - response (3) by TDW

My apologies for not responding sooner. I have not receiving emails when a member comments on my posts. Also, I apologize for the cryptic nature of my question and sample data. I work in a highly...

View Article

Stored Procedure error reporting - forum topic by ljdenning

Does anyone know if there is a way to trap/display line numbers from stored procedures during execution errors (much in the way that a line number is displayed during a compile error)? I don’t see...

View Article

Obtain partition count (including non-empty) for PPI and MLPPI tables - forum...

Client would like to obtain a count of currently defined partitions for PPI and MLPPI tables, including non-empty partitions. SELECT COUNT DISTINCT on PARITITION column only returns a count of...

View Article


Fast Path Delete on PPI tables - response (4) by ales.penkava@guavus.com

We found the issue with deletes, if your procedure (that contains deletes) is compiled / called via ANSI mode it is extremly slow, TERA mode works just fine - the fast delete We were expecting.

View Article

Derived Tables - response (1) by asimibm

Hi ,  The example that you have shown is perfect example of derived table. The corelated subquery is different. If the SELECT is loacted in WHERE clause then it is subquery and not corelated sub query....

View Article

Translate loop into Teradata Stored Procedure - forum topic by adtrombley

How can I translate the following ms sql to Teradat Stored Procedure?  DECLARE @logdate DATETIME   DECLARE @hrinput1 INTEGER DECLARE @hrinput2 INTEGER SET @logdate = '2013-03-01'  SET @hrinput1 = '0'...

View Article


If Exists in Teradata SQL - forum topic by a2589

Hi, In Sybase, you can use IF EXISTS to validate the existance of a table, if it exists, a set of statements should be executed inside the stored procedure. What is the equivalent code in Teradata SQL...

View Article


Execute sql through excel vba - response (1) by teradatauser2

Hi Everyone, Could someone look into this  -Thanks

View Article

Transposing the data - QUERY - forum topic by indrajit_td

Hello, We have come across a scenario where we need to update the previous records in a target table based on if the value is NULL upto its last NON NULL occurence. Here is the test scenario we have...

View Article

If Exists in Teradata SQL - response (1) by Harpreet Singh

Hi, You can do it using BTEQ. Thanks

View Article

Transposing the data - QUERY - response (1) by ulrich

Hi, your timestamps values are not valid. As you expect specific results it would be good if you can review the data. timestamp need to be of format 'YYYY-MM-DD HH:Mi:SS.ssssss' - I guess you missed...

View Article


Need more information about the temporary data retrival of TERADATA views -...

Thx Shelly!

View Article

DATABASE BACKUP - response (8) by amittera

Thanks Abhishek,  I will try to figure out as suggested. Some time back, when i was searching on the same, i got the tables $NETVAULT_CATALOG.CATALOG  ,     ,DBC.RCEvent. Does RCEvent also gives the...

View Article


Derived Tables - response (2) by TDW

Thanks for the info, asimibm. God Bless, Genesius

View Article

Returning a Results from Stored Procedure - response (3) by Michaelcanady

newbie here joined to groom my knowledge and also hope to enjoy my stay here

View Article


Error: create table as currently does not support identity columns - response...

Thanks

View Article

Query Rewriting. - response (4) by Huzain

Hi Dieter, Could you please look into my problem, I am new to this site. need your help. We have problem with a query in which the aggregation stpes take more time to complete as given below the...

View Article

View validity check - forum topic by Harpreet Singh

Hi, How Can I check which views in particular database are invalid using system tables? Invalid means that objects referenced by view are not present now and were dropped so view will give error now...

View Article
Browsing all 14773 articles
Browse latest View live


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