DBMS work schedule goes wrong


Hello

I created a following materialized view

CREATE MATERIALIZED VIEW PUBLIC_ALL_ACTIVE_EMPLOYEES_MV

Full REFRESH

Start by sysdate next sysdate + interval '30' minute

in select * from PUBLIC_ALL_ACTIVE_EMPLOYEES

Select sysdate, mview_name, last_refresh_date of

from user_mviews where mview_name ='PUBLIC_ALL_ACTIVE_EMPLOYEES_MV'

1 29/09/2013-01:57:19 a PUBLIC_ALL_ACTIVE_EMPLOYEES_MV 29/09/2013-01:34:32 a

Select * of all_refresh;

1 AAGOSI PUBLIC_ALL_ACTIVE_EMPLOYEES_MV 60 Y Y N 1497 29/09/2013-01:44:03 a sysdate + interval minute ' 30 "N 1 0 0"

Why next date column gives a time back

SELECT * FROM dba_jobs;

8 1497 AAGOSI AAGOSI AAGOSI 29/09/2013-01:44:03 13:44:03 a 0 N sysdate + interval '30' minute dbms_refresh.refresh ('"AAGOSI".) "PUBLIC_ALL_ACTIVE_EMPLOYEES_MV" '); = "AMERICAN" NLS_TERRITORY NLS_LANGUAGE = 'AMERICA' NLS_CURRENCY = ' $' NLS_ISO_CURRENCY = 'AMERICA' NLS_NUMERIC_CHARACTERS ='.,' NLS_DATE_FORMAT = "DD-MON-RR' NLS_DATE_LANGUAGE ="AMERICAN"NLS_SORT = 0102000200000000 'BINARY' 0

Why next date gives time here too

Thank you

Tony

Hello

Yes the problem was developer tool PL/SQL, which is the old Version of the database.

He is very good with SQL * MORE

Thank you

Tony

Tags: Database

Similar Questions

  • SpreadsheetFormatColumns no work that goes wrong?

    Server: CF10

    Platform: Windows and Linux (Win in windows DEV in PROD)

    I'm so generate this impressive excel file for a client but to get the date fields to behave properly. Everything seems to work perfectly, but when I send data to excel to be generated, excel treats it as any text and when it filed gets sorted it manages it as such.

    More information: the column I'm trying to set up is called Date of arrival it is happen to mm/dd/yyyy format (I tried to format is d/m/YY, but when it happens in the sheet that does not work as well)

    I also included a picture of the sorted row. It don't think it's valid, but it is not just sort in chronological order.

    DateSort.PNG

    Code:

    ("< cfset expandPath("./TDYData_(#DateFormat(now(),'mmddyy')#).xls = filename ") >

    <! - make an object worksheet - >

    < cfset s = spreadsheetNew ("TDYData") >

    <!--> Add a header line

    < cfset

    <!--> format header

    < cfset spreadsheetFormatRow (s,

    {

    "BOLD" = true,

    fgColor = "lemon_chiffon."

    FontSize = 10

    },

    (1) >

    <!--> append query

    < cfset spreadsheetAddRows (s, myExcel) >

    < cfset SpreadSheetAddFreezePane (s, 0, 1) >

    < cfset spreadsheetFormatColumn (s, {dataformat = "d/m/yy"}, 17) / >

    < cfset spreadsheetFormatColumn (s, {align = "right"}, 16) / >

    < name cfheader = "content-disposition" value = "attachment; filename = TDY_Data_ (#DateFormat (now (), 'MMDDYY') #) .xls ">"

    < cfcontent type = "application/msexcel" variable = "#spreadsheetReadBinary (s)" # "reset ="true">"

    Any ideas?

    Thank you

    In my view, that the question is because you do not use SpreadsheetSetCellValue() to enter data.  He will respect your dataFormat.

    It's kind of a pain to enter manually (via cfoutput and cfloop) data in the cells, but it gives you more granular control over things like formatting and others.

    In addition, if you use integers (integers only) in all cells, it will appear as though that is inserted as text, too.  You will need the dataformat, insert data and position the dataformat, once again.  Weird, I know, but it works.

    HTH,

    ^_^

  • Portable drive device goes wrong

    Alerts this disk device goes wrong on my laptop of HP 2000 and said that I have to back up my files or I won't lose them. Indicates the name of the drive is Hitachi HTS543232A7A384 SATA peripheral Disk Volume: C:. D:\  I contacted HP support and they said, it must be replaced.  I don't know much about computers, so I have a lot of questions.  Is this drive the 'hard' for my PC?  About how much how much it costs to get it repaired? It would be cheaper to get a new PC? (paid $300 for this PC) What would make the disc go bad after only a year and a half? It was the result of a virus? It hurt more than if I continue to use my PC t that I tried to use my Norton 360 to backup my files, but I don't know what I'm doing. Norton Save things like photos and emails or it records only the things that make the PC work?

    Very good questions. Yes, it is commonly called the 'hard drive '. An exact replacement for your player is $ 43 on amazon.com:

    http://www.Amazon.com/Travelstar-Z5K320-HTS543232A7A384-internal-drive/DP/B00555EG7S

    For a few dollars more, you can get a larger capacity drive which is faster and improve performance. Let us know if you are interested by this.

    This shows how to replace the drive.

    http://www.YouTube.com/watch?v=Yxs3DgRExaU

    Norton 360 tutorial:

    http://www.YouTube.com/watch?v=QHVDg1dgksY

    You choose what you want to backup. You did a restore DVD when the laptop is new? If this isn't the case, maybe you can always use HP Recovery in the program menu. This will be the easiest way for you to get the software on the new drive.

    Hard drives are very delicate and mysterious and can go bad for no apparent reason, but it is an urban legend that a virus can make a record hard to spoil. That's why we need to save, save, save. Never trust of important data on a single hard drive.

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • Something going wrong on a server that contains information about your user account and the mailbox can not be found.

    Cannot open the e-mail.  I can connect on the MSN home page and when I right-click the outlook icon it shows the e-mail Inbox, but cannot access e-mail.  I just get this error

    "Something going wrong on a server that contains information about your user account and the mailbox is not found."

    This error is on the MS and they are aware and working on a fix.  Have you tried connecting mail.live.com directly using your e-mail address and the password?

    For later use, you would get more (and larger) response if you posted this in the Outlook.com (e-mail) section, where are the experts.

  • I really don't see what goes wrong?

    Hello

    been working on this site and really really can't know what ive done wrong. to consult http://treesbeastsandhairythings.com/test there seems to be a large gap inbetween pictures and I just do not understand why or how his arrival? Ive done the image at the bottom half of the table a background because I put the text and other images ontop.

    If anyone can see where im going wrong, it would be much apreciated!

    Thank you very much

    Ed

    I'm afraid of the way in which the page is put together will cause you more problems on the track.

    The gap is due to which, it seems, combination of things: a dog wandering

    attribute just before to start your nav images, then a line break
    down to the next line.  However, as soon as you remove the offending attributes, your page breaks.

    What you should do (because you use a tabular presentation), 4 separate tables is implemented.

    First table will be your header image (with a single cell table)

    A table with the exact number of cells to organize each of your nav buttons

    Follows that with a table (a cell if you have only one content area and no sidebar) to organize your content

    and a final table to hold your footer information.

    The way in which the provision is now, as soon as you start adding text in this central area guests will collapse even further.

    You have not gone too far in the development of this page, so I would really start before start all other pages, to ensure that it works properly before going any further.

    Hope this helps :-)

    --

    Nadia

    Adobe® Expert community: Dreamweaver

    --------------------------------------------------

    Unique templates CSS | Tutorials | SEO articles

    http://www.DreamweaverResources.com

    --------------------------------------------------

    Book: Ultimate CSS reference

    http://www.SitePoint.com/launch/005dfd4/3/133

    ---------------------------------------------------

    http://Twitter.com/nadiap

  • Link to aurora seems not work - is the wrong url or the server is down? (or is it just me?)

    Update of the Aurora is a failure and I can't download the last Aurora on the firefox site. The url provided points http://www.mozilla.org/en-US/firefox/channel/#aurora to https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/firefox-26.0a2.en-US.mac.dmg and it seems to hang (it seems strange that it is https and ftp...)

    Have you tried to close and restart Aurora?

    If something goes wrong with the updater, so it can get stuck in the connection, especially if a part has been already downloaded (updates\0 folder contains a update.mar file) and in such a case, you may need to delete the folder updates\0 to restart the download of the update of Firefox.

  • Satellite A30 - 614L: Sound goes wrong and stops completely

    After some time using laptop computer, his first goes wrong on and outside and after awhile stops completely. When it really starts to go wrong is quite unpredictable.

    Sometimes after 10 min, but also sometimes after hours. I have tried to re - install the driver the most recent, but which did not help. When the noise was gone, the only cure is a reboot.

    Who knows how to solve this problem?

    Hello

    I put t know why it happens but I read several post in this forum and it seems that this problem has disappeared after completely new recovery with the delivered Toshiba Recovery CD.
    You should also check it.

  • are there any current HP printers that use the HP 02 print cartridges? Old printer C6180 goes wrong.

    are there any current HP printers that use the HP 02 print cartridges? Old Photosmart C6180 printer goes wrong and have a lot of cartridges.

    The Site of HP Pageyield lists the following printers compatible with 02 cartridges:

    I do not believe there are all the models currently available that use cartridge 02.

    I heard that HP has (had?) a trade-in program for its intact packaging expired cartridges.  See this post for a suggestion.

  • Separated from Smartphones blackBerry personal work schedules

    Work of synchronization of Outlook calendar into my BB calendar that my personal Google Calendar synchronizes also who crosses appear on my work schedule.  Don't want my personal calendar showing on the work schedule.  Is there anyway to separate these two calendars?  Maybe like the addition of a second calendar?

    Ron,

    I think that you can be allowed a calendar...

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=8300&message.ID=14298&query.ID=343837...

    TElliott

  • I want to activate my Adobe Acrobat DC, but it indicates that the computer is offline or the clock goes wrong, what can I do?

    I downloaded the trial version of adobe acrobat dc and need to connect now. But he said that the computer is offline or the clock goes wrong, what can I do?

    Hello

    Please see the steps mentioned in this document KB sign of troubleshooting, activation or connection errors. CS5.5 and later, Acrobat DC.

    Kind regards

    Nicos

  • no work schedule elcapitan

    Hello, I wanted to ask you guyz if you have the same problem as I do.

    I tried it like 3 nights, without success. I put my schedule to stop at 01:00 in the morning every day, but this application or how to call the calendar does not work, my macbook never stop himself. How can I solve this problem?

    Greetings P.Potoczky,

    Welcome to the communities of Apple Support!

    Looks like you're trying to plan your Mac to stop at a specific time every day. It also seems that you are familiar with the parameters to plan these time in System Preferences > energy saver.

    To make sure that no step is being omitted, I suggest you read on the following article to ensure that you set your Mac to close properly. In addition, please note that your Mac must be awake and you must be connected so that he can stop at the scheduled time.

    Your Mac must be awake and you must be logged so that he can stop at the scheduled time. If you are not connected or if your Mac is asleep, it will not be closed.

    OS X El Capitan: a schedule for your Mac to turn on or turn off or go to sleep

    Best!

  • NB305-N600 Fn F6 and F7 work (brightness) but wrong way autour?

    Hi all

    I recently bought this netbook for my aunt and I spent the last two days trying to understand this issue I'm having.

    PROBLEM:

    When you press the function key + F6 / F7 brightness does the opposite of the button.

    for example, the brightness by pressing Fn + F6 increase but according to Windows being decreases the brightness...
    & pressing Fn + F7 decrease the brightness but according to Windows increase the brightness

    I googled this and got the following thread:

    [http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=59483 | http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=59483]

    I tried the above, but for me this does not resolve the question :(

    Please help me resolove that my aunt requires the netbook on 27 November, before she goes on vacation.

    Thank you for your help in advance.

    PS: I installed Windows 7 Home Premium 32 bit on it for her. It also has English of the United States in the BIOS with a physical keyboard US... She won't pay £37 for the UK keyboard which is fair enough.

    Post edited by: pete_agreatguy
    The bios and all drivers are up to date :)

    I guess that this problem could be related to the graphics card driver.
    Just to check if its really Intel GPU driver problem, I recommend you to uninstall the Intel graphics driver and test FN F6 / Fn F7 key combination.

    Where the keys work correctly, I recommend you to check the driver version that is installed on your laptop.

    The laptop seems to support the Intel Graphics Media Accelerator (GMA) 3150 and where the driver from the Toshiba driver page would not solve the issue, I recommend you to check the driver from the Intel page.

  • turns off Windows Defender and windows internet Explorer is always not responding - what goes wrong?

    turns off Windows Defender
    internet Explorer Windows Guard does not and any system runs slowly

    Hello

    Do a comprehensive check for malware, and then do the cleaning below. Remember that no one can detect program
    or remove any malware.

    It can be made repeatedly in Mode safe - F8 tap that you start, however you must also run them
    the Windows when you can.

    Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone. (If Rootkits run UnHackMe)

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Malwarebytes - free
    http://www.Malwarebytes.org/

    Run the malware removal tool from Microsoft

    Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.

    You should get this tool and its updates via Windows updates - if necessary, you can download it here.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
    (Then run MRT as shown above.)

    Microsoft Malicious - 32-bit removal tool
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Microsoft Malicious removal tool - 64 bit
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=en

    also install Prevx to be sure that it is all gone.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Prevx - Home - free - small, fast, exceptional CLOUD protection, working with other security programs. It comes
    a scan only, VERY EFFICIENT, if it finds something to come back here or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp  <-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    --------------------------------------------------------

    If necessary here are some free online scanners to help the

    http://www.eset.com/onlinescan/

    http://OneCare.live.com/site/en-us/default.htm

    http://www.Kaspersky.com/virusscanner

    Other tests free online
    http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1

    --------------------------------------------------------

    Also do to the General corruption of cleaning and repair/replace damaged/missing system files.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Run checkdisk - schedule it to run at the next startup, then apply OK then restart your way.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -----------------------------------------------------------------------

    If we find Rootkits use this thread and other suggestions. (Run UnHackMe)

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/a8f665f0-C793-441A-a5b9-54b7e1e7a5a4/

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • How work schedule to only run during a time window

    I have a long task to schedule tasks to process the data.

    I want to only those tasks scheduled to start during a specific window of time each day, probably 22:00 to 06:00.

    If scheduled tasks do not start during the specified period of time, they must wait until the next day to begin to run.

    Each scheduled job to be executed once, then auto.

    How can I go about creating of these scheduled tasks?

    Hi Jeff,

    I agree that the documentation is not clear enough on the objectives of windows.

    You can use windows to change the resources plan, but you can also use them to plan your work.

    I did a simple test in real-time to illustrate the latter.

    At about 10:30 today, I created a table that will be filled by a job:

    CREATE TABLE TEST_WINDOW_TABLE (DATE EVENT_DATE);

    Then, I created a window whose start_date is today at 10:40 am:

    () dbms_scheduler.create_window

    window_name-online "TEST_WINDOW."

    resource_plan => NULL,

    start_date-online to_date (October 4, 2014 10:40 ',' dd/mm/yyyy hh24:mi:ss'),

    repeat_interval => NULL,

    time-interval '5' minutes online

    );

    You can see that this window has a resource plan, and its recurrence interval is NULL (so it will be open only once).

    The window will remain open for 5 minutes.

    Finally, I created a one-time job whose schedule is the previously created window:

    () DBMS_SCHEDULER.create_job

    job_name-online "TEST_WINDOW_JOB."

    job_type-online "PLSQL_BLOCK."

    job_action => ' BEGIN insert into test_window_table values (sysdate); COMMIT; END;',

    schedule_name => ' SYS. TEST_WINDOW',.

    -Online true, enabled

    auto_drop-online true

    );

    Check the user_scheduler_job_log before 10.40 returns no line, doing the work has not started yet because the window was not open.

    Now, 10 h 40, it shows an entry:

    SQL > select log_date, status of user_scheduler_job_log where job_name = "TEST_WINDOW_JOB";

    LOG_DATE                                                                         STATUS

    -------------------------------------------------------------------------------- ------------------------------

    04/10/14 10:40:02, 106000 + 02:00 SUCCEEDED

    Also, the TEST_WINDOW_TABLE has the line:

    SQL > select * from TEST_WINDOW_TABLE;

    EVENT_DATE

    ------------------------------

    04/10/2014-10:40:02

    This is.

    In your case, since you want to do the work a day between 22:00 and 06:00 (duration of 8 hours), the window would look like this:

    () dbms_scheduler.create_window

    window_name-online "YOUR_WINDOW."

    resource_plan => NULL,

    repeat_interval => ' freq = daily; byhour = 22; byminute = 0; bysecond = 0',

    duration-online '8' time-span

    );

    For your work, you may need to specify an end_date if you want to ensure that work gets down if could not operate in its window.

  • something going wrong - CC library

    Everytime I open Illustrator I get this message in libraries that "something went wrong" and will not load. I tried leaving the CC libraries as file suggests, tried to reboot, tried everything, but still does not work... I'm on 2015.1.0 suggestions... any...

    Hello Stephen,

    Please, try the following steps:

    • Close all applications CC
    • Complete the process monitor activity/task manager (CCLibrary).
    • Restart any application and check.

    Hope that helps!

    Kind regards

    Sheena

Maybe you are looking for