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

backup completed with warnings -- netvault - forum topic by venkat4231

Hi all,  I am new to netvault and I am seeing below message in the log file after the backup finishes...  06/01/2013 02:21:01 *** Warning ARC1015:Table "logonoff_hist" : in the process  of getting...

View Article


Numeric overflow occurred during computation? - response (9) by dnoeth

cast(400.000000000 * 100000000  as decimal(38,8)) --> multiplication first, maximum number of digits for the result of the calculationbased on MAXDECIMAL: 18 (fails ), then CAST  cast(400.000000000...

View Article


backup completed with warnings -- netvault - response (1) by dnoeth

Hi Venkat, there was a restore on that table which was not yet finished:  ARC1015 Table %s : in the process of getting Restored Explanation: Dump & Restore can not happen concurrently on the same...

View Article

Numeric overflow occurred during computation? - response (10) by paulxia39

Dieter:        Thank you very much.        I just want to know ,when I excute the follow sql: sel cast(400.000000000 * 100000000 as decimal(18,2)). Does it excute multiplication fisrt or cast first? If...

View Article

Numeric overflow occurred during computation? - response (11) by dnoeth

Now i see, it's magic :-) Don't know the exact reason, this seems to apply the cast before/while the multiplication maybe because (18,2) is within the default precision of MAXDECIMAL?  Dieter

View Article


Numeric overflow occurred during computation? - response (12) by paulxia39

Dieter:         Thank you .         I think you are right.Because when cast to decimal(19,2) it also get error.But when cast to decimal(17,2), there is no problem. Paul

View Article

backup completed with warnings -- netvault - response (2) by venkat4231

Hi, But after the backup completed, I checked and I couldn't find the table in the DB. Also, when the DB is getting backed up, how come restore process starts, it is manually someone is trying to do it...

View Article

DATABASE BACKUP - response (10) by Michaelcanady

wow thats a perfect substitute and impressive knowledge that would help me a lot with this query to set up my database

View Article


Is there any way to handle single digit's in date? - response (2) by...

Thanks Dieter for de promt response :-) One more doubt, do we have anythign similar to handle the timestamp directly or we need to substring and convert it to proper timestamp?

View Article


Is there any way to handle single digit's in date? - response (3) by...

Dieter, Got the function to_timestamp. But this is the timestamp format i am getting from the source"May 10 2013 10:58:04:393AM", how can i load this into the TD table with the datatype as...

View Article

Get last full 20 weeks with function ADD_MONTHS(date - EXTRACT(day FROM date)...

Hi community, first of all, sorry for my bad english, I'm doing by best!  I've a question. I need to get database-entries for the last full 20 weeks, but the query should be dynamic. Example for...

View Article

Is there any way to handle single digit's in date? - response (4) by ulrich

Try SEL TO_TIMESTAMP('May 10 2013 10:58:04:3934PM', 'Month dd yyyy hh:mi:ss:ssssAM')

View Article

Is there any way to handle single digit's in date? - response (5) by dnoeth

The format for  fractional seconds in Oracle is FFx, SSSSS is the number of seconds since midnight. SEL TO_TIMESTAMP('May 10 2013 10:58:04:3934PM', 'Month dd yyyy hh:mi:ss:FF4AM')  Dieter

View Article


CHR function fails - response (3) by Ten98

Teradata does not have CHR by default, your DBA has to install it for you. This is the error message you will get if you do not have CHR installed.Teradata does have an equivalent though, it uses...

View Article

Is there any way to handle single digit's in date? - response (6) by...

Thanks Guys :-)

View Article


Get last full 20 weeks with function ADD_MONTHS(date - EXTRACT(day FROM date)...

This will calculate the previous monday (when your week starts on sunday change to DATE '0001-01-07'): datecol - ((datecol - DATE '0001-01-01') MOD 7)And now it's easy to substract 20*7 days :-)  Dieter

View Article

SQL to find Row Count - response (7) by AndrewSchroter

The column queryid can be used to join those DSBQL tables/views as well as the DBQLOBJTBL together.  Queryid is a system wide unique value. 

View Article


Transposing the data - QUERY - response (6) by indrajit_td

@ulrich - Thank you

View Article

MERGE...WHEN NOT MATCHED INSERT into 2 separate tables - forum topic by tstrick4

Is there any way to have a MERGE INTO statement insert rows into 2 separate tables?  In the example below, t3 is a work table that will hold the value of :a when the WHEN MATCHED condition is not met....

View Article

Retrive column name from the table instead of column value which is having...

  I need column names from the table which is having leading space. To find out this, created stored procedure. The procedure first selecting the columns from the table whch is of char datatype then...

View Article
Browsing all 14773 articles
Browse latest View live


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