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

How to install external UDF libraries on Hot Standby Node (HSN)? - topic by...

Hello, Recently we had a db crash on TD14 and our HSN took over but did not take over the operation because it was missing libraries for the external (C/C++) UDFs. Any ideas how to identify what is...

View Article


How to find NULL values in a Table - topic by Mathuram

I have a table of having 260 columns in that i need to retrieve the records having NULL values. I had seen my DDL also, few of the columns having NULL Constraint, so i left those columns in my query....

View Article


Purge the work tables cretaed a month before and create report with the list...

Hi Ulrich,   I have used this query to add ".HANG10" after every 25 statements. But, when I executed this query using BTEQ it is not processing ".HANG10" command with the DROP statement. I think we can...

View Article

SQL Error - topic by saspert

Hi, I am running a sql query using SAS EG. It is essentially an explicit sql query that is wrapped within sas commands that make it run on the teradata engine. I need help resolving this error. NOTE:...

View Article

Using .HANG command with DROP statement in the same line is not working -...

Hi Ulrich/Dieter, I am using the below query to create DROP statement and HANG statement after every 25 DROP statements. SELECT DISTINCT 'DROP TABLE DB.' || TABLENAME || ' ;'    || CASE WHEN...

View Article


Using .HANG command with DROP statement in the same line is not working -...

I have tried ".RECORDMODE OFF .FOLDLINE ALL " also but then I am getting my query written in the file as well with the page numbers.   Terankit

View Article

SQL Error - response (1) by Qaisar Aftab Kiani

Normally you get this type of error when you are casting a column into non-compatible data types e.g. casting char data into integer or something like that. But without looking at the query it gets...

View Article

how to logon to bteq - response (8) by Duri83

Normally, you want to use: .logon <ip_address or name>/dbc pw is dbc if i remember it right, anyways 13.10 is a better version than 13.0, you have to make sure that the port 1025 is open if you...

View Article


SQL Error - response (2) by Duri83

If you have DBQL enabled, you can troubleshoot it yourself, look into dbc.dbqlogtbl, dbc.dbqlexplaintbl and dbc.dbqlsteptbl and search for your query. From the explain and steptbl you can determine in...

View Article


Using .HANG command with DROP statement in the same line is not working -...

Hi dnoeth,   please help as it is not working at the end time of my request.thanks in advance. Terankit

View Article

how to logon to bteq - response (9) by TeraSantos

Normally to login into bteq I use .logon localtd/dbc,dbc; You can try this once.

View Article

Using .HANG command with DROP statement in the same line is not working -...

Those options should work: .export data file = xxx .recordmode off .foldline all And split the string in two columns: SELECT    'DROP TABLE DB.' || TABLENAME || ' ;',       CASE WHEN ROW_NUMBER() OVER...

View Article

Fiscal vs. Calendar Issue - Adjusting SYS_CALENDAR to Begin Monday - response...

What definition of week are you trying to implement? ISO? This is what i use: REPLACE VIEW sys_calendar.calbasics_iso AS SELECT /*** Modify here for different start date ***/ DATE '1900-01-01' AS...

View Article


Teradata Error Codes - topic by IndNaga

Hi Everyone, Let me explain my situation. I have a process that reads messages from a JMS Queue and queries the Teradata database with the contents in the message and then if  the quesrying to teradata...

View Article

No more room in DBC - topic by gtmtnbiker

I'm currently getting an error "No more room in DBC". Googling around leads me to these forums where one user suggested dumping out the size of various tables in DBC using this query: read more

View Article


No more room in DBC - response (1) by gtmtnbiker

After googling around for awhile, I found a way to truncate a table. So I ran the following command:   DELETE DBC.EventLog ALL;  which did the trick!

View Article

How to format a decimal column in Fast Export - response (4) by chaitanya09

Hi Rajeev, It's working... Thank you :)

View Article


Fiscal vs. Calendar Issue - Adjusting SYS_CALENDAR to Begin Monday - response...

Thanks this is what was required.

View Article

Teradata Error Codes - response (1) by Harpreet Singh

Have you tried sqlcode, it will be probably different.  

View Article

Using .HANG command with DROP statement in the same line is not working -...

Hi Ulrich/Dnoeth, Somehow I am not able to commenton my post related to this issue.So, I created a new topic. Dnoeth suggested me to use "Data file with Record mode off and foldline option" but I am...

View Article
Browsing all 14773 articles
Browse latest View live


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