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

teradata error 3523 - topic by Smarter_teradata

Hi All,   I am getting the following error "An owner referenced by user does not have STATISTICS access to dbname.table" the same bteq was executed last month and it was successfull at that time. What...

View Article


teradata error 3523 - topic by Smarter_teradata

Hi All,   I am getting the following error "An owner referenced by user does not have STATISTICS access to dbname.table" the same bteq was executed last month and it was successfull at that time. What...

View Article


teradata error 3523 - topic by Smarter_teradata

Hi All,   I am getting the following error "An owner referenced by user does not have STATISTICS access to dbname.table" the same bteq was executed last month and it was successfull at that time. What...

View Article

teradata error 3523 - topic by Smarter_teradata

Hi All,   I am getting the following error "An owner referenced by user does not have STATISTICS access to dbname.table" the same bteq was executed last month and it was successfull at that time. What...

View Article

teradata error 3523 - topic by Smarter_teradata

Hi All,   I am getting the following error "An owner referenced by user does not have STATISTICS access to dbname.table" the same bteq was executed last month and it was successfull at that time. What...

View Article


teradata error 3523 - response (1) by KS42982

Hi, do you have any views in this bteq ? Did the view defintion got changed by any chance in one month ? Because, views might be pointing to different database tables now and the user doesn't have...

View Article

Can someone please explain the below query in detail? - response (2) by...

Thanks for the info :)

View Article

Transposed multiple rows into one column and one row - response (1) by WAQ

Try using recursive SQL.

View Article


Merge SQL Duplicate Key error - response (1) by WAQ

One quick question, are you getting the same contact_object_id more than one in a particluar file?

View Article


Merge SQL Duplicate Key error - response (2) by WAQ

I mean are you getting duplicate contact_object_id in a file?

View Article

Variable results from an sql statement - response (1) by spidermonk

Hey Teradata Forum,   I found a work around for the above issue using the 'GET DIAGNOSTICS' function.  My problem was making sure pt_id was truly unique using a random number so I needed to cycle thru...

View Article

Transposed multiple rows into one column and one row - response (3) by KS42982

Yup, found the solution using recursive. Thanks.

View Article

Merge SQL Duplicate Key error - response (3) by dsaini

no..it is not possible. because stg table has the UPI on the contact_object_id.  

View Article


Merge SQL Duplicate Key error - response (4) by KS42982

Looks like, at least one of the contact_object_id in the source file (stg) is already present in your target table (PR) (may be from previous loads). And as you have defined contact_object_id as UPI,...

View Article

Add partitions to multi-level ppi - topic by Rob Katofiasc

We have a table defined as follows:     CREATE MULTISET TABLE dw_dev.rfk_IMP …….. PRIMARY INDEX ( v_ID ) PARTITION BY ( RANGE_N(YEAR_MONTH  BETWEEN 201205  AND 201212  EACH 1 , NO RANGE, UNKNOWN),...

View Article


Merge SQL Duplicate Key error - response (5) by dsaini

Right..isn't merge suppose to use the "Update set" instead of inserting new record?

View Article

Merge SQL Duplicate Key error - response (6) by KS42982

Can you make sure that contact_object_id is unique in both stg and pr tables by taking count(*) and count(distinct contact_object_id) ? Because MULTISET and UPI together do not make sense to me. 

View Article


"verbose" explain - response (6) by venkylingutla

Hi All,   can anone help me what is the key word Spool Asgnlist  in verbose explain plan.     Thanks, Venky

View Article

Transposed multiple rows into one column and one row - response (4) by WAQ

It's always nice to share your solution (like SQL) so that other can get benfit from the same.

View Article

Transposed multiple rows into one column and one row - response (5) by...

This is also an application for an aggregate UDF that concatenates each sucessive sucessive value that it is presented, returning the concatenated string.

View Article
Browsing all 14773 articles
Browse latest View live


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