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 ArticleProblems 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 ArticleStored 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 ArticleLocation 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 ArticleCURRENT_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 ArticleWith 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 ArticleBest 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 ArticleDifference 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 ArticleProblems 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 ArticleCURRENT_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 ArticleWith 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 ArticleMoving 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 ArticleTop 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 ArticleNew 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 ArticleFastExport 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 ArticleHow 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