Quantcast
Channel: Teradata Forums - All forums
Browsing all 27759 articles
Browse latest View live

Cursor-Getting Error - response (1) by dnoeth

Hi Amarnath, IF( K>1000) THENSET V_TOTAL=V_TOTAL+K;  Dieter

View Article


How to get 2 value from same id and same column? - response (4) by nubie

thank you for your kindness, but i try another way to solve it because Cognos can't execute with recursive. :)

View Article


How to get 2 value from same id and same column? - response (5) by dnoeth

How many rows into one column? Is there a know maximum? A typical solution might involve aggregation using MIN(CASE) or OLAP. Btw, if Cognos can't use recursion you can create a recursive view and tell...

View Article

JDBC error code list? - forum topic by jan.simecka

Is there a list of error codes (and the associated messages) of all the SQLExceptions that the Teradata JDBC driver throws? I can't find it anywhere in the documentation... Thanks, Jan Tags:...

View Article

Get the count of rows in the respective tables using cursors - forum topic by...

Hi I have a scenario like If I fired a query ,i will be getting a list of tables.In addition to that,I need to get the count of that tables. What I thought is to make use of cursors inside a...

View Article


Synchronized scanning - response (11) by Shelley

sorry, i did not read your comment correctly. for the row hash match join , the scan is going on as the join is happening --Shelley-- 

View Article

using a Timestamp value within a dynamic sql statement - forum topic by bala2121

Hi All, I want to execute the below call procedure statement using a dynamic sql within a For loop of stored procedure. call dbc.sysexecsql ('CALL...

View Article

Using FastLoad for Volatile Table - forum topic by Stiphu

I'm Trying to load data from a file into a volatile table. Following my FastLoad Job Script: sessions 2; errlimit 25; logon xxxx/yyyy,zzzz; CREATE VOLATILE TABLE yyyy.vt_employee (  EmpNo SMALLINT,...

View Article


JDBC error code list? - response (1) by tomnolan

Sorry, No, there is no such list.

View Article


selected non-aggregate values must be part of the associated group - forum...

I'm trying to run the following query:  SELECT vtiger_products.productcategory AS "Product Category", SUM(vtiger_inventoryproductrel.quantity) AS "Line Item Qt" FROM bi_batch.vtiger_inventoryproductrel...

View Article

On Update Current_TimeStamp - response (2) by SHF

Thank you Carlos...

View Article

SQL results in Studio 14.2 don't match results from SQL Assistant 13.10 -...

When I execute the code below in Teradata Studio 14.2, I get 0 rows returned.  When I execute it in SQL Assistant 13.10, I get 129 rows, which is correct.  The connections for both applications point...

View Article

Using FastLoad for Volatile Table - response (1) by dnoeth

A Volatile table only exists within the current session and automatically dropped at logoff. The VT is created by the FastLoad control session (i wonder why this doesn't fail) and then the FastLoad...

View Article


selected non-aggregate values must be part of the associated group - response...

Ahh, the well known 3504 error :-) You have to add GROUP BY 1 or GROUP BY vtiger_products.productcategory  Dieter

View Article

using a Timestamp value within a dynamic sql statement - response (1) by dnoeth

Hi Bala, you have to use an implicit typecast for a TIMSTAMP column: CAST(timestamp_variable as VARCHAR(24). But i doubt you can use dynamic SQL to CALL an SP.  Dieter

View Article


SQL results in Studio 14.2 don't match results from SQL Assistant 13.10 -...

Studio's uses ANSI sessions as default while SQLA uses the system's default (and this is usually Teradata mode): In ANSI mode any string literal is case specific, so  "databasename in( 'FPDW_core')"...

View Article

Get the count of rows in the respective tables using cursors - response (1)...

If you need an exact count the only reliable way is to run a COUNT(*). If doesn't have to be exact, extracting it from stats uses no additional resources.   Dieter

View Article


SQL results in Studio 14.2 don't match results from SQL Assistant 13.10 -...

Studio will default the TMODE to the recommended value of ANSI. When in ANSI mode, the character comparisons are always CASESPECIFIC. You may also get truncation of trailing non-blank characters which...

View Article

How to calculate space taken by a volatile table? - forum topic by...

 Hi Experts, I was having a discussion with one of my peer regarding the table size calculation for a VT.   As VT is not stored in any of the Db and is local to user which is currently logged in.  As...

View Article

Cloning a user including access rights - response (2) by cnaveen05

Are you using ROLES to assign access to individual users or doing it one at a time? Using roles you would just have to give the access once and align all the users to the ROLE.

View Article
Browsing all 27759 articles
Browse latest View live


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