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

Compute with immediate previous row value derived - response (1) by...

Let say your table has first record (2016-11-01, 1000) then you can run the below SQL once everyday which will calculate new Amount and insert it into the same table.  INS into dbname.Amt_tbl Sel...

View Article


Converting Unix/EPOCH time to PST - response (1) by tomnolan

You said that you wanted to get the "PST date", but time zones are not associated with DATE values. In other words, the Teradata Database does not offer a DATE WITH TIME ZONE data type.  Your outermost...

View Article


Arcmain - response (3) by VandeBergB

T@YS = Teradata At Your Service  Somebody in your organization, probably the lead DBA should have an account set up to download all the wonders of TD documentation, hotfixes and new releases...

View Article

Find blocking sessions and tables - response (4) by abhishek.jadhav

You can use following functions to map the ids to names IdentifyTable IdentifyDatabase  dbid=1 is for DBC tid=102 is for AccessRights table

View Article

volatile tables inside the stored procedure - forum topic by SGIT

Hello,   I have the following two questions please:  1) While creating a volatile talbe inside a stored procedure : it needs to be created first outside the SP and then again inside. I am doing this...

View Article


Compute with immediate previous row value derived - response (2) by dnoeth

Your calculation is similar to 1000 * 1.1 ** (row_number() over (order by Date)-1) To get he start value you might trymin(Amount) over () * 1.1 ** (row_number() over (order by Date)-1) or...

View Article

FastLoad - Data Conversions - forum topic by ZAtkinso

Hello,  I am having issues performing data conversions specially with dates and timestamps while using fastload. My script is pasted below. All my rows are being imported and sent to error_1 table...

View Article

Find blocking sessions and tables - response (5) by teradatauser2

Thanks Abhishek, it works.

View Article


FastLoad - Data Conversions - response (1) by feinholz

To which type of data conversions are you referring? The FastLoad script is just loading data. Teradata expects the Date/Time/Timestamp data to be in a very specific format. If the incoming data does...

View Article


FastLoad - Data Conversions - response (2) by ZAtkinso

Hey Steve,  I am exporting the data from the same table. Creating a new empy version of the same table and fastloading the data that was exported from the original table. I am working on a tool to...

View Article

FastLoad - Data Conversions - response (3) by ZAtkinso

Sorry to double post but I believe I side stepped your question. The data in the exported file is DATE with FORMAT 'YY/MM/DD'. The table has this same type and format. However, as I understand RECORD...

View Article

Collect Stats with insert statement - response (1) by abhishek.jadhav

A third statement for collecting stats is required.

View Article

Collapse one to many into one SQL query result row - forum topic by...

I would like to collapse records from a one to many relationship down into a single query result row, a task can have one or two resources assigned (there is no limit on the number of resources that...

View Article


FastLoad - Data Conversions - response (4) by feinholz

FastExport itself cannot export the data and write it out in delimited format. So, I guess you must be CASTing your SELECT statement. Do you have to use SQLAssistant? Have you tried TPT? Can you...

View Article

Connectivity issue - response (3) by cheese03

Has you been able to resolve this issue? I am getting the exact same error? Even with the permissions on the file set to 0555,0777,4100 and 4100.

View Article


Working with XMLTABLE, problem extracting data where elements have no...

Ok, after some experimentation, I think I fixed the issue... As I've mentioned, the above code is just mocked code I prepared for the purpose of demonstrating my issue.  There is actually a defined...

View Article

TPT Multiple JobVar files - response (2) by ColinPretty

I did forget to mention that I'm on 14 (soon to be upgrading to 15).  I'm guessing that means I can't do it as yet, so I'll hold fire until then. Thanks for the response Steve.

View Article


Identity Column in Composite UPI - forum topic by Alexi

Dear All, Have a good day!!! Could you help to understand why Identity column in Teradata can not be included in composite UPI? Thanks.Forums: Teradata Debugger

View Article

Incremental Data Load/CDC using Teradata Utility - forum topic by...

Hi, I'm new to Teradata, I would want to know if there is any utlity within Teradata which allows user to capture changed data from database. The identification of changed data should be done at system...

View Article

Collect Stats with insert statement - response (2) by Srinivas_tera

STATS are not automatically refreshed, you need a third statement. When you create a table with no data and stats, the stats will be defined as per the original table with zero stats.

View Article
Browsing all 100 articles
Browse latest View live


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