How to change the days and hours
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prodregexp_replace (NUMTODSINTERVAL (ABS ((TRUNC (c.so_date) + TO_DSINTERVAL ('0' | c.so_time)) +-(TRUNC (a.sr_date) TO_DSINTERVAL ('0' | a.sr_time)))))
("DAY"), ' ([+ |-]) 0 + (\d+)', "\1\2 days") diff
Hi above is my query, I get the days in this format
+ 1 days 21:25:59.000000000
I want only in 45:25:59
Published by: user9093689 on February 17, 2010 17:56
It would be useful that you posted some sample data and the data types of your columns.
In any case: I've set up a simple testcase, using sysdate and comparing it to 12:00 2 days ago (DATE data type).
Perhaps substr can be useful in your case as well:
SQL> -- generating sample data:
SQL> --
SQL> with t as ( select sysdate dt1
2 , trunc(sysdate-2) + 12/24 dt2
3 from dual
4 )
5 --
6 -- querying sample data:
7 --
8 select dt1
9 , dt2
10 , numtodsinterval(dt1-dt2, 'day') diff
11 , substr(numtodsinterval(dt1-dt2, 'day'), 2, 10)*24
12 +
13 substr(numtodsinterval(dt1-dt2, 'day'), 12,2)
14 ||
15 substr(numtodsinterval(dt1-dt2, 'day'), 14,6) diff_hrs
16 from t;
DT1 DT2 DIFF DIFF_HRS
------------------- ------------------- ------------------------------ -------------------
18-02-2010 03:03:42 16-02-2010 12:00:00 +000000001 15:03:41.999999999 39:03:41
1 row selected.
If this isn't the case, please give us a few examples of data as well.
Tags: Database
Similar Questions
-
How to change the typo and misspelled faults in my PDF?
How to change the typo and misspelled faults in my PDF?
Hi Gerald,
You can download a free trial of 30 days from the following link: https://helpx.adobe.com/acrobat/kb/acrobat-downloads.html
Regarding the pdf edition is concerned, you can click on the "Edit pdf" option on the right pane and easily edit the text in the pdf file. For more details, please visit: https://helpx.adobe.com/acrobat/using/edit-text-pdfs.html
Kind regards
Rahul Tyagi -
How I change the fonts and colors of default return?
I changed the font and the color of the text through the Tools button and the button options and the tab content. I can't find anything tell me how to change the fonts and colors to the colors and fonts by default. Can you advise me? I use Windows 7 Home Premium OS. Thank you.
Hi Brenda19605,
You can use this article to set the fonts and colors: https://support.mozilla.org/en-US/kb/change-fonts-and-colors-websites-use?esab=a & s = do & r = 0 & s = as
The default settings for the police are in this article:
https://support.Mozilla.org/en-us/KB/some%20text%20shows%20up%20bold%20after%20upgradeUnfortunately for the default color has no good reference. For the text, but it is black (most lower-left), the background is white (color above left). Unvisited links is blue (column 8, line 5) and the visited link is purple (column 9, line 5).
Let me know if you need help more!
Lordfreak
-
I don't know how to change the size and quality of the text on the screen on Windows 7
I just installed a new Windows 7 but I don't know how to change the size and quality of the text on the screen. I tried all the things normal, resolution, size of icons, dpi etc but nothing gives me what I want. The text in clear 'wonderful' thing is just terrible. When I go through the 4 steps I see no text boxes which make the text nothing better. All options are terrible, so the result on screen is too terrible. When I do any huge I do not get a full screen of things - view the Start button disappears or I did not closing small cross at the top - of the suggestions to inprove the situation? I must mention that my screen/monitor is 2006 - I need to buy a new one? How much is this Windows 7 is going to cost me, or maybe I should go back to XP!
I sincerely thank all you smart "technicians" for all the answers you always gave myself and all others who ask questions. I'm not too smart with all this new technology as I fell into it very late. I am now in my 60s and only started using a pc when I was over 50 years so... In any case, I asked a question about the size of screen resolution and text and received much good advice from all that you guys. I had recently changed in XP to Windows 7. However, the bit of advice that I was given in 'Cyberking' here at the Portugal had set the resolution of the screen, the advanced settings, 75 to 60 Hertz Monitor tab. Very basic, and the first question asked the technician (Lady) was "what size is your screen? Naturally as a smaller screen that any 'techno' would be considered dead aid, solving the problem was simple and straightforward without me having to stretch my knowledge and my skills by downloading all programes weird (to me) or do the funny stuff in the bios or something else. I send this comment to you for you to realize that the simple solution is not always bad and maybe we should go for the easiest first and then work up to the more difficult ones.
Just for you all to see - now my screen resolution is perfect, the text on the screen is clear and legible without difficulty, even though the size of text and icon is small. Clarity is all!
Thank you all once again! Best regards, Blondie blue.
-
How to change the size and color of 'staticText '?
Can anyone share please how to change the size and color of the object "staticText"?
function buildUI (thisObj) {}
var myPanel = (thisObj instanceof Panel)? thisObj: new window ('pallet', 'Gear of Stress', undefined, {resizable: true});
var txt is myPanel.add ("staticText", [0,0,100,20], "txt");.
txt. newFont, fontSize, color?
Return myPanel;
}
var myToolsPanel = buildUI (this);
I did a quick test on a PC at the office and it seems that Gill without isn't a stock PC police. You could comment on these out or change them to a police stock as Helvetica or something. Once I removed that it has launched on PC very well.
-
How to change the SGA and PGA in 10g r2 RAC
Hello
How to change the SGA and PGA in 10g r2 RAC, its Linux.Hello
Here's the way I followed to change the SGA and PGA in CARS.
--------------------------------------------------------------------------------
Action plan to change the parameter memory in the environment(5/21/2010) of productionNote:
=====
Practice must be done in the DEV/TST environment before going to Production.
Although the procedure can be applied in the testing environment the evolution of values
used in the test environment should be amended since number of RAM are not the
even between the production and test servers.1 changes to these two parameters in one of
the prod instance, e.g. PROD1
====================================================
Connect as sysdba on sqlplus
--------------------------Change:
ALTER system set sga_target = 28G scope = spfile sid ='* ';
Change:
ALTER system set pga_aggregate_target = 4G scope = spfile sid ='* ';
SQL > alter system set pga_aggregate_target = 4G scope = both;
SQL > show parameter pga_aggregate_target;
-should see the number altered on both instancesChange:
SQL > alter system set sga_max_size = 28G scope = spfile sid ='* ';
SQL > alter system set sga_max_size = 28G scope = spfile;
SQL > alter system set sga_target = 28G scope = spfile;
3 stop PROD database (two instances must stop)
$> srvctl stop database d PROD
$>. / $ ORA_CRS_HOME/bin/crs_stat - to check the status of the database4. establish the PROD database (two Forum should be high)
$> srvctl START database-d PROD
$>. / $ ORA_CRS_HOME/bin/crs_stat - to check the status of the databaseconnection in both cases as sysdba to check
--------------------------------------------SQL > show parameter pga_aggregate_target
SQL > show parameter sga_max_size
-should see the number of change always there in both cases
-According to step 1-After confirmation above two parameters are changed on both instances.
-then make the syntax below in a case(5) check that everything is ok
-
Satellite Pro 6100 - how to change the date and time in the BIOS
Hello
I received a satellite pro 6100 that had not been used for some time. Windows does not work then he reinstalled with the good drive.
When I try and windows 'enable', I get the error 32777 and the laptop is unable to connect with the activation servers that a google leads to believe me that the date and time are incorrect in the bios.
I know that Press esc to access the bios but there is no option to change the date and time in there. I put the date / the correct time in windows, but this does not seem to synchronize with the bios. I've updated to the latest version of the bios, but this is not enough.
How can I change or update the time in the bios?
Thank you
Hello
I doubt this time and date setting BIOS does affect Windows activation time Windows doesn t affect it in my opinion. There must be another reason for this problem.
You can activate Windows by phone?Normally the date and time in the BIOS can change you if you mark the date or time, and then press on + or - to change this. Sometimes you have to press PageDown/to the top according to the model of BIOS or laptop.
Usually in the configuration of the BIOS you will find a brief info how changing the values.Check this box!
-
How to change the fonts and font size in sticky notes
Original title: reminder
How can I change the font and font size in sticky notes?
Hi Jerry,
Thanks for posting the question in the Microsoft Community!
See the article to format the text in a sticky note in the site:
Use reminders
http://Windows.Microsoft.com/en-us/Windows7/using-sticky-notes
If the problem persists, or in the future if you face problems of Windows let us know and we would be happy to help you.
-
How to change the time and date on the desktop?
My computer does not show the time and date.
I tried several times to update the date and time, but after the judgment the same problem persists.How to solve the problem?Mr. Thanapackiam I know that this issue please follow my steps
Step 1:-go to the Start Menu and Type "region and language" and press enterStep 2:-go to the location tab and select your current locationStep 3:-go to the Start Menu and Type "Services" and press ENTER. (i.e. open Services)Make sure that the Windows time service is running.Step 4:-click Date and time on the far right of the taskbar. Click Change Date and time settings.Step 5:-click Change Date and time settings button to change the date and timeStep 6:-Click Internet Time to synchronize the time with the Server onlineStep 7:- click on change settings , then update now
Thank you -
How to change the width and height of the title?
Program: First Pro CC
Recently I create da title for my video. I noticed that when I had looked at the preview of the title and the video, the title is so blurry. My settings at first:
How am I able to change the width and height parameters (to make the title more high definition) , without having to create another title in replacement from that Fuzzy? I don't ask if I have to create another title and insert it in the video, and then having to erase those blurry I had to replace. How are you able to change settings of the original title, without having to make a new title? Should I go to the 'Properties' tab when there is nothing at all (as in there is no option to change the w + h title quality) to change the current settings of the title?
-
How to change the vibrance and clarity during editing
Hello
I wonder how do I change the clarity and vibrance imporing RAW PE file.
Concerning
Lightroom is essentially just the dialog box Camera Raw with additional features. So, when you change in the develop module, you are always within Camera Raw. Adjustments Vibrance and clarity are the Raw settings and can not be performed outside the Camera Raw dialog box.
-
How to change the rows and columns of newtabs?
I can't change the rows and columns to mozilla version 33
From topic: config browser.newtabpage.columns shows 5 by default, but these 5 columns appear not only 3 as before. Don't know why, but I use generally not even the default new tab page in my profile daily.
Still works this - https://addons.mozilla.org/en-US/firefox/addon/new-tab-tools/ - extension to change the page of newTab via a user accessible interface name in the Addons, rather than routing autour Manager inside Firefox. I use this add-on in a second profile that I use for my favorite sites
-
How to change the subject and message body of a message alert foglight?
Hello
I would like to change the subject and the message body of the foglight e-mail alert that is triggered from the different alarms. We run Foglight 5.6.4. Can you please direct me to a documentation or suggest the way?
Kind regards
Murali
I got this job with the help of Tim. Thank you very much Tim.
-
How to change the IRQ and address of some of the COM ports
Original title: jcertain
No, I loaded 7 a window in one of our systems. I want to change the IRQ and address some of the COM ports and were not too. In the pasted, you can enter the Device Manager and click on the device, then go to the "resources" tab. There, you can find a box that allows users to disable "USE AUTOMATIC ADJUSTMENT", which would allow you to change the IRQ and address. But for some reason any box is not highlighted so you can not.
Please post your request here:
-
Want 5660 - how to change the date and time
During installation, I thought that I had chosen the date and time. Not happened. After that installation is completed how to make these changes?
Hey @Americanpioneer,
Welcome to the Forums of HP Support!
I understand that you would like assistance setting the date and time on your HP ENVY 5660 e-all-in-one printer. I would like to help you today with these two settings properly. Please follow the steps below to set up your date and time.
- With the printer on, use your finger to scroll to the left on the touch screen (such as a mobile phone) and you will see the installer
- Select Setup to access the Setup menu
- Then tap Preferences
- In preferences, you will see now Date & time
- Contact Date to change the date on your printer
- Affect the time to change the time on your printer
Please let me know if these steps don't resolve your problem. Good luck!
Maybe you are looking for
-
iPhone does not appear in the Photos app
When I opened the Photos app and then connect the iPhone, iPhone sounds and does not appear in the Photos. How to solve this problem? Thank you. 9.3.5 of iOS and Mac OS 10.11.6 on MacBookPro. Thank you.
-
How can I get my desktop to get the photos from my iphone
Using my desktop to be able to download pictures from my smartphone. He acknowledges now that he's here, but can't find the pictures I have on it.
-
Hi guys,. I was wondering on what condition the second case structure will be true? I tried a few times to different values of will I gave to elapsed time, looks anything, it will be always false and real state in the second structure case never exec
-
Outputs USB digital 6008 volts and the current
Hello I use 10 V 500 my power supply to the USB-6008 multifunction Board source. (the power is directly related to the last 2 pins of data acquisition). Now, I am a solid state really attract the 18 my and takes 9 V on P0.0. It works fine, but I wond
-
I am doing some testing with the functions of the Parent/child window in Windows. At this point, just trying to see what I can do and see I can perform some basic window using manipulations, and then I'll do it in a more formal tool. One of the thi