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

Table Lock and Release during load and truncate process - response (1) by dnoeth

You could use BT/ET, but it's better to do it within a "multistatement request", in a BTEQ script it's: insert into target select * from source ;delete from source;The multistatement is caused by the...

View Article


Need to convert Rows to columns - response (1) by dnoeth

Hi Praneeth, select id1, max(case when id2='A' then Amt end) as A, max(case when id2='B' then Amt end) as B, max(case when id2='C' then Amt end) as C, max(case when id2='D' then Amt end) as D from...

View Article


GRANT/REVOKE LOGON TO ROLE ? - forum topic by mauricio.rodriguez

Hello. When the loading processes start I have to disable logon to users, and when the last process ends I have to enable logons. I'm doing this with a Revoke Logon on all to user_x, and then grant...

View Article

GRANT/REVOKE LOGON TO ROLE ? - response (1) by Adeel Chaudhry

GRANT/REVOKE LOGON only takes user as an input, not the role. May be you can package the commands in a script for ease of use.  HTH!

View Article

Stats collection inside SP's - response (4) by barani_sachin

KS Thanks for u r reply :) This is the error i am getting while trying to run the SP. CALL Failed. 3598:  STATS_CHECK:Concurrent change conflict on database -- try again.  TD Version 14.

View Article


How CLOB stored in Teradata database - forum topic by Anilsha1

Q1 How CLOB is stored in the teradata database? Suppose If A Table is created with CLOB and Non_CLOB columns. And defines the CLOB as 2GB while table creation. And insert the data equivalent to...

View Article

OLAP-Unbounded Following query - response (2) by Sai088

Thank you for clarification Dieter

View Article

Compression in Teradata - forum topic by rithu

Hi experts, I am getting a spool error while inserting records from one table to another of similar structure expect for one column where table 1 has a column with char(50) and  some 63 compression...

View Article


How to correctly use JPA + eclipselink + java - forum topic by Den

Please tell me how teradata interacts with Java in the implementation of JPA. When meping two classes where a one-to-many an error: [EL Config]: metadata: 2013-03-06...

View Article


Concatenate o/p of two select statements - response (14) by Jessy Mahesh...

 RECURSIVE function logic createmultisetvolatiletable tb1 (id integer ,nm varchar(5) )  primaryindex (id,nm) oncommitpreserve rows;  insertinto tb1 values (10,'xy');insertinto tb1 values...

View Article

Stats collection inside SP's - response (5) by Adeel Chaudhry

BEGIN and END period data-types are the specific types that Temporal table uses to manage history.  HTH!

View Article

Data From Vendor Changes - response (2) by Adeel Chaudhry

The scenario requires a complete documentation on the format of the file and possible cases to cater for. What is seems is the example of complex structured file containing interrelated data in...

View Article

Can we access a table from SQL UDF in TD 14? - response (5) by Adeel Chaudhry

For the correct way o implement that .... again .... What will be the use of this fuction?

View Article


Stats collection inside SP's - response (6) by barani_sachin

Thanks Adeel :) So that doesnt have anythign to do with Stats collection inside a SP?? Also could someone pls elaborate on what can i do regarding the error"CALL Failed. 3598:  STATS_CHECK:Concurrent...

View Article

Stats collection inside SP's - response (7) by dnoeth

You should check the QueryLog which transactions were running in parallel. Collect Stats is first using an Access lock and after the collection it's merging the new info, but i would rather expect a...

View Article


Stats collection inside SP's - response (8) by barani_sachin

@Dieter : I get this same error all the time!!! I am sure that no query is trying to access this VT.

View Article

Stats collection inside SP's - response (10) by barani_sachin

PFB the simple SP which is throwing the above mentioned error!  replace procedure db.proc() sql security creator begin declare uname varchar(100); declare stmt1 varchar(1000); select current_user into...

View Article


why mload accepts duplicates and why dont fastload - response (3) by...

Have a look at this threadhttp://forums.teradata.com/forum/tools/duplicate-rows-in-mload

View Article

Stats collection inside SP's - response (11) by dnoeth

I don't know the exact reason, but it seems to be based on the combination of the security option and the dynamic SQL when a different user calls the SP. When you change SECURITY to OWNER and use...

View Article

Stats collection inside SP's - response (12) by barani_sachin

Thanks Dieter for this workaround :) So if we doesnt have a table which has the same name as the VT in the default database for the particular user it wont be a problem rite? i.e we dont need to...

View Article
Browsing all 14773 articles
Browse latest View live


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