Help on request

Hi team,

I am using oracle 11 G, on my database for several systems running multiple backup targets so far

I need to find out whatever the most recent execution passed for this task id, I need to get the value of start_time, end_time, taget_name.

I created the query, but it is throwing error.

can you please help me out here.

with abc as)

Select max (b.start_time) in the "start_t", b.job_id of the WORK of $ MGMT, MGMT$ JOB_EXECUTION_HISTORy b where ".

a.job_id = b.job_id and

b.target_name is not null

and B.STATUS = 'Succeeded'

and b.job_name like 'DF_RMAN %' group of b.job_id)

Select * from abc, (select * from MGMT$ JOB_EXECUTION_HISTORy) def

where abc.job_id = def.job_id and = def.start_time abc.start_t (sql, not allowing me to use me abc.start_t here)

Select max (b.start_time) as 'start_t '.

and abc.start_t = def.start_time

Remove the quotes around the first "start_t" or add them to the second.

Tags: Database

Similar Questions

  • Need help to request a code signing key

    Hello

    Unfortunately, a forum search has not revealed anything and since I can't find any way to report problems with the site of the developer of the RIM, so... here go us:

    As a first time dev, I just downloaded the SDK and emulator, the I tried to go through the "getting started" doc As a first step, it says:

    "Request permission to sign BlackBerry Tablet OS applications by completing the web form at
    http://developer.blackberry.com/native/beta/signingkey . After your application is accepted, youreceive two CSJ registration files by email. One file allows you to configure your keystore to sign
    applications; the other file allows you to create debug tokens. Each file arrives in a separate emailwith information about the purpose of the file attached."
    

    Well that's where I'm stuck already: after completing this form, when I hit the submit button, all I get is:

    Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in
    /opt/sites/native/app/libs/sanitize.php on line 451
    Cannot redirect! Headers have already been sent!
    

    So apparently some PHP - guy didn't properly test its code of form validation.

    Saddest:

    The link only I could find reviews of the website was. to http://us.blackberry.com/contact/ (mailto link [email protected]). And send a report to this address just resulted in a response canned (useless), saying that the mail was not delivered, and I should find an alternative care option (followed by several products related links).

    Well: I don't have a problem with products like software development kits, software, peripheral... my prob is the RIM site itself!

    So I hope that some members of the staff on BOARD reads this and can direct me to the appropriate Department...

    Clueless

    -Fritz

    Hi people,

    We are aware of the issue and helping them to solve.  Must be addressed very soon.  In the meantime, you can order keys directly here https://www.blackberry.com/SignedKeys/

    shape is slightly different but its attached to the same system of back-end and you will get the same keys

  • Need help on request

    Hello


    Could someone help me please on this query:


    drop table tt1;

    create the table tt1 (id number);

    Insert into tt1 values (1);

    Insert into tt1 values (2);

    Insert into tt1 values (3);

    Insert into tt1 values (7);

    Insert into tt1 values (8);


    drop table tt2;

    create table tt2 (identification number, name varchar2 (30));

    insert into tt2 values (7, 'Name 7');

    insert into tt2 values (8, 'Name 8');

    insert into tt2 values (11, ' 11 name ');

    insert into tt2 values (12, 'Name 12');

    commit;


    Select * from tt1;

    ID

    ----------

    1

    2

    3

    7

    8

    Select * from tt2;

    NAMES OF ID

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

    7 name 7

    8 name 8

    Name 11 11

    Name 12 12

    The result of the query should be:

    NAMES OF ID

    1

    2

    3

    7 name 7

    8 name 8

    Thanks in advance!

    Hello

    If you want each line of tt1 joined in its corresponding row in tt2, but if there is no corresponding row in tt2, you want to show data from tt1 anyway; Isn't it?

    That's exactly what outer joins have been designed to do:

    SELECT tt1.id

    tt2.names

    OF tt1

    LEFT OUTER JOIN tt2 ON tt1.id = tt2.id

    ORDER BY tt1.id

    ;

    Thanks for posting the CREATE TABLE and INSERT statements; It's very useful!

  • Robo help 9-request to insert a URL link in the Help Guide.

    I've been asked to insert a URL link in the help guide I created.  Here is a picture of the menu using Flash generated where the link of the URL they should go:

    FlashHelp Link.jpg

    Is it possible to do this RoboHelp?

    Thank you.

    Hello

    Yippper. Just change the table of contents and insert a page there. Configure the page to point to the URL you want.

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7, 8 or 9 in the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

  • Help with requested Blu ray burning

    I use for many YEARS now very successfully without any significant problem until I entered the world of HD and Blu Ray. My system specs are at the bottom of this post.  I've been recording HD for a few years now on my Sony HDV camcorder and rewrite the final production on HDV tapes.  I recently decided to move to the top and get a blu ray player, writer now that burners and media are affordable (well enough)... and the beginning of all my problems.

    Normally, I create 10 minutes productions finals about an hour of footage. However, after a 3 week trip to China, I have created a 50-minute production which I want to create a Blu Ray disc.  The production contains many transitions, titles and still images (taken with 10 megapixels).

    I can make the OK project although it takes a few hours.  However, my system crashes (blue screen) about 85% of the way through the Blu Ray encoding process.  I've split the 2 separate projects - one of 20 minutes and another 30 minutes.  20 minute we burn Bly Ray ok, but the 30-minute project still hangs (blue screen again) towards the end.  An obvious solution would be to divide the project down in to 3 separate projects and burn on Blu Ray 3 discs but this kind of ruins to the point of having a Blu Ray burner because I could created 3 AVCHD DVD discs instead.

    The problem seems to be the lack of memory.  The encoding process seems to work in space from 1 to 2 GB until very near the end, when the requirement of memory seems to soar upward to the 4 GB limit.  My suspicion is that first tries to use all of the system memory and tramples needs system thus causing the entire system to blue screen.

    I travelled through the forums and found that many users have had similar problems, but not found solutions.  A that someone managed to create a decent Blu Ray size disc of Premiere Elements - and nobody knows the minimum configuration to do this.

    System:

    First Elements 8

    Sony Viao VPCCW1S1E - Intel Core 2 Duo P7450, running Windows 7, 4 GB of memory with all works on the system c: drive.with 150 GB free.

    NVidea GeForce GT 230 M video adapter

    Thanks Steve

    (3) choice of AVCHD - when my project, in about 45 minutes PE8 starts to become slow and unstable (is not surprising given the system I use) so I divide it into 2 separate projects and the only way I could find to merge into a single project was to convert each project to the HD file format that I could import them into a new project.  I used ' share PC / MPEG / H264 1920x1080i 25 '-this created a file AVCHD I could import in PE, return and then re-export.  How to create a HDV file (without writing back on tape and then reimport?)

    AVCHD is very difficult to change. Many users would recommend an i7 overclocked processor, sitting in a very robust system. Unfortunately, camera mfgrs. This introduces, but forgot to tell their clients that they would purchase a State-of-the-art, just computer to edit it.

    In regards to HDV, there is a FAQ entryabout this operation. I don't shoot AVCHD, so I can't guarantee this FAQ entry, but given that Steve Grisetti wrote, be considered as gospel.

    Hope that helps,

    Hunt

    PS - Pre is designed to work perfectly with a length of projects (either) DVD SD, but it OK with BD projects now. Yet, when the duration of the timeline stands here, break the project into manageable pieces is the recommended route. It's one of the things I like about PrPRo - it uses sequences (think to of mini projects into one"master"), and I use them as my "chapters."

  • Helps small request

    Here is the table can help to get the only 2nd line record (when temparatures in descending order)
    I can able to get the first record

    by

    Select from (select city from table order by desc temperature) city where rownum = 1;




    NJ - 19 C - 10/10/2009
    New York - 22 V - 10/10/2009
    Seattle - 21 c - 10/10/2009
    Washington - 20 c - 10/10/2009
    select  city
      from  (
             select  city,
                     row_number() over(order by temperature desc) rn
               from  table
            )
      where rn = 2;
    

    Or

    select  city
      from  (
             select  city,
                     rownum rn
               from  (
                      select  city
                        from  table
                        order by temperature desc
                     )
            )
      where rn = 2;
    

    However, it will not give you second temperature highest, if two or more cities have same temp. If you want all the cities with the highest second temp, use:

    select  city
      from  (
             select  city,
                     dense_rank() over(order by temperature desc) rnk
               from  table
            )
      where rnk = 2;
    

    SY.

  • Get 15 minutes back in time from the current time (pls help write request)

    Hi all

    I need to write a query that gives time 15 minutes before the current time.
    I need to calculate visits to a Web site for the last 15 minutes.
    Kindly help to write this query.

    Best regards, Imran

    Select sysdate - 15 /(60*24)
    Double;

    Concerning
    Asif Kabir

  • Need help to request XML data

    Hello

    I use HTTPService to do a POST call and sends the data

    < mx:request xmlns = "" >
    < level1 > {stringVariable} < / level1 >
    < level1of2 > < level2of2 > content < / level2of2 > < / level1of2 >
    < / mx:request >

    Returning the server data are correct to 'level 1' both "stringVariable" is public.
    However, for the next case, which is more than a deep level, "level1of2" Gets the value of:

    level1of2 = "[object Object']"

    I don't understand why it does not work. Most of the example that I always followed have given application which is two levels deep. For example:

    < user >
    < name > {inputName.text} < / name >
    < / user >

    But, instead of getting the user = > name = > < Namehere > I get user = [object Object]...

    Can someone explain what is happening here?

    Thank you

    The fix was to have both of these properties defined in the class:

    contentType = "application/xml".
    resultFormat = "e4x".

  • Help, problem request

    Hello world:

    I have a database of books stores, there are 3 paintings: "publishers", "titles", "sales", an editor has many titles and title has a lot of sales.

    The pharmacokinetics of publishers is 'pub_id', the pharmacokinetics of the titles is 'title_id', the number sold in sales is «ord_num»

    I want to list books top-sold sold-number of all publishers, but I can't understand the exact statement.

    Could someone help me? Thank you.

    It will give you more top 10 sale of securities

    select
         *
    from     (select
              p.pub_name,
              t.title,
              sum(ord_num)
         from
              publisher p,
              titles t,
              sales s
         where
              p.pub_id = t.pub_id and
              t.title_id = s.title_id
         group by
              p.pub_name,
              t.title
         order by 3 desc      )
    where
         rownum <=10 
    
  • Help please - request code product key

    I bought a copy of Office home and Student 2007 a couple of years now, installed on my laptop, but recently when he asked to re - enter the product key, it says it is invalid, but it is clearly printing inside the box... ideas please?

    Ask here:
    http://answers.Microsoft.com/en-us/Office/Forum/office_install

  • Help in requesting a publication activity

    Hello

    I'm calling a business of a proxy service using a publication activity. I assign a value to the body element

    <soap-env:Body>.
    ${xquery to the variable}..
    </soap-env:Body>
    

    The above is the code snippet. This beautiful work as long as I use not an xquery query. But she throws a null pointer exception using xquery to the variable.

    I saw some in the qouting of document referring to variables would be sent as is (39.9.1 SOAP Services this section of the doc). You guys you will suggest work around or solution for it rather than hard-coding the new xml?

    Thank you...

    As I was right but I was sending a bad load to the proxy

  • Help urgent request,

    Hello

    Oracle version: 9i

    Reference table: Hr.Employees

    Query:

    Thank you...

    Concerning
    Rahul

    Published by: Mac_Freak_Rahul on October 25, 2010 12:12
    select *
    from hr.employees
    where first_name IN ('Neena','Lex','Bruce','David','Valli','Diana','Alexander')
    order by
    decode(first_name,'Neena',1,
                               'Lex',2,
                               'Bruce',3,
                               'David',4,
                               'Valli',5,
                               'Diana',6,
                               'Alexander',7,
                               8)
    

    Published by: hm on 25.10.2010 11:57

  • ISP says "update of digital certificates expired" now no outgoing doesn't email - HELP

    That's what the ISP told me: "it seems that things worked until the moment when we updated our.
    digital certificates expire this morning. You may need to accept the new
    certificate (that I had to do on my iPhone/iPad). All e-mail applications
    differ in the way they treat the SSL certificates. Please see your
    Help files request for more information on how to import or accept a car
    signed digital certificate.

    I looked in 'view certificates' and 'validation', but I don't see anything to change or do... So, how can I accept this "new" certificate

    Thanks in advance!

    Craig

    If your ISP uses self-signed certificates ask them when they intend to become a professional store. Free self-signed certificates are basically something that exists to allow analysis of configurations without fees to pay for certificates. This leaves a loophole for tight companies, generally jobs of MOM and dad, or firms, who are simply stretched to use the correct string of voting trust and pay for their certificates.

    Not properly issued SSL certificates requires no acceptance, that the issuer or someone higher in the chain of trust is pre approved by Mozilla. It is extremely poor security to allow users wont accept SSL certificates and they are not experts in these things and could easily appove a certificate that makes their raw text of communication to third parties.
    You are done better with unsecured connections, you're free of those signed. At least you know your vulnerable.

    However, if you go to the menu Tools > options > advanced > certificates and Tower of the verify option you could do better. They are not probably set up as they sign free. Other than the view certificates and remove all those that you already have for them.

  • Miss me the network control Sm Bus Controlrer & Ethernet Control (x 64) on my Vista Dell Inspiron 1750. I tried Dell, but was unable to download all the programs from there. Please could you help me

    Please help my request. I need a "network controller" a "Ethernet controller" & "SM Bus controller". I tried Dell, but to no avail.

    I just carefully re-assembled my system, after that it crashed - ironically - all using a Dell Diagnosticts fix - it thing.  It is now up & running & wear well - almost - don't you miss the foregoing.

    Have had a terrible with her problem as soon as it is out of the box.  but am a 63 retirement & don't want to send emails-he & receive some letters she has good woman too - which was the reason why I bought this blessed 'time composter' as I call it, in the first place.

    Thank you for your reading of this kind of things.

    Brendazt,

    I'm sure that Dell support can guide you through the process of installing drivers from the CD on the web site or resources. Of course, web site requires the use of another pc with internet access to download the files and run then the computer with any questions. I want to give you direct links for downloads, but it would be better just to have a technical support lead you, because they have even remote support tools.

    Best,

  • Help remove backups rman (delete the repository)

    Hi all.

    I will soon be administering a few databases Oracle (11g Rel2). Currently these DBs area in log mode archive with a backup rman in place policy.


    I don't like this policy and you want to use my own, incremental backups from updadateable, so this is the plan I have in mind.


    (1) disable mode archive.


    (2) a clean shutdown and take a backup to cold.


    (3) since after you disable archiving, backups RMAN ALL will be unusable, I want to remove them (including newspapers archive and backup sets).


    (4) after the correct deletion, set up some persistent RMAN settings, such as retention policy, controlfile autobackup and optimization.


    (5) turn on archiving


    (6) to set up the new policy based backups backup incremental updateable with duplex location for archiving logs.


    Help is requested on the best way to clean all the backups (3).


    I can manually delete the backups and do overlap, but according to the Oracle Documentation "Delete backup" will be delete all backups for data recorded in the RMAN Repository.


    So which is the best way easier and faster? Will delete backup include the archive logs?


    Thanks in advance. Luis!


    myluism wrote:

    Can I still use them?

    I would say it is "the wrong answer to evil. When you disable log mode archive, you can only back up the database when it is stopped and only to restore and recover the database until the last stop.

    Looking at your plan, I wonder what you are trying to accomplish first log mode archive disabling and then enabling archive mode log again. Why do you think that this is necessary and what you're trying to accomplish.

    You need not disable and enable log mode archive in order to eliminate the obsolete achivelogs.

    If you are not satisfied with the retention policy, simply change it. All backups that are outside your retention policy will be considered as obsolete and you can remove them using RMAN delete obsolete, which will remove all files as well as the appropriate data backup from the RMAN Repository.

    For example you can archivelog delete all the entries backup and then delete the backupset or remove them at the OS level, do overlap and then use delete noprompt expired archivelog all.

    The retention policy applies to backup and archivelogs. However, you can have a separate archivelog deletion policy that applies to archivelogs.

Maybe you are looking for

  • credit card required for free apps on iPad

    Why the App Store requires a credit card for the free apps.  I was looking to download another browser to access a page that has been load not properly in safari.  The App Store has requested a credit card when I tried to download Firefox and another

  • How can I close background programs?

    I just bought a netbook and since the first time I stopped it, a message keeps appearing saying 'wait for background programs close. Now I have a month with my computrer and the message is still coming. How to stop background programs, to prevent clo

  • Sansa Fuze stuck on the white screen after disconnecting.

    Once I unplugged my Sansa Fuze on my PS3, it got stuck on a white screen. None of the buttons worked and I couldn't turn it off. I decided that the only thing I could do was to let the battery die and charge it again. Finally, he died and I plugged i

  • stop: 0x000000eb

    How to fix the blue screen error computer will not start ineffective repair F8 options

  • The upgrade of my PC? Shogun 2

    HelloI recently bought Shogun 2 and struggles of my PC to play (in battles), I was wondering how you feel, I have to improve in my current PC or in which PC you would suggest buy? My specs are below. Vista 64-bit6 GB of RamIntel Core 2 Quad CPU Q8200