How to check the arhice mode is on or not according to the pl/sql procedure

Hello

I'm trying to figure out how to check the mode archive inside begin end block. Basically, I'm developing a procedure that returns in mode archive.

I know that the following command returns the status of fashion archive but I can't do the job inside the begin end block.

"list of archive logs.

I'll be appricated if you show me how to call the above command inside begin end block.

Kind regards.

Hello

If you want to see archive log mode is activated, you can simply check V$ database.

select log_mode from v$database

That is what you want, or is there something more, you need?

David

Tags: Database

Similar Questions

  • How to use the pl/sql procedure

    Hi all,

    How to use pl/sql packages and especially in what situations we are pl/sql, which is the cause of the procedure. Please explain with precision using small example.

    Thanks and greetings

    RAM

    I could tell this at a very high level.

    PL/SQL's procedural extension to SQL. SQL (structured query language) has no procedural capacity. They are executed as a stand-alone statement. When you want to generate a process flow with several SQL statement that you need to have a procedural language that could accommodate your SQL. PL/SQL is something similar to Java and Dot Net in this aspect. Said that PL/SQL is Oracle DB. This has some advantages. The most important thing is that when you have your SQL in PL/SQL oracle maintains its reliance on the object. Any database oracle related so you want to build, then you can consider to PL/SQL as the best way to use process flows.

    PL/SQL provides various methods such as the PROCEDURE, FUNCTION and the PACKAGE. The only thing that race stands is in its ability to modularize your code. So, using the package you can create process workflows that is modular and easy to understand.

  • How to check the MSDS 13.2 running MSD Agent (legacy mode) or TMS provisioning or extension of TMS provisioning services.

    Hello

    How to check the MSDS 13.2 running MSD Agent (legacy mode) or TMS provisioning or extension of TMS provisioning services.

    Kind regards

    Siva

    My TMS is strictly using Extension of Provisioning, because I am running 14.3.2 TMSPE is the only option for me, so I can't provide a screenshot.

    However check you by going to: administrative tools > Configuration > General settings, look for the commissioning Mode.

    That said, I suggest that you consider migrating to TMSPE if you have not already, that the recent version of TMS have removed TMS Agent legacy mode.  If you want to use the latest versions of TMS and take advantage of the features it provides, you will need to perform the migration, if not already done.

  • How to check the windows firewall has the stealth mode on and how he check actaully work

    I have windows 8.1 with all updated.

    Can someone tell me how to check the firewall windows has stealth mode?

    Also, can someone tell me how I could actually check that, if it is then how can I check that it actually works against someone trying to find open ports to exploit?

    Rich

    Go to GRC.com here https://www.grc.com/lt/leaktest.htm

    Read how to use it here https://www.grc.com/lt/howtouse.htm

    Run the LeakTest

  • Anyone know how to check the date of warranty until when?

    Anyone know how to check the date of warranty until when?

    https://checkcoverage.Apple.com/Jo/en/;JSESSIONID=9pJ0X9pFPJtNg3c44yDGCvk9pVpt5l QSgn4B60y4Skv1WfmnqMkF!-1840326800

  • How to check the balance on the gift card itunes

    How to check the balance on the gift card itunes

    Redeem it

  • Satellite A200 - how to check the temperature of the processor fan?

    Hi all

    I have a Satellite A200 that my teenagers use a little, or abuse a little! Recently, it would not start up. I suspect the fan and pulled out the fan cleaned and tested the fan on a PSU, worked out well. He put it back together, ran startup repair and now the computer is operating normally. The fan is however not appear to come at all. In the Device Manager it tells me it works very well. I'm all good with the mechanical side of the House, but I'm a quamby operating system! How to check the temp CPU or fan?

    Thought that replace the fan but don't want to go that far just to get no results. Currently using the vacuum on low like an external fan and didn't want to just run the laptop with no cooling for fear of permanent damage. Although children watch movies with her on their doona may have already reached this!

    Any advice would be appreciated.

    Hey mate,

    How to clean the fan exactly? It s advisable to use the jet of compressed air. This could blow the dust of fans cooling and, therefore, it of not necessary to disassemble the laptop.

    In addition if the fan doesn't work anymore it of necessary to replace. You can order spare parts at an authorized service provider.

  • How to check the print queue in Windows 8

    Difficulty controlling the queue with your new Windows 8? Here's a great video on how to do it:

    Hope this helps to understand how to check the print queue in Windows 8. If you have problems, let me know, I'll see what I can do to help.

  • HP Photosmart 7525: How to check the version of the firmware of the HP PhotoSmart 7525 is up-to-date?

    How to check the version of the firmware of the HP Photosmart 7525 is up-to-date? And where can I go to download the latest firmware?

    Hello

    Follow these steps to check the update of firmware for your printer:

    http://support.HP.com/us-en/product/HP-Photosmart-7520-e-all-in-one-printer-series/5199461/model/5286642/document/c03312867/

    Note: the printer must be connected to your network to check the updates, if it is connected with a USB key follow the steps in the tehse to connect the * beep * to your wireless network:

    1. In the wireless menu, tap Settings.

  • How to check the size of the file to a text file.

    How to check the size of the file to a text file.

    Please explain to me.

    I'm new in LabVIEW. and have no idea about that...;

    Hi prashant,

    go to the file e/s palette and then the advanced palette which is a search palletteand sub getfilesize.vi... but this function gives the result in bytes...

    Thank you and best regards,

    srikrishnaNF

  • HP G42 notebook: how to check the heat sensor

    my laptop fire but there is no system message...

    and performance down... could be heat sensor not properly detect...

    How to check the heat sensor...

    my laptop G-42-355tu

  • How to check the use of the ram?

    I have 3 GB of ram on my pc, and I want to know how to check the use of the ram in xp pro? is the use of FP in taskmanager? or (k) of the kernel memory?

    I have 3 GB of ram on my pc, and I want to know how to check the use of the ram in xp pro? is the use of FP in taskmanager? or (k) of the kernel memory?

    Yes, Yes... and no. All applications on your computer uses RAM, not only the pagefile or system (kernel).

    What are you really trying to do?

    See http://www.petri.co.il/pagefile_optimization.htm , especially the part under "How Pagefile your system use?"

  • How to check the manufacturing date of the Z2?

    Hello, so the title sums up pretty much everything this. On the previous xperia phones, you can check under the battery, with xperia Z, that it was written on the back at the bottom but on Z2? How to check the date of manufacture?

    Hello and welcome to the community! Since you are new, please make sure that you have checked our Forum.

    This label can be found in the MicroSD slot, click on the following link:
    http://Userguide.sonymobile.com/referrer.php?region=en&product=Xperia-Z2#IMEI-number.html

  • How to check the manufacturing date of the Z3 Compact?

    How to check the manufacturing date of the Z3 Compact?

    @HerrOdin

    Simple, pull on the flap of the IMEI and search for 14W__

    The first 2 digits are for the year and the last 2 digits are the week

    http://support.sonymobile.com/global-en/xperiaz3compact/Userguide/IMEI-number/

  • How to check the firmware version?

    Hello

    How to check the version of firmware on my device?

    Help, please!

    Thank you

    Hello mohsen122002,

    Hope that this page will help you.

    -Bryan-

Maybe you are looking for