Quantcast
Browsing all 14773 articles
Browse latest View live

DDL/DML Version Control - forum topic by pawankumarjha

Hi Teradata Gurus, I am relatively new to Teradata and using Teradata ver 13 SQL assistant. I need to verify from the experts whether there is any version control in place in Teradata for the code we...

View Article


calling a SP inside a SP. - response (4) by Fred

See the explanation and chart in the DDL manual under CREATE PROCEDURE regarding which user's and/or database's rights are checked with different SQL SECURITY options. For this case specifically, if...

View Article


2644 - not recorded in DBQL - forum topic by Smarter_teradata

Hi All,  Recently one of our fastload job got failed with the error "no more room in databae" but it was found that  there is no entry in the dbql tables for the above failure. After adding space, the...

View Article

Average of volume by weekday and hour over range - forum topic by Dolm

  I'm trying to calculate the average number of calls for a given weekday by hour of the day.  I've tried nesting aggregates byt it always comes out to 1, rather than the actual average.  Here's what...

View Article

Average of volume by weekday and hour over range - response (1) by dnoeth

You group both times by the same columns, if i understodd you correctly you have to group by date/hour first and then by weekday: SELECT creation_dt (FORMAT 'eee') (CHAR(3)) ,AVG(CASE WHEN "hour" = 0...

View Article


Average of volume by weekday and hour over range - response (2) by Dolm

Thank you Dieter! I wound up using the calendar to divide by the the number of days in the date range, rather than only days with data. You've helped me tremendously!  SELECT dt.dayofweek,...

View Article

tuning the Skewed joins - response (3) by sureshv

Hi Dieter,  Thanks for the reply. I tried with the above union all . the cost is somewhat reduced. but the problem is in the query i have 2 INNER JOINS with this type of skewed column on single side....

View Article

SUBSTR without explicitly coding the length parm - response (4) by ronirwin

Thanks for the explanation

View Article


View columns explicitly titled - where are the titles stored? - forum topic...

Hi all We are implementing an Ab Initio based metadata solution for our DW. However we are hitting a minor issue with fields that have been explicitly titled differently to the the underlying table...

View Article


Teradata 12 VMWare Image - forum topic by lucasm

The download page for the 12.0 VMWare Image appears broken. http://downloads.teradata.com/download/database/teradata-express-12-0-for-vmware-player-40-gb Has this been removed?Forums: Database

View Article

Restrict User view of DBC.Tables - forum topic by ALovick

I have a user who I want to restrict to only seeing certain databases and tables. Currently DBC.Tables and other associated views allow them to see table structures on most databases. How do we lock...

View Article

Drop Temporary Tables - response (4) by ALovick

Thanks Dieter!

View Article

Help With Exception Handling - forum topic by acire818

I am new to teradata.  I have created a Stored Procedure that pulls SQL statments from a table, execute those statementes and places the results in another table.  If any of those SQl statements fail I...

View Article


Odd timestamp applied in update when timestamp variable in stored procedure...

In a stored procedure a timestamp variable has been set (via a cursor select) to null. When using that variable to update a timestamp column of another table, the updated value resolves as 0000-00-00...

View Article

Training - response (3) by sankar.suneetha

HI,I'm taking Teradata Training from Manohar....It started in may2013... The training was excellent.....He explains everything in detail......overall approach was good... Instructor...

View Article


Minute Difference Between Time Datatypes - forum topic by ciw916

I am trying to filter transactions that are less than 5 minutes apart.  In trying to develop this filter, I keep running into error messages.  The two columns I need to find the difference for are TIME...

View Article

Minute Difference Between Time Datatypes - response (1) by dnoeth

The difference between two timestamps is an interval: (SEC.CALL_START_TM-PRI.CALL_END_TM) interval day(4) to second AS TIME_DIFF WHERE TIME_DIFF <= interval '5' minute Dieter

View Article


Restrict User view of DBC.Tables - response (1) by dnoeth

Revoke the access rights for dbc.Tables etc. and tell the users to use the X-versions, e.g. there's dbc.Tables and dbc.TablesX. dbc.Tables returns rows for all objects within the system, while...

View Article

View columns explicitly titled - where are the titles stored? - response (1)...

Hi Simon, it's not stored in any easily accessible way, just in dbc.tvm's RequestText or CreateText. It's parsing time :-(  Dieter 

View Article

DDL/DML Version Control - response (1) by dnoeth

Hi Pawan, there's no built-in version control, Teradata doesn't store "previous" versions. To achieve your goal you might use some external version control software like Subversion.  Dieter

View Article
Browsing all 14773 articles
Browse latest View live


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