need help on sysdate
I want to find the jobs that are omitted in the last hour one time given time.Table / / desc:
-------
number of job_no
status varchar
date timestamp
I tried with sysdate - 1/24, its not coming does not correctly. Please help me.
Thank you
Hello
This can help you,
SQL> alter session set nls_date_format='dd Mon YYYY HH24:MI:SS';
Session altered.
SQL> select to_date(sysdate - ((1*3600)/86400),'dd Mon YYYY HH24:MI:SS') date_sub from dual;
DATE_SUB
--------------------
08 Jan 2010 13:19:17
Twinkle
Tags: Database
Similar Questions
-
Grandma needs help problem "sysdata.xml.
I bought a computer about 18 months ago that started unexpectedly quit after 12 months. No error message. I went back to the provider that did not cause after replacing the power supply and move the surge protection. He replaces computer and transfer data via Acronis. Stops kept happening, but now I get the message that Microsoft has deceted a problem and restarts the computer. When I look into the details, I see whenever there is the same message but with different sysdata.xml figures for example WER-96377-0. I sent this to the supplier who ignores me currently. I ran a scan of Malware and a sweep of CCleaner. I tried to find the file, but it is not visible. I googled the file details and see that this is one problem with others. I have no hope of understanding or to fix this problem myself. What I want to know is it something I should continue with the technician who sold me this nightmare? Why this is happening? Is it her fault or mine? I'm really lost here, oh and frustrated too, I could really do with some advice on how to proceed.
Thanks in advance.
You are welcome.
Quite often blue screen errors are caused by a faulty driver. The pilot could be a hardware or software driver.
Blue screen sometimes errors are caused by defective hardware.
By looking at the files minidump would give an indication of what (s) or material may have caused the accident.
If the person tries to solve the problem has a background in troubleshooting blue screen error then there is a good chance that he or she can decide the issue.
If the problem is software it might follow you for Windows 10 so it's best to try so to resolve this matter before the upgrade.
Obviously if the problem is hardware problem would be independent of the operating system.
If you have a new computer the problem would follow you if the problem was software and that you have installed the same software on the new computer.
-
Need help on code PLSQL bit reality
Hello
I need help of reality bit on encoding.
I want to code a procedure that looks like where is a row in a table that is older, then a day and remove this line, but before that he sent an e-mail to the e-mail address that is stored in this row of the table.
Here is the example:
Table name: une_table
Columns: Username | SOMEINFO | CREATE_DATE | CODE_THING | EMAIL_ADDRESS
Lines: user1 user1info 4 April 15 06.15.45.00PM XY2ZH89J [email protected]
User2 user2info 4 April 15 06.15.45.00PM KJH43TZH [email protected]
util_3 user2info 7 April 15 09.10.35.00PM LQT3B8N [email protected]
My test of this code (it just an example):
DECLARE l_emailadres varchar2(50); BEGIN SELECT email_address into l_emailadres FROM some_table WHERE create_date < sysdate -1; APEX_MAIL.SEND( p_to => l_emailadres, p_from => '[email protected]', p_subj => 'Email Info', p_body => ‘Your row was deleted!’); APEX_MAIL.PUSH_QUEUE(); DELETE FROM some_table WHERE create_date < sysdate -1; END;
The problem is that there is more than one line which is given back then it gives me an error "in l_emailadres" because there is that [email protected] and [email protected] are selected.
I need a solution on this.
I'd appreciate any help.
Of course, it would be better if someone can give me a code example.
Thank you!
Of course, it seems that apex_mail.push_queue () performs a validation. It does not work with a 'for update cursor.
Therefore, place the push_queue after the loop:declare
cursor c_x
is
Select email_address
of une_table
where create_date< sysdate="">
update the email_address;
Start
for in c_x r_x
loop
remove from une_table location being the c_x;
apex_mail. Send
(p_to-online r_x.email_address
p_from-online "[email protected]"
p_subj-online 'E-mail Info'
, p_body => "your row has been deleted!
);
end loop;
apex_mail.push_queue ();
end; -
Hello
I need help to form a query. I have two tables Support_issues and Support_comments with the information below.
I want to create a query to view the account of the situation for the last 15 days until today.
Sample Input data support_issues: ISSUE_ID ISSUE_DESC CREATION_DATE STATUS 1 AAA 01/NOV/2011 Open 2 BBB 02/NOV/2011 Closed 3 CCC 02/NOV/2011 Open 4 DDD 03/NOV/2011 Reopened 5 EEE 03/NOV/2011 Reopened support_comments: COMMENT_ID ISSUE_ID COMMENT_DESC STATUS UPDATE_TIME 101 1 aaa Open 01/NOV/2011 102 2 bbb Open 02/NOV/2011 103 2 bbbbbb Closed 03/NOV/2011 104 2 bbbb11 Reopened 03/NOV/2011 105 3 ccc Open 02/NOV/2011 106 2 bbbbb Closed 03/NOV/2011 107 4 ddddd Open 03/Nov/2011 108 5 eeeee Open 03/NOV/2011 109 4 343434 Closed 06/NOV/2011 110 4 dfdf Reopened 07/NOV/2011 111 5 dfdfdf Closed 08/NOV/2011 112 5 udehjk Reopened 10/NOV/2011
For "Created" count of status must be taken Support_issues table, for others it must be taken from table Support_comments.Sample output: DATE Created Reopened Closed 28/OCT/2011 0 0 0 29/OCT/2011 0 0 0 30/OCT/2011 0 0 0 31/OCT/2011 0 0 0 01/NOV/2011 1 0 0 02/NOV/2011 2 0 0 03/NOV/2011 2 1 2 04/NOV/2011 0 0 0 05/NOV/2011 0 0 0 06/NOV/2011 0 0 1 07/NOV/2011 0 1 0 08/NOV/2011 0 0 1 09/NOV/2011 0 0 0 10/NOV/2011 0 1 0 11/NOV/2011 0 0 0
Please help me to form a query for this!
Thank you
MukeshHello
Try the following query
with t1 as ( select to_char(sysdate-level+1,'dd-mm-yyyy') as date_range from dual where level<16 connect by sysdate-16
Cannot test because I did not create, insert commands...
-
I need help converting a Crystal Reports formula for a logical column field in the responses.
The current formula is:
(90 - (trunc (sysdate) - greatest (NVL (trunc (logondatetime), to_date (' 01/01/1980 ',' mm/dd/yyyy')), (createdate) trunc, trunc (modifydate))))
Thank you!in the physical layer of the RPD create physical table - select sql
type this formula in the sql windowname of the pass for example col1
Drag this pass to the business model, then the presentation layer
Now you can use it in your reports, as the pass is get calculated next to the RPD will be also faster
-
my iphone need help doesent work!
my iphone need help doesent work! 5 minutes ago my iphone 4S felt on the ground and now it doesent start but I can still hear the sound of loading until I can do?
PS: Sorry for my bad English, I'm from the Germany
Try restarting it by maintaining deep-set buttons home and power together. It may take up to 20 seconds. If she does not return to life, better make an appointment at the genius bar to your Apple store.
-
Recently had to withdraw Windows 10 votes against 7, on doing so, iTunes didn't work. I tried to remove iTunes, but get an error not found the path iTunes6464.msi. So I can't uninstall. I tried to download the latest version, but when it comes to uninstall the old version it fails because it cannot find this file. Need help to remove and reinstall so it can connect again my devices.
See this user of ASC. See the section on deleting and reinstalling iTunes. Troubleshooting problems with iTunes for Windows updates
-
NEED HELP Please im having a problem to forget my password and when I plug it it says its locked with a password he tried to put the itunes thing but it says enter password I put in what I rember, then said lokced for five minutes help me pls
Without knowing the password for your iPhone, there is no way to unlock it, bring even you to the Genius Bar. If you continue to enter the wrong password, you will be locked out of your iPhone, and your data will be unaccessable.
-
I need help to recover my iphone
I got my iphone 6 for more than two years know I default to set up factory reset me gives error tha my sim card is not supported, but I've been with you even with the phone sim card before I reset it please need help.the phone imei-* please help me.
< personal information under the direction of the host >
It sounds as if your iPhone may have been hacked for use with the carrier that you used, and now that you have updated, it is locked to the original carrier.
-
Need help to install iTunes v12.4.3.1 Windows 10
I've tried everything to make it work:
1. I tried to disable my antivirus before installing
2. I tried to install as administrator
3. I have tried to uninstall all relevant applications of apple.inc, restart my pc and then install again
4. I tried to update my Windows
I had iTunes installed before on my Pc with Windows 10, but two days ago, I restored my pc and now I can't install it.
Please I need help
The message "an error occurred during the installation of assembly ' Microsoft.VC80.CRT, type ="win32", version ="8.0.50727.6195", publicKeyToken ="1fc8b3b9a1e18e3b", processorArchitecture is...» "may occur because a particular library file is not included in the supplied with iTunes distribution package or will not be installed because some unspecified reason. Install Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC security update before you attempt to reinstall iTunes can help.
There are three files to choose from if you need choose the one that matches the processor architecture of your system, which must be indicated in the error message.
- Vcredist_x86. EXE - 32 bit systems
- vcredist_IA64. EXE - Itanium processors
- VCRedist_x64. EXE - other 64-bit systems
When to reinstall iTunes, right-click on the Setup and run as administrator.
See troubleshoot problems with iTunes for Windows updates for more information if necessary.
TT2
-
photos were deleted from my phone? !!! need help urgent pls
So I'll start from the beginning.
So at the beginning I had 5200 pictures and everything was fine, except that I couldn't take any pictures on Snapchat. So I decided to delete some pictures. Except sometimes just deleted photos would return as 2 seconds. And sometimes I would say 5 photos selected, but I couldn't see anything selected? Or I have to press SELECT again and again.
at least one forward a few hours and I received on my phone, except that now it says I have only 3600 pictures! I lost a few photos, especially those previously on my phone, then some of the pictures I deleted months ago as last year are back. And I have pictures on my recently removed, but not the ones I lost!
I feel that my phone is somehow back in time or something.
And I lost a few photos of a wedding and I regret totally stayed so much (((pls est de toute façon??))
also, I need help using http://www.ipad-converters.org/recover-photos-from-iphone/ this type also.
Hello
When you recharge an iPhone / iPad, it will be saved up to iCloud on wifi you
Restore the original configuration.
When configuring back it will ask you if you want to use iCloud backup say yes
Use the backup of a time where you had all your photos.
See you soon
Brian
-
After I updated my iPod wants a lock to activate I need help ASAP
After I updated my iPod lack of activation I need help ASAP
Help here > If you do not activate your iPad, iPhone or iPod touch after installing iOS 9.3 - Apple Support
-
Hey, need help. I get this in my iPhone that 'there is a problem of billing with a previous purchase. Please update your payment method"anyway I can remove my visa card from iTunes?
You must pay your debt first.
-
I need help I want to retrieve my mac pro book
I need help I want to retrieve my mac pro book and now I can not bcz Yosimoto os is not avilabe what can do?
< object edited by host >
If you have installed Yosemite by downloading it from the App Store, it will be in your App Store purchases tab. If Yosemite is currently installed, when you start in the recovery Partition (command - R on a restart), you can reinstall Yosemite. In the recovery Partition, you can also restore Time machine and disk utility is available.
-
My iPhone's screen is loose and it's almost fall! I need help!
I need help! How can I do? I need help! How can I do? I need help! How can I do? I need help! The screen was pressed by my body, so the screen is loose. And the screen becomes softer and more flexible. But the screen can be used normally, the screen is loose and it's almost fall.
Take your iPhone to an Apple Store or Service Center authorized Apple for an assessment and advice how to proceed.
Maybe you are looking for
-
The old functions drive crashed motherboard perfectly in this most recent computer as drive "F". However I can't find a way to access the library from the bookmarks that I had before moving here, this player to the newest computer then reinstall fres
-
HP Laserjet 2542: Wireless connection to 2542
I'm trying to connect my deskjet 2542 to my wireless router. The router has a WPS button, but I can't get the blue light on the printer wireless to stop blinking when I try to connect. I press the blue wireless button on my printer for 3 sec and th
-
Some updates could not be installed. Update of security for Win XP (KB973869).What it means. Thank you.
-
Hi allI have a Dell Inspiron 14z 5423 Ultrabook. I have Windows 7 installed in it. I try to install RHEL 6 alongside windows.I've installed RHEL on most older PCs, but this one is new technology with 32 GB SSD + 500 GB HARD drive with the hybrid tech
-
Package and drop on GRE tunnel CPU high usage
Hello world We have GRE tunnel between 2 sites. Users have complained about the slow pace and I checked the CPU usage is too high. She went from 40-70% on average in the last hours. Here is the setting of the tunnel interface MTU 17916 bytes, BW 100