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

"Replace" in Teradata - Only SQL statements ? - response (5) by praneethbobba9

dnoeth - you're right . but we need to go through a hell lot of proocesses and approvals for this. Thats why i was thinking of SQL implemtation . anyways , thanks for the suggestion. If nothing works...

View Article


Stored Procedure Vs Bteq - response (5) by sudheer51

@Rajeev:  I got your query now. I am also a newbie in teradata.. May be we shall wait for some one to answer..  Anyone there to answer the query???

View Article


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

"SQL Functions, Operators, Expressions, and Predicates". OREPLACE() Pag 720. Before you can use the embedded services functions, you must run the Database Initialization Program (DIP) utility and...

View Article

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

thanks for your prompt response, actually it works fine with recursive view but i am trying to avoid the use of recursive view and i want to sum up the whole logic in a single query. All i want to know...

View Article

"Replace" in Teradata - Only SQL statements ? - response (7) by praneethbobba9

got it. Thanks Carlos.

View Article


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

Your query should run as-is, simply replace the wrong name "dealer_view" to "dealer_part".  Dieter 

View Article

Stored Procedure Vs Bteq - response (6) by Adeel Chaudhry

Few coming in my mind would be ....  BTEQ script: Simplistic conditional logic No exception handling Runs on CLI connection No concept of parameters  SP: Complex conditional logic Exception handlers...

View Article

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

Depends on the questions asked by Dieter.  Based on that, you can use:  IDENTITY SUM(1) OVER(ROWS UNBOUNDED PRECEDING) ROW_NUMBER RANK ....

View Article


selecting values from a table where max value is null - response (3) by Adeel...

Selecting with COALESCE(COL1,CURRENT_DATE)= COALESCE(MAX(COL1),CURRENT_DATE) is best option.

View Article


find the min & max value for the below query - forum topic by Gowtham

I need your help to find the result for the below table pil1              pil2         timp     Mdat              inti 3Week    3Month    1Year    9/27/2013        40 1Week    1Month    1Year...

View Article

find the min & max value for the below query - response (1) by dnoeth

Sorry, but your explanation is quite confusing. Could you provide DDL plus INSERTs and for each row: why or why not it's in the result. Dieter

View Article

MLOAD DELETE TASK - response (1) by dnoeth

  Hi Suhail, MLOAD DELETE is for deleting a large number of rows during a Full Table Scan while avoiding the Transient Journal. When you need to delete based on the PI it's a quite efficient single...

View Article

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

Hi Dieter and Adeel, My REquirement is to get the Sequential with out any gaps.. does Identity column gives any gaps in between? which one is prefered for with out gaps? Cheers Nishant

View Article


find the min & max value for the below query - response (2) by Gowtham

CREATE SET TABLE RETAIL.tab ,NO FALLBACK , NO BEFORE JOURNAL, NO AFTER JOURNAL, CHECKSUM = DEFAULT ( pil1 VARCHAR(10) CHARACTER SET LATIN NOT CASESPECIFIC, pil2 VARCHAR(10) CHARACTER SET LATIN NOT...

View Article

MLOAD DELETE TASK - response (2) by suhailmemon84

Hello Dieter, Thank you for the response. I have always had this assumption that all restrictions with MULTILOAD are associated with the fact that multiload does not allow amps to talk to each...

View Article


selecting values from a table where max value is null - response (4) by mithunk

So, is the volatile table option compartively less effective than the COALESCE Option in the filter ? 

View Article

Dynamic Column Name - forum topic by saurabhkamath

How can I create a view with Dynamic column name ? column name is dependent on the current_date  something of this sort  CREATE VIEW TEMP_V SELECT ID,ARTICLE, CASE YEAR_MONTH WHEN CAST(CAST(CAST(DATE...

View Article


Dynamic Column Name - response (1) by saurabhkamath

In the query mentioned above TD is not supporting Dynamic column. END AS 'REVENUE-'||CAST(CAST(DATE AS FORMAT 'YYYYMM')AS CHAR(6))  Its giving an error saying : SELECT Failed, 3707; Syntax error,...

View Article

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

Opzz! my bad... Anyways thanks a lot for your time!!!

View Article

Table Header - forum topic by macktd

Hi Experts, I have a table with columns (col1,col2,col3,col4......onto col100); Obvoiusly, the table header stores in all amp.  My question, Does this table header store all these columns? Exception :...

View Article
Browsing all 14773 articles
Browse latest View live