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

DataStage Enterprise Stage Executing Teradata Macros - response (6) by nhari

Hi, I am trying call a teradata macro within a Datastage (v8.5) job using Teradata Connector stage. The job hangs when it starts executing the macro and is also causing other jobs to hang. It would be...

View Article


Problems with Year part in date - forum topic by barani_sachin

Hi All, I have a SP like this  replace procedure temp(in indate date,out  temp varchar(100)) begin set temp=indate; end;when i execute this SP, i am getting the date with year part contalining only two...

View Article


Stored Procedure Vs Bteq - response (4) by rajeev saravanan

Hi Sudheer Thanks for getting back ! Yeah i understand Bteq is a tool but what i meant was a comparison of the Bteq scripts and SP there are things which can be accomplished using both a Bteq script in...

View Article

"Replace" in Teradata - Only SQL statements ? - forum topic by praneethbobba9

Hi All I'm trying to implement Oracle REPLACE() function in teradata using SQL statements only. I searched the forum , but found Oreplace() UDF as the only solution.  Can someone help me in...

View Article

"Replace" in Teradata - Only SQL statements ? - response (1) by KS42982

Depends upon what you want to do, usually you can do it using different combinations of functions like, CASE WHEN, SUBSTR, LENGTH or CHAR_LENGTH, POSITION etc. If possible, post the sample of data on...

View Article


Location of SQL History in Studio - response (5) by ramesh.d

Mahesh, Looks like becuase of invalid XML characters in the history SQL, the java SAXParser is thowing out error while loading the XML. As you have mentioned that you are successful in importing the...

View Article

"Replace" in Teradata - Only SQL statements ? - response (2) by CarlosAL

TD 14 implements oReplace() as a native Teradata Function. HTH. Cheers. Carlos.

View Article

CURRENT_TIME - TIME '00:00:00' hour to second giving wrong output - forum...

Hi  I am trying below SQL: SEL CURRENT_TIME, ((CURRENT_TIME - time '00:00:00') hour to second(0)) ;  Output is : 09:23:56 | 8:23:56 Doubt is why the second column is having one hour less ? Please...

View Article


With recursive in a Select - response (4) by attique.yousaf

Hi, i have almost a same sort of question, but a bit more detailed one. Can anyone just tell me how to run the following query without using recursive view or temp tables. All i want to do is to merge...

View Article


Best way to generate the Sequential numbers : CSUM or IDENTITY columns? -...

Hi Nishant, you have to define "sequential" first, do those value have to be: - really sequential (based on the position in the input file or some other order) - without any gaps? - or just unique?...

View Article

Difference between Timestamp - response (6) by dnoeth

Conversion is easy, just remove the TO_NUMBER :-) Or use TD14, which supports it. There was a thread last week on timestamp difference in seconds/minutes:...

View Article

Problems with Year part in date - response (1) by dnoeth

You can add a FORMAT phrase: set date = indate (format 'yyyy-mm-dd') Dieter

View Article

"Replace" in Teradata - Only SQL statements ? - response (3) by dnoeth

Hi Praneeth, you shouldn't try to implement REPLACE with basic SQL functions, it's not worth doing it. Better get your dba to install oREPLACE (and some more Oracle UDFs like oTRANSLATE). Dieter

View Article


CURRENT_TIME - TIME '00:00:00' hour to second giving wrong output - response...

This is probably due to some implicit time zone conversion. Try (CURRENT_TIME AT 0) - TIME '00:00:00+00:00') Dieter

View Article

With recursive in a Select - response (5) by dnoeth

You have to create a recursive view first and then a second view on top of it. Did you use the correct syntax CREATE RECURSIVE VIEW instead of CREATE VIEW? Dieter

View Article


Moving Data from one box to another - response (1) by KS42982

Are you looking for the best option to move only data or data with all the tables/views structure as well ? Also, approximately how much data we are talking about here ?

View Article

Top Sessions Graph - forum topic by Denmark

On Viewpoint Query Monitor's Top Sessions Graph of the Summary view, two metrics are represented:  one by the length of the bar and the other by the color or shading of the bar.  The user chooses a...

View Article


New Teradata 13 Express Installation - Help - response (8) by manni

I am trying to install above version. Is this version compatible to Windows 8 64 bit?

View Article

FastExport Access Module Error - response (4) by Fred

Please start a new thread for new questions. On mainframe, INFILE must specify a DDNAME not a dataset name.

View Article

How to Use Multiple With Recursive Statements in a Query in TD version 14 -...

Yesterday our DBA's completed the update of our Teradata test environment to version 14. The PDF document Teradata Database - Release Summary - Release 14.0 states, "Multiple WITH/WITH RECURSIVE...

View Article
Browsing all 27759 articles
Browse latest View live


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