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

Enabling ALC, Pros and cons - response (5) by TeraAbe

DBSControlParameter No13dot0Backdown should be enabled (TRUE).

View Article


can we use cursors in bteqs - response (6) by mummana001

I dont think Bteq support cursors

View Article


Need Help With Macro - forum topic by usmans

Hello all, I am trying to write a macro that takes 3 inputs from the user, Database1, Database2 and an integer value. What I am trying to do, is to automate the "space moving function". In the macro, I...

View Article

Using the rexexp_substr function in TD14 - response (1) by DFJoe

Sorry for the typo in teh herading of this.. should be regexp_substr. Anyway, I have tried this in TD14 (14.00.00.17) now as well, still no sign of the function defined in the documentation!

View Article

Optimizer's inability to resolve variables for partitioning - response (3) by...

Thanks for the response Dieter. I tried creating the view, but that doesn't seem to change the plan. CREATE VIEW SSURI.V_CDC1 (BATCH_START, BATCH_END) AS SELECT     CAST(BATCH_START AS TIMESTAMP(6)),...

View Article


Optimizer's inability to resolve variables for partitioning - response (4) by...

Hi Sanjeev, don't create a view on top of the table, replace the table with the view: CREATE VIEW SSURI.CDC_BATCH1 (BATCH_START, BATCH_END) AS SELECT CURRENT_DATE - 10, CURRENT_DATE;   SELECT * FROM...

View Article

Optimizer's inability to resolve variables for partitioning - response (5) by...

:) Thanks Dieter... but i should have mentioned that the dates are passed as parameters into a table and we create a view on that table. The view cannot be created on hard coded dates. I used those...

View Article

Optimizer's inability to resolve variables for partitioning - response (6) by...

Hi Sanjeev, yes, you should have mentioned that it's more complicated. Seems your explain in the 2nd post is the best you can get. In a case like that i'd prefer putting the query in a Stored Proc,...

View Article


Optimizer's inability to resolve variables for partitioning - response (7) by...

Thanks Dieter.. much appreciated.

View Article


Teradata Field names and DAO/ADO/OLEDB access problem - forum topic by larry609

  Here's the issue:  When accessing Teradata from MS Access 2007/XP/32bit, let's say I have a table called WELL. In that table, the first (and key) field is Well_Id.    Using DAO, I can say, rs!Well_ID...

View Article

Parameter substitution to allow Explain - forum topic by TGooch44

Is there anyway to get what parameter a given query is using, so that it's possible to explain the query?  Contrived example of what I'm talking about(syntax may not be 100% correct):CREATE PROCEDURE...

View Article

Parameter substitution to allow Explain - response (1) by TGooch44

Hmm the above got kind of mangled with the formatting the second part should read like this:USING _spVV8 (DATE),_spVV9 (INT) INSERT INTO this_tableSELECT col1, col2, sum(col3)FROM that_tableWHERE...

View Article

Parameter substitution to allow Explain - response (2) by tomnolan

A caution -- in case you are asking about in-flight JDBC/ODBC/etc. parameterized queries that you want to explain using a separate session and/or a separate tool like BTEQ. If you simply substitute...

View Article


Parameter substitution to allow Explain - response (3) by TGooch44

Thanks for the heads up.  Yes, being able to access the actual explain for a given session would be best.  e.g MonitorExplain(HostId, SessionNo, runVprocNo) to match with the montiorsession,...

View Article

Problem with Date conversion - forum topic by v_gabrielli

my source file is passing a date of "070206" yymmdd I need to convert the date to: "2007/02/06" can someone provide me the statement. I have tried several methods, have not been successful...Forums:...

View Article


Deadlock Issue - forum topic by JGP@1979

  CREATE SET TABLE ETL_LOG ,NO FALLBACK ,     NO BEFORE JOURNAL,     NO AFTER JOURNAL,     CHECKSUM = DEFAULT,     DEFAULT MERGEBLOCKRATIO     (      ETL_Rec_Id BIGINT GENERATED ALWAYS AS IDENTITY...

View Article

Fastload: Can it Transfer data from One table to another Empty table? - forum...

Folks, I have just stepped in Teradata world. Have a query on Fastload. 1. Can Fastload be used to Transfer Data from Table A to Table B [Empty table]? 2. If yes, does it need to use the INMOD...

View Article


Numeric Overflow error in teredata - response (3) by wicik

hi there,,, unfortunetly I fight with similer problem ;P select   tab_id  ,tab2  ,tab3  ,tab_id_2  ,tab4  ,tab5  ,sum(data_table_uplink)    as total_data_table_uplink  ,sum(data_table_downlink)  as...

View Article

Numeric Overflow error in teredata - response (4) by ulrich

check the data types of  data_table_uplink  data_table_downlink data_table_UPLINK data_table_DOWNLINK data_table__DURATION It looks like the sums are exceding the maximum values for at least one of the...

View Article

Fastload: Can it Transfer data from One table to another Empty table? -...

Hi Adi, #1: yes, insert/select #2: of course not #3: b) Insert/Select into an empty table is highly optimized without Transient Journal (even better when PI/partitioning match and column definition,...

View Article
Browsing all 14773 articles
Browse latest View live


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