value by the way

Hi guru,.

Please guid me please to do this step in pl sql scrip.

Step 1-pass no. redo groups "NG" (by selecting count (*) in the journal of v$) ".

Step 2-loop until the end of 'NG '.

Step 3--(sélectionnez Groupe #, taille dele de journal de v$ où statut = 'INACTIF') place these two values in two variables ("Genetic resources" and "siz")

Step 4 - Check the size is "siz" = 100 m

Step 5 - if not size is "siz"! = 100 m, then goto step 6

-If the size is 100 m and then EXECUTE IMMEDIATE ' ALTER DATABASE DROP LOGFILE GROUP 'GR ';

-go to step 6

Step 6 - run the command "RUN IMMEDIATELY"ALTER SYSTEM CHECKPOINT";

step 7 = step 3 goto

concerning

Brigitte

Wrong forum!

This forum, as the title suggests, is ONLY for sql developer questions.

Mark ANSWERED thread and repost it in SQL and PL/SQL forum.

SQL and PL/SQL

Tags: Database

Similar Questions

  • Value by the way for openDoc()

    Hi all

    I hope someone here can help solve my Riddle.

    I am developing my form PDF using Adobe LiveCycle ES2. In the main screen, I have a button that opens another PDF form using the app.openDoc () method. I wonder if there is a way to transmit some values from the main form to the second form?

    For example, form A and type B, the two have a text called "First name" field So when train opens a form B, the "First Name" text field in the form B should be filled by the neck of value in A form.

    Help, please.

    Kind regards

    Steven

    Hi Steven,

    You can by using the app.media method.

    There is an example here: http://assure.ly/qQivbm. I had the intention of this finish and publish a blog. The final challenge is to get the image data into the AcroForm.

    It is a portfolio with three forms. The first is a form of XFA "program". It takes the entries in the fields both text and the image field and uses the method app.media to "disseminate" data as a package called "myData". You will see how declare us three variables (oName, etc.) with the values of the objects in this form.

    The following form is a "receiver" XFA form This looks for the package "myData" and if it exists, it sets the value of the objects in this form, the data in the package.

    The last form is an AcroForm. It also gives of myData, but for the moment it only processes the data of textfield. I'm working on the image data.

    The script is located in various events of an object hidden in XFA forms (calculate the event of the form of the broadcasting and the form receiver docReady event). The AcroForm uses a script to document level.

    Thus, it is an example of work. Note that for practical reasons I packed it in a portfolio, but you don't need to do. She also works for stand-alone files that are open on the same computer.

    As I say, I'll probably have to finish it at some point, and after all the necessary explanations.

    Niall

  • Values wrong the way back to a Select list in a pop-up window

    Greetings

    I have a sample application loaded on apex.oracle.com here: http://apex.oracle.com/pls/apex/f?p=54441:3

    Steps to follow:
    1. connect with any ID, there is no authentication
    2 - Select "BATTERSBY DANIELSON & ASSOC" as the Agency
    3 - Select contract ' 1208... "in the drop down menu
    4 - Click on the button "modify an existing contract.
    5 - Click on the button "Create a new constructor" and add what you want to name generator, city and State
    6 - click the 'X' to close the window (cannot do close in itself, but it's another question :-)))

    What I'm trying to take place is the values just placed in the fields "New Builder" to appear in the generator element name on the original page.

    The name of generator comes from the Select list.

    I was able to get the elements of City Builder and generator of State filled but not the name. The name component is actually a concatenation of the Builder and the City Builder name if it is in the Select list or the constructor new pop-up window.

    The new Builder does NOT appear in the list select after his return even though I would only it.

    The process that is executed when you add a new constructor is an INSERT in the table that generates the select list and VALIDATION.

    When a new constructor is added the STATUS column in the table generator is set on "HOLD", so I can identify as a generator again later in the process.

    Any help is greatly appreciated!

    Internal environment is APEX 3.2.1.00.10

    -gary

    I ended up not not using the pop-up as suggests.

    Sometimes the solutions are too easy.

    Thanks for the comments!

    -gary

  • Is it possible to connect a simple 1 d array to a digital indicator or what would be the best way to display the numeric values of the array on the front panel?

    Is it possible to connect a simple 1 d array to a digital indicator or what would be the best way to display the numeric values of the array on the front panel? Examples or suggestions would be greatly appreciated.

    Thank you

    Tunis

    Thank you Adam, it's originally in a while loop, I placed it in a loop for example, wired County in the for loop and presto, this son of a digital indicator. It works very well. Thanks for the help folks.

  • When you create a PDF from a scanner, is there a way to set the default value for the size of 8.5 x 11 letter custom every time I make a PDF from a scanner?

    When you create a PDF from a scanner, is there a way to set the default value for the size of 8.5 x 11 letter custom every time I make a PDF from a scanner?

    Hi kevin7frg,

    You can go to "file > create > scanner > configure presets PDF»

    The dialog box that appears, you can choose 8.5 X 11 as the default width and height of PDF pages to scan.

    Hope that helps.

    Kind regards

    Ana Maria

  • By the way a prompt concatenated value to filter a report

    Hello, I am relatively new to OBIEE and still learn the basics.

    I have a multiple selection of dashboard prompt where users want to see 2 columns concatenated:

    Dept Num |' -' || Name of Dept

    I'm having a hard time to find ways filter my report based on this concatenated value. I really need to filter on Num Dept, but on the concatenated value of filtering would be nice too.

    In other words, if a person chooses * 555 - billing * then I'd be ok just by the way * 555 * to the report. However, if it is easier to State to accept the full string, then I'd be ok with that too. I just need to be able to filter is the report on Dept Num |' -' || Name Dept or Dept Num based on concatenated value that the user would choose from the prompt.

    Any help/advice would be greatly appreciated.

    You can either:

    Create the column in your query responses and use the filter icon
    or
    create the filter first simply based on the column dept, "is invited", and then in the filter properties, you can choose to change the formula for the column.

    Both have the same effect.

    If you have already saved as a shared filter, you can change the formula column in there also in the same way as above, just find your shared filter find the dept column and choose the formula column change.

    Another thing, when you want to accept as input when prompted, you can value "is invited" or it has a fixed value, the guest of the dashboard will replace the fixed value as long as the formula of the pass are the same.

  • By the way Select list value to another page via report link

    Hello

    I have a page 1001 with an item from the selection list (SLI), a button (BTN) and a report (EPR).

    After selecting a value of the element of selection it s possible to click on the button.

    After clicking the report button will display the data. Report structure: ID, COL1, COL2, COL3, COD values in COL1 is the links to the page 1011.

    I managed to pass the value of a column in the report, but how to pass the value of SLI this link?

    I tried: SLI, SLI, #SLI # and & SLI... but nothing has worked.

    You have an idea?

    1013248 wrote:

    Please update your forum profile with a real handle instead of '1013248 '.

    I have a page 1001 with an item from the selection list (SLI), a button (BTN) and a report (EPR).

    After selecting a value of the element of selection it s possible to click on the button.

    After clicking the report button will display the data. Report structure: ID, COL1, COL2, COL3, COD values in COL1 is the links to the page 1011.

    I managed to pass the value of a column in the report, but how to pass the value of SLI this link?

    I tried: SLI, SLI, #SLI # and & SLI... but nothing has worked.

    You have an idea?

    Use the exact static text substitution method to reference the value of the element. This requires an end point ('.) ») :

    &SLI.
    
  • by the way check box values in the WHERE clause

    Hello

    I created a data block - 'CONTACT' (block of data in database)

    and has an element of database - 'Code', 'Descr '.

    The number of records displayed has the value 5.

    When enabled - value 'Y '.

    Value when disabled - n

    Box mapping of other values - "unchecked."


    I write the code inside "WHEN the BUTTON PRESS. My main goal is to return the number of records from

    According to several conditions and one among them is the CODE which can be single or multiple based on the checked checkbox.

    The requirement is when I check one or more boxes, I should pass the "Code" element values in the WHERE clause.

    I tried to use the simple loop but things havmt worked as shown below.

    The next_record refers to the COCHEE BOX as well, and thus return all the eventhough lines if it is not checked.

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

    -LOOP

    IF: contact.cb = 'Y' THEN

    LOOP

    IF p_where is null then

    p_where: =: contact.code;

    on the other

    p_where: = p_where | «, » || : contact.code;

    end if;

    When the output: system.last_record = "TRUE";

    next_record;

    END LOOP;

    end if;

    -END LOOP;

    MESSAGE ("p_where :'|| p_where);

    MESSAGE (' ');

    END;


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

    And even if I write the LOOP before the first CASE, it returns me the current value and move to the last record.

    Please suggest

    Try something like this:

    FIRST_RECORD;
    
    LOOP
    
      IF :contact.cb = 'Y' THEN
        IF p_where is null then
           p_where := :contact.code;
         else
           p_where := p_where ||','||:contact.code;
         end if;
       END IF;
      exit when :system.last_record = 'TRUE';
      next_record;
    END LOOP;
    
    -- END LOOP;
    MESSAGE ( 'p_where :'||p_where);
    MESSAGE (' ');
    
    END;
    
  • by the way of multiple key values

    Hi all

    I need to know how to pass the keystore multiple values for more information of a simultaneously.i esxserver came to know that keystore value from the variable approx.

    ' %JAVAHOME%"\bin\java-'%»-Djavax.net.ssl.trustStore="%VMKEYSTORE% LOCALCLASSPATH' cp - Xmx1024M ARG %.

    can I know what - Xmx1024M in this average line. ? and if I put several key values:

    c:\VMware-Certs\vmware.keystore;c:\VMware-Certs\vmware1.keystore in the variables env, I get error.

    Can I get a detailed explanation of what is happening.

    Thanks in advance.

    Simo

    You can import the certificates of all servers in the same keystore file and just refer to that one.

    Steve JIN, VMware engineering

    Creator of VI Java API: http://vijava.sf.net

  • By the way the value of the report column in Javascript

    Dear magicians Apex,
    I am a bit stuck now to implement a modal pop-up/iframe/javascript and this forum is my last hope to solve this problem.
    Anyway, I will try to explain what I'm trying to accomplish.
    What I need, is: I want to have a SQL report, as first column I want to have an 'ID' of my table numbers and I want this column to have a "link in the column" located in the appropriate links "column attributes. The thing is that when I click on the link of the column (when I run my report on the Apex page) I need a JQuery modal window where the pop-up in IFrame will be another page and this page uses an 'ID' of my link URL column to display the data. So, basically, I want to pass a value of 'ID' of my page parent to my page of the child which appears in an iFrame modal window.
    And here's what I have:
    1. I have a SQL report:
     
    select SUBNET_ID, 
           long2ip(NETWORK_ADDRESS), 
           long2ip(SUBNET_MASK), 
           long2ip(END_HOST), 
           long2ip(START_HOST), 
           MAX_HOSTS, 
           long2ip(BROADCAST_IP), 
           NETWORK_CLASS, 
           NETWORK_SIZE, 
           HOST_SIZE 
    from   YC_CM_IP_SUBNETS 
    2 then, in 'The column attributes' to 'SUBNET_ID' a have put a "link in the column" URL like:
    javascript:ViewNetworkDetails(#SUBNET_ID#);
    3. now, when I run my page and point my mouse over any item in my column "SUBNET_ID", I see that she receives a number of "SUBNET_ID" of my table and it shows it in the button of the browser as:
    javascript:ViewNetworkDetails(1);
    , or (2) or anything that is 'SUBNET_ID '. So, that's good.
    4 and here I am confused, basically, I need to pass a value of
    javascript:ViewNetworkDetails(#SUBNET_ID#);
    , which seems to work as it gives me good numbers of my table to my 'ViewNetworkDetails' JavaScript function, then it can paste this value in "f?" p =... "IFrame URL. Here is my Jquery Modal script form and Javascript to redirect me to my popup page (the script is located in the HTML header):
     
    <script type="text/javascript"> 
    function ViewNetworkDetails(){ 
    var apexSession = $v('pInstance'); 
    var apexAppId = $v('pFlowId'); 
    var subnetIDNumber = document.getElementById(#SUBNET_ID#); 
    
    $(function(){ 
    vRuleBox = '<div id="ViewNetworkDetailsBox" title="View Subnet Details"> 
    <iframe src="f?p='+apexAppId+':103:'+apexSession+'::NO:103:P103_SUBNET_ID:'+subnetIDNumber+'
    "width="875" height="500" title="View Subnet Details" frameborder="no"></iframe></div>' 
    $(document.body).append(vRuleBox); 
    $("#ViewNetworkDetailsBox").dialog({ 
                            buttons:{"Cancel":function(){$(this).dialog("close");}}, 
                            stack: true, 
    modal: true,                             
                            width: 950,                     
    resizable: true, 
    autoResize: true, 
    draggable: true, 
    close : function(){$("#ViewNetworkDetailsBox").remove(); 
                            location.reload(true); } 
    }); 
    }); 
    } 
    </script> 
    PS My hypothesis is that there is a problem with this part of my script
    var subnetIDNumber = document.getElementById(#SUBNET_ID#); 
    where I can't get my "SUBNET_ID" value from
    javascript:ViewNetworkDetails(#SUBNET_ID#);
    in 'subnetIDNumber' variable and that's why I can't spend my iFrame URL.

    P.S. P.S. the child page 103 has a "Automated row fetch", is not a problem. In addition, I did a simple test, where I had a page element 'P102_Value' with values and in my script I had instead
    var subnetIDNumber = document.getElementById(#SUBNET_ID#); 
    This
    var subnetIDNumber = $v('P102_Value'); 
    and it worked perfectly fine... but cannot operate against the SQL Select statement :-(

    HEEEEEEEEEEEEEELLLLLPPPP.
    Thank you

    Change your column to link to send the value of the subnet_id column to the function call (you mentioned, but I don't know if you've actually done m)

    JavaScript:ViewNetworkDetails(#SUBNET_ID#);

    You pass the value of the parameter to the function, but not defined all the parameters in the function definition (this is possible in JS, no other parameter is ignored)
    For example, to change the function to accept the subnet ID parameter (I'm really surprised how you missed it) and assign this parameter to a variable.