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

Parse and validate select statement - topic by hluu

Hi All, Is there a way to parse and validate a SQL select statement w/o executing it using Teradata JDBC driver or another mechanism? Thanks, Hien  

View Article


Collect stats - response (1) by WAQ

What is the issue?

View Article


Alter table add columns from variable - response (1) by WAQ

Trying using dynamic SQL

View Article

Collect stats - response (2) by WAQ

What is the issue?

View Article

Parse and validate select statement - response (1) by WAQ

Well in SQLA you can use F6 to get the explain plan. It will only generate the plan if you query is correct syntatically.

View Article


Alter table add columns from variable - response (2) by Qaisar Aftab Kiani

Dynamic SQL is the way to go but you need to consider that the dynamic SQL statements are not validated during the stored procedure compilation, they are only validated during the stored procedure...

View Article

Error Code 4 Solution required - response (1) by Qaisar Aftab Kiani

Return Code 4 means warning messages and can be ignored. This message tells you that BTEQ has exhausted the .RUN file and will resume the inputs from stdin. I have seen this happening when bteq scripts...

View Article

Fast Load - Insert Select Statement - response (1) by Qaisar Aftab Kiani

You can use fastload to insert the values that are already defined via DEFINE in the script.

View Article


How data is physically stored in the Disks by Teradata? - response (3) by...

The Teradata file system B-Tree is implemented on the Master Index, Cylinder Index, and Data Block Descriptor structures. You can find more details in the following manual......

View Article


Fast Load - Insert Select Statement - response (2) by sunni1221

Thank you for the input. Trying to load the target table through stage table within the fastload. This might not be possible so using the bteq to do that.   Regards, Suneel

View Article

How data is physically stored in the Disks by Teradata? - response (4) by...

Thanks Qaisar :)  

View Article

How to calculate Total end to end query elapsed time - topic by htiwari

  Can you let us know how to measure the time taken by the session in RESPONSE state. In dbqlogtbl there is a time stamp for active state,delay state but I am not able to find the appropriate field....

View Article

Teradata Express for WIN 32 BIT - response (10) by spradeeepan

Dear Rajat,   Thanks a lot   Brgds Pradeepan

View Article


Dictionary CACHE - response (2) by gg51332@gmail.com

I have one query which is insert - select join is on PI column query is not performing very well. what should be done to avoid this. Thanks

View Article

Fast Load - Insert Select Statement - response (3) by Qaisar Aftab Kiani

Normally in this case fastexport/multiload scripts are used, but if you just have an adhoc request then bteq scripts should servce the purpose.

View Article


Dictionary CACHE - response (3) by Qaisar Aftab Kiani

There could be alot of reasons for the bad performance. The index selection of the target table could be different than the source table causing the redistribution of data on the AMPs resulting in bad...

View Article

Linking a Table name to a table Id - response (11) by sv185031

  Ferret  ==>     FOR AN INDIVIDUAL TABLE   Ferret  ==> > tableid "DBNAME.TABLENAME"      The table id for DBANAME.TABLENAME is   0 41337 0  (0x0000 0xA179 0x0000)      

View Article


Install Oracle XE in Teradata Express Virtual Appliance - topic by aosman

Hello,   Has anyone installed Oracle XE in the virtual appliance? I've been trying for a few days to install it and have not had any luck.  I've set it up in CentOS before however I continued to have...

View Article

Which two below reduce the likelihood of a Full Table Scan (FTS)? - topic by...

   A The primary index is fully qualified  B The use of a WHERE clause in the query  C The primary index is defined as compressed  D A surrogate key is defined on the index column   Can anyone post me...

View Article

Dynamic Bteq script - dbname as parameter - topic by Lavanya324

I have a bteq script which creates procedures inside a database. The dbname say DB1 i will be specified in the bteq command. The new change we have got now is that the statements inside the procedures...

View Article
Browsing all 14773 articles
Browse latest View live


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