job help

Hello

This is the procedure... I have to put this procedure in a job. The task will run every day 02:00 I need little help
In my code there are two sysdate + 1 are there... But Iam not sure this is correct. I need to run this procedure at 02:00 every day.
Please help me...

CREATE PROCEDURE update_your_table
AS
BEGIN
  UPDATE your_table
     SET col1 = 'N'
   WHERE col1 = 'Y';
 
  UPDATE your_table
     SET col2 = 0
   WHERE col2 = 1;
END;
 
DECLARE
  l_jobno pls_integer;
BEGIN
  dbms_job.submit( 
    l_jobno, 
    'BEGIN update_your_table; END;',
    trunc(sysdate+1),
    'trunc(sysdate+1)'
  );
  commit;
END;
Concerning
SA

pls explain me... since 3 hours breaking my head... on this... ?

During the 3 have hours you ever tried to Read The Fine Manual for examples of work?

http://www.Oracle.com/pls/db102/search?remark=quick_search&Word=dbms_job&tab_id=&format=ranked

Tags: Database

Similar Questions

  • Requested job helping doesnot "Lightroom help...". »

    I installed 6 Lightroom, 10 Windows and using Firefox as a browser standard.

    When I ask the help of the «Help with Lightroom» toolbar... "I got the message:

    http://community.stage.Corp.Adobe.com/chcservices/services/redirect?u=http://help.stage.ad obe.com & p = Lightroom_6.0 & l = nl_N...

    'Server not found '.

    What is the problem?

    Kind regards

    Piet Heemskerk

    You must apply updates to Lightroom. There was a bug in the initial release.

  • Problem with creating jobs

    Hi all

    For the component ID snap of creation, I created a job help
    SQL > START
    DBMS_JOB. SUBMIT (: jobno, "statspack.snap (7);", trunc (SYSDATE + (1 / 24), 'HH'),'trunc (sysdate + (1/24), 'HH')', true);
    COMMIT;
    END;
    /

    But this brings me error like

    DBMS_JOB. SUBMIT (: jobno, "statspack.snap (7);", trunc (SYSDATE + (1 / 24), 'HH'),'trunc (sysdate + (1/24), 'HH')', true);
    *
    ERROR on line 2:
    ORA-06550: line 2, column 103:
    PLS-00103: encountered the symbol "HH" when expecting one of the following conditions:
    . ( ) , * @ % & | = + - <>/ at is mod not rank rem = >
    .. < an exponent (*) > <>or! = or ~ = > = < = <>and or as
    between |
    The symbol "." has been inserted before "HH" to continue.

    Can someone help me out here please?

    You must escape single quotes in the expression of the interval using two single quotes

    Try this

    DBMS_JOB.SUBMIT (:jobno,'statspack.snap(7);',trunc ( SYSDATE + (1/ 24), 'HH') ,'trunc(sysdate+(1/24),''HH'')',true);
    
  • My ENVY 17-j092nr Notebook PC flicks or vibrates randomly on the log screen Windows and other software

    Im a pc user ENVY 17-j092nr Notebook PC (windows 8.1 with all the drivers) and the OS updates works very well, however sometimes im getting an annoying error that allows windows vibrates like crazy, the problem is a little weird to explain, it makes the BAR on explorer.exe folder flick and other executives 'content' of several software Firefox for example the top bar which is orange starts helpeless flick, or in vlc, it even move, and then the worst on the windows log screen, which makes my movies quick photo from the left to the centre several times per second, making it impossible to write any Password and its annoying when especilly simple pass off work (problem happens very often, but I'm not complaining here).

    The thing I've tried:

    -Change of mouse and video installation, screen, mouse and other dirvers in addition to their update.

    -With the help of build of Windows and external software trouble and repair ultilities.

    Updtading - OS (why? dk but I tried alternatives).

    -Electricity disconnection when this occurs (as sugested in other forums), did not work.

    -Clean the fan and avoiding any external particle on the laser mouse.

    Well well, not that im complaining about the laptop, which work very well over a budget, like it, it's just that the error which bug my HP to be good (if not perfect) experience, please someone help on this im looking forward to HP service work to help me fix this problem for good, is really annoying, especially when you try logging thx.

    I'm not Dunidar thank you for you time to grow another, I opened the cover of portable and yes I found a few in there, dead ants cleaned that upward I don't mind much about warranty or anything like that in any case thank you for your attention, you did a wonderful job help here , the problem has not demonstrated again the science I did it this morning so I think the ants where to do this kind of electric bridge I guess I DK much to this topic but, once again, thx for you excellent support cheers.

  • Printer only prints on the web

    have a photosmart 7660 and it prints on the web, but not from Notepad or any other type of doc's... all I get is a blank page. already removed the printer drivers and reinstalled get them the same results

    Hello

    1. don't you make changes to the printer settings?
    2. how the printer is connected to the computer? It is located on a network or locally connected?
    3. what kind of documents, you cannot print?
    4. do you get an error message when you try to print from Notepad?

    Method 1.
    For troubleshooting steps and an automatic fix for common problems of printer in Windows, see the Microsoft web page at the following address:
    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    Method 2.
    Check if the compensation print job helps.
    Reference:
    How to cancel printing or to delete a print job that is stuck in the print queue in Windows XP
    http://support.Microsoft.com/kb/946737

    Method 3.
    Also, you can refer to the methods and other links listed in the articles below and check.
    You cannot print documents after upgrade to Windows XP
    http://support.Microsoft.com/kb/315325

    Resources for the resolution of the printer in Windows XP problems
    http://support.Microsoft.com/kb/308028

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Cannot print photos!

    Whenever I try to print an image of Windows live photo gallery or windows photo gallery or microsoft picture manager or anywhere! a small box appears with a white cross in a red circle that says "the following error occurred while trying to print your photo:" and then there is no error listed! thebox just guard duplicating itself again and again and again and it won't let me out!  I click X or cancel it and it just keeps me beeper and duplicating itself over and over! I have to go to the Task Manager to get out and end of job help! I'm on a Windows Vista Home premium. Thank you

    Hello

    Welcome to the community Microsoft and thanks for posting the question.

    According to the description, you are having problems with printing the photos.

    What is the brand and model of the printer?

    This problem persists due to a file corruption in the user account.

    Method 1: Make the SFC (System File Checker) scan and see if the problem occurs.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    Method 2: Create a new user account and check if the problem persists, if the problem does not persist in the new user account, then you can fix the damaged user account.

    Create a user account (Windows Vista)

    Screw a damaged profile (Windows Vista)

    Answer to us if you are experiencing problems with printing images or any other problem of Windows, and we would be happy to help you.

    Good day!

    Hope this information helps.

  • Why my computer becomes so slow all of a sudden?

    I'm not sure what the other guy is talking about, but you did a great job helping me.  I just returned from a much needed vacation and now I have a new hard drive, Dell gave me for free under warranty.

    Thank you very much for your help!

    Well first stop using any registry cleaner, these tools are not necessary and in the worst cases can make the system unusable. Then throw.

    How to make the PC if you boot?

    Have you scanned for malware? http://www.Malwarebytes.org/products/malwarebytes_free (free Version)

    You ran chkdsk? (see help & support)

    I'm not agree with the above statement, that registry cleaners are not necessary. Most of the software built for windows at some point create registry entries - unless they do not need installation and are just .exe to the exodus or portable versions maybe... but...
    The point is, the more you install as much as is written for your victory. Registry. Once u uninstall a program/game for a reason, they get left behind again by official uninstalers. If after some time your registry database is saturated with useless stuff and if you're not careful also, it breaks and it slows down your windows.  I discovered that the best way to prevent these contingencies is that simply do not experiment you a lot with facilities of different things unless it is necessary to absolutelly. Perform a scan to reg after uninstalation of sw. ; remove unnecessary entries, defragment. Reboot, defragment your hard drive. later and you're done until the next uninstall.
    I had very few issues with my pc without any antivirus and anti spyware software tips for 5-7 years - and those that I had were a result of a fake a click. So if you're just a little more intelligent and knowledgeable about what you do online, you won't really miss these kinds of bloatware (s)

  • I want to remove an undesirable element in an image PS CS5

    I'll take a photo of a storefront.  I know that this photo will have poles in front of the store, I want to remove.  Not knowing how to do I searched and found info on ' Content Aware Fill '.  This is what I should use or are there more effective ways.http://ntt.cc/2010/11/12/25-so-amazing-photoshop-cs5-video-tutorials.html

    Thank you

    Mike

    Content Aware Fill can often do an AMAZING job helping you remove credible of the elements of an image.  The other day, I removed a floor lamp that was more in addition to the top of a car, I photographed.  It has saved me a huge amount of time, fill in the trees and the clouds very credible.

    But Content Aware Fill cannot do work perfect all by itself, in which case you may want to do some cloning or the use of the healing brush and Patch tool.  A look at the result of your criticism, because there is nothing worse than seeing a Photoshop shoddy or incomplete work in the press.

    Sometimes there is not escape with the help of a bit of elbow grease, work out the details.  Do not hesitate to spend the time it takes to do a good job.

    Good luck and have fun!

    -Christmas

  • I do not see any video like youtube, vimeo, facebook even site. My flash player is installed and it is a job because I still can see the video in Internet Explorer only on Firefox it audio only not working, the video is blank (black) all, someone can help

    I don't update or download anything, so today, I can't see any video like youtube, vimeo, facebook even site. My flash player is installed and it is a job because I still can see the video in Internet Explorer only on Firefox it audio only not work, the video is all blank (black).
    When I restart my PC again the video can work just first video, then when I see another video site it's all black... (but its still working)
    can someone help me?

    Hi splingun,

    We have a section of fixing Facebook and YouTube. The black screen seems expressly included in the list of the articles I linked to you.

    Hope this helps!

  • I have several jobs calendar, I want to trigger one completion of another should begin. Someone help on this.

    In my windows 2003 server, I have more than one schedule jobs, I want to trigger one completion of another should begin.

    Job will import and export data from applications.

    Someone help on this.
    Kind regards
    Ahamed.R

    Hello

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for Windows Server on TechNet. Please post your question in the Windows Server forums.

    You can use the link for your question: http://social.technet.microsoft.com/Forums/en/category/windowsserver/

  • Why do I need to reboot between print jobs? I downloaded a patch for my printer, but it did not help.

    Why do I need to reboot between print jobs?  I downloaded a patch for my printer, but it did not help.  Print jobs appear in my queue of the printer but does not print until I reboot between each job.

    I downloaded a patch for my printer, but it did not help.

    Hello

    This patch you downloaded and whence?

    I suggest that you do the following:

    Go to your printer manufacturer's Web site > key in your printer model number and operating system.

    Uninstall/reinstall your printer using the latest drivers from here your operating system.

    Most of the manufacturer will also have troubleshooting steps for you to take registered there, too.

    This can also help you:

    "Solve printer problems.

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-printer-problems

    "Solve printer problems.

    In the upper right corner, select your operating system from the menu drop-down.

    http://Windows.Microsoft.com/en-us/Windows/printer-problems-in-Windows-help#fix-printer-problems=Windows-XP&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    See you soon.

  • Fill out the job application... Disable AutoFill. Help!

    I am completing an online job application. The application is in pdf format. This is an application that you do not have to print, just click on submit when it is filled. My problem is that no matter what area is the same, the labeled automatically form he fills for me using information previously provided. For example, the application asked me my address. I typed in it and any other area which is the label address filled in also. So when I got my previous job information, he asked the company address dethrone, I worked and it was already filled with my home address. When I changed to the address of the company, it changed my home at that address also. Help! I've tried everything.

    It seems that the form was poorly built. As you have noticed, the fields have the same names, they will automatically fill with the same information. This isn't a setting on your end that you can edit, but rather one that is embedded in the PDF file.

  • Job search print a photo from iPhoto ' 09 book.  Any help?

    Apple apparently does not support books of photos from iPhoto ' 09 (8.1.2) more.  I tried to install Updater 1.1, but it does not help.  I created a photo book.  Is it possible to export it to another program to print.  I have an old MacBook and can't download the pictures OS X.  Thanks for any help you can give me.

    Apple supports more iPhoto on a never and a half and abandoned nearly six months iPhoto print products there is-, you can migrate Photos under El Captain but print products migrate well - PrestoPhoto print iPhoto books

    LN

  • I've set up a master password and for some reason its not recognize and cannot enter the e-mail and job site. I tried to delete it, but can not. Help

    I tried to take out additional coverage on the internet with a master password. Unfortunately what I typed to the origin is not excluded or recognized. This causes me a major problem due to one of the sites I use for work being blocked, as well as my original e-mail. How can I solve this problem? I tried to turn it off, but it requires the correct password and it does not work. Don't know what happened or if I typed a wrong typo. Can you help me on your end?

    PAM

    Firefox master password feature protects your saved passwords. However, even if you are unable to access your saved passwords, you should be able to connect to the site manually (by typing your user name and password). Is that somehow have blocked as well?

    If you have forgotten your master password, you can delete and create a new. However, I think that will also erase all your saved connections and you will save them again. More information on this: reset your master password if you forget.

    If the problem is not with the Firefox built-in password manager but another (add-on, the external program), then steps would be different, but they depend on what you use.

  • With the help of Windows 8.1. How can I delete a print job in the print queue has hung up?

    I have a print job that has been delete forever and will not respond.  He is suspended and cannot allow anything else to be printed.  How can I remove this.  I have windows 8.1.

    Hello

    From the desktop, hold down the Windows key and press R.  In the run window, type services.msc and press to enter.  Scroll down to the print spooler service, right click and select Properties, then click the Stop button.  Now search for C:\Windows\System32\Spool\PRINTERS, then delete the work inside this folder - you may need to click a command prompt to get the authority to open the PRINTERS folder.

    Restart the computer and you should find that the document has been deleted.

    Kind regards

    DP - K

Maybe you are looking for

  • Key combinations give bad result?

    Hello I recently bought the HP Pavilion 15-e007tu from an ecomerce store. I just found out that when I press on "shift + 2" for typing ' @' he doesn't but double quotation ("") is a combination. "." In the same way when I press the combination 'shift

  • Satellite A300: Polish character does not appear using hotkey with 'c '.

    Hey,. I am user of Toshiba Satellite A300 and early on, I discovered that there the combination Alt + C assigned to commissioning ATI - Catalyst Control Center. Unfortunately this combination should normally produce Polish characters 'Â' (it seems no

  • Yoga 2 1050f touch screen does not

    OK, so I thought that all problems were gone after my last frost. now, I turned on and the touchscreen is unresponsive to a touch and I have no idea how I can restart lol

  • C310a - I can't stop all the HP error message pop up when I start my computer

    Lately and since the fitting (authentic replacement) cartridges, the error messages - jam paper, cartridge problem paper loading, insist on popping up over and over again, even if I click on the relevant Red Cross to close. I tried the * beep * and o

  • BlackBerry Smartphones can not find loader.exe

    HelloMany references are made to the use of enforcement loader.exe in c:\program Research in motion\apploader when reloading the Blackberry OS instead of using BBDTM.I am a new user of Blackberry and charge of the BBDTM, version 5.0.1.18, which came