How to check the slider has no value?

If a cursor retrieve all records we can verify before loop for?

I googled for it and everyone agrees that its impossible to know before opening a box.

Now, I put an exit but the same cursor take the time, cross the loop.

OPEN cur_mapping.

LOOP

SEEK cur_mapping INTO rec_mapping;

If found then % cur_mapping

INSERT INTO...

on the other

"exit";

end if;

end loop;

CLOSE Cur_mapping;

sort of if there is no output selected lines of the loop.

Hello

You could do a count of the records before hand, but read on the PL/SQL manual could also help

http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25519/fetch_statement.htm#LNPLS01320

Tags: Database

Similar Questions

  • How to check the existence of a value in a table before copying the data?

    Experts,

    I have a requirement in which I need to copy data (4 columns) table A to table B (4 columns)

    Table A (entry)

    PART_ID PART_NAME PART_OPT_CD ENGG_OPT_CD

    1 "AAA" 10 100
    2 'BBB' 20 200
    3 'CCC' 30 300
    4 'DDD' 40 400
    5 'EEE' 50 500


    I have a table named OPTIONS with a single column. This is a table of reference of business which has the master list of option codes.

    OPT_CD
    10
    20
    30
    50
    60
    100
    200
    400
    500


    I need to copy Table A to Table B, but in doing so, I need to check the values of columns 3 and 4 in the OPTIONS array.
    If there is copy the folder B. Otherwise error in the log in a file/table and continue with the next copy

    TABLE B (exit)

    PART_ID PART_NAME PART_OPT_CD ENGG_OPT_CD

    1 "AAA" 10 100
    2 'BBB' 20 200
    5 'EEE' 50 500

    WARNING file or a table should have the details below.

    300 ENGG_OPT_CD does not exist in the table OPTIONS, so part_id 3 have not migrated
    40 PART_OPT_CD does not exist in the table OPTIONS, then part_id 4 have not migrated

    Company don't bother about the format of error, we need this information to correct the OPT_CD in the OPTIONS table.

    Can anyone suggest a better way to do this. Thank you for your help in advance

    Hello

    Its very similar to your previous post.
    Re: PL/SQL help
    The only difference being that you have to outer join to your superimposed master table, since your search in two columns values occur only in a single column on your Master table.

    Something like that;

    create table a (part_id number, part_name varchar2(10),part_opt_cd number,engg_opt_cd number);
    
    insert into a
    (select 1 Part_ID, 'AAA' Part_Name, 10 Part_Opt_CD, 100 ENGG_Opt_CD from dual union all
    select 2, 'BBB', 20, 200 from dual union all
    select 3, 'CCC', 30, 300 from dual union all
    select 4, 'DDD', 40, 400 from dual union all
    select 5, 'EEE', 50, 500 from dual union all
    select 6, 'FFF', 60, 500 from dual
    )
    /
    
    create table b (part_id number, part_name varchar2(10),part_opt_cd number,engg_opt_cd number);
    
    insert into b
    (select 1 Part_ID, 'AAA' Part_Name, 10 Part_Opt_CD, 100 ENGG_Opt_CD from dual union all
    select 2, 'BBB', 20, 200 from dual union all
    select 5, 'EEE', 50, 500 from dual
    )
    /
    
    Create table master (OPT_CD number);
    
    insert into master (
    select 10 opt_cd from dual union all
    select 20 from dual union all
    select 30 from dual union all
    select 50 from dual union all
    select 60 from dual union all
    select 100 from dual union all
    select 200 from dual union all
    select 400 from dual union all
    select 500 from dual
    )
    /
    
    create table log_msg
    (msg varchar2(100)
    ,t timestamp default current_timestamp)
    / 
    
    SQL> insert all
      2    when Master1_ID is not null and
      3         Master2_ID is not null then
      4      into b (Part_ID, Part_Name, Part_Opt_CD, ENGG_Opt_CD)
      5      values (Part_ID, Part_Name, Part_Opt_CD, ENGG_Opt_CD)
      6    when Master1_ID is null or
      7         Master2_ID is null then
      8      into log_msg (msg) values (Part_Opt_CD || ' ' || ENGG_Opt_CD || ' does not exist on the Master table')
      9  select m1.Opt_CD      as Master1_ID
     10        ,m2.Opt_CD      as master2_ID
     11        ,a.Part_ID      as Part_ID
     12        ,a.Part_Name    as Part_Name
     13        ,a.Part_Opt_CD  as Part_Opt_CD
     14        ,a.ENGG_Opt_CD  as ENGG_Opt_CD
     15  from (
     16        select a.Part_ID, a.Part_Name, a.Part_Opt_CD, a.ENGG_Opt_CD
     17        from a
     18        left outer join b on  a.Part_ID = b.Part_ID
     19        where b.Part_ID is null
     20      ) a
     21  left outer join master m1 on   a.Part_Opt_CD = m1.Opt_CD
     22  left outer join master m2 on   a.ENGG_Opt_CD = m2.Opt_CD
     23  /
    
    3 rows created.
    
    SQL> select * from log_msg;
    
    MSG                                         T
    ------------------------------------------- -------------------------
    40 400 does not exist on the Master table   05-OCT-11 09.44.17.621000
    30 300 does not exist on the Master table   05-OCT-11 09.44.17.621000
    
    SQL> select * from b;
    
       PART_ID PART_NAME  PART_OPT_CD ENGG_OPT_CD
    ---------- ---------- ----------- -----------
             1 AAA                 10         100
             2 BBB                 20         200
             5 EEE                 50         500
             6 FFF                 60         500
    

    Note, I have included an additional line in table A in order to prove that the INSERTION will occur in table B. Errors, as you can see have been inserted in the table LOG_MSG.

    Published by: bluefrog October 5, 2011 09:48

  • How to check the slider back row contains data or not

    Hi all


    How to check whether or not the cursor returned row contains data in one of its field.


    Thank you and best regards,
    Prakash P

    Use ROWCOUNT %
    Use % NOTFOUND

    example of

    DECLARE
    
       id    number;
       desc varchar2(10);
       CURSOR cursor_one IS
          SELECT
              id, desc
          FROM
              table;
    BEGIN
       OPEN cursor_one;
       LOOP
          FETCH cursor_one INTO id, desc;
          EXIT WHEN cursor_one%ROWCOUNT > 20 OR cursor_one%NOTFOUND;
       ...
       END LOOP;
       CLOSE cursor_one;
    END;
    
  • How to check the values of the view object?

    Hi all

    I created a new object view by right-clicking my module of the application. Now when I try to retrieve values

    the attributes of the view object, I get null pointer exception. How can I check if the view has

    some values inside or not manually by using the select statement? I'm trying to find the view in my database to the database browser

    but he was not there. Kindly help me out in the present.

    Thank you
    Flavian.

    Published by: 887737 on October 19, 2011 12:53 AM

    Hello
    Make a right click on the application module (yourAM in the model project) and press Run, then you can check if your ViewObject works or not.
    Note:
    Typically create viewObject using based EO or query based how did you create viewObject
    See:

    http://download.Oracle.com/otn_hosted_doc/JDeveloper/1012/BC4J/intro/bc_avo.html
    http://www.adftips.com/2010/09/ADF-Model-creating-view-object-vo.html

  • 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

  • How to check the page dirty with default values existing in viewObject?

    Hi all

    I use JDeveloper 11.1.1.4.

    I have two pages in my application. I am browsing for page2 page1.

    Before opening page 2 I created new line page 2 notice of object using method 'Create Insert()' with some default values by using the ViewRowImpl class.

    My problem is that I have a button to return to Page 2. If I click the back button, then check the Application module is dirty or not.

    But it always shows AM is dirty due to I'm setting some default values in ViewRowImpl. If I avoid the default values in ViewRowImpl then AM dirty check works fine.

    My Question is how to check the AM (or) dirty Page with default values in the object view?

    My bean Codes:

    Links DCBindingContainer = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    DataControl dc = bindings.findDataControl("AppModuleDataControl");

    ApplicationModuleImpl am = ((ApplicationModuleImpl) dc.getDataProvider ());

    If (am.getDBTransaction (.isDirty (()))

    {

    return "Page is dirty."

    }

    My Jspx Codes:

    < af:commandLink id = "cl6" text = '2 '.
    shortDesc = "Add Row in Page2"
    actionListener = "#{bindings." Action CreateInsert.execute}' = 'Edit' >

    Thank you

    David...

    see this

    http://www.techartifact.com/blogs/2013/11/how-to-check-ifdirty-is-modified-for-view-object.html

    http://www.jobinesh.com/2011/05/checking-for-dirty-data.html

  • How to check the value of the space of the tablespaces and tables when errors occur?

    Hi Experts,

    For example, lets say we get ORA-01653: unable to extend table of error. How to check the size of the table and a tablespace? And how understanding is full?

    Thanks for your help

    Hello

    Select df.tablespace_name "Tablespace"

    totalusedspace 'Used MB',

    (df.totalspace - tu.totalusedspace) "MB free.

    DF. TotalSpace 'Total MB. "

    round (100 * ((df.totalspace-tu.totalusedspace) / df.totalspace))

    "PCT free."

    Of

    (select nom_tablespace,

    Round (Sum (bytes) / 1048576) TotalSpace

    from dba_data_files

    Group by tablespace_name) df,.

    (select round (sum (bytes) /(1024*1024)) totalusedspace, nom_tablespace)

    from dba_segments

    you group by tablespace_name)

    where df.tablespace_name = tu.tablespace_name

    and df.tablespace_name = "";

    For example, lets say we get ORA-01653: unable to extend table of error. How to check the size of the table and a tablespace? And how understanding is full?

    Is to say clearly to the question (you can let us know what you have understood so we can fix)

    [oracle@machine1 ~] $01653 oerr ora

    01653, 00000, "impossible to extend %s.%s table by %s in %s tablespace»

    * Cause: Failed to allocate a certain measure the required number of blocks for

    a segment of the table in the specified tablespace.

    * Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more

    storage of files indicate.

    -Thank you

    Pavan Kumar N

  • How to check the values in multi-record block. ?

    Hello

    I'm new to forms. I have the field titled "Comments" in the block of multi-record. I have a button called "reject". Reject button is in the control block. If I press the button reject, field comments must be entered in one of the record. Otherwise, he should tell message. How to check the multi-record block. ?

    Pl.Help.

    Thanks in advance.
    Mano

    Mano,

    Add NEXT_RECORD just before the END of the LOOP.

         GO_BLOCK('');
         FIRST_RECORD;
         LOOP
              IF NVL(:., ' ' ) = ' ' THEN
                   MESSAGE('');
                   RAISE FORMS_TRIGGER_FAILURE;
              END IF;
              EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE';
              NEXT_RECORD;
         END LOOP;
    

    Kind regards

    Manu.

    If my response or response from another person was helpful, please mark accordingly

  • How to check the JSON object properties available

    Hi I have a JSON of WebService object.

    How to check the available JSON object?

    ex JSON:

    {

    name: "someName".

    DESC: 'someDesc '.

    }

    How to check the available name?

    Because sometimes not available from the server name properties

    void MyClass::httpFinished(QNetworkReply* reply)
    {
    QString data = (QString) reply->readAll();
    bb::data::JsonDataAccess jda;
    QVariant variant = jda.loadFromBuffer(data);
    QVariantMap variantMap = variant.value();
    QString name = variantMap.value("name").toString();
    }
    

    I want to hide component Label on my .qml if name not available from webservice.

    Thank you

    Kaz32 wrote:

    Hi I have a JSON of WebService object.

    How to check the available JSON object?

    ex JSON:

    {

    name: "someName".

    DESC: 'someDesc '.

    }

    How to check the available name?

    Thank you

    If you want to check if the name is available, you must use

    bool nameExists = variantMap.contains ("name")

  • How to check the ESX memory for errors?

    Hi all

    I faced with the strange behavior of ESX:

    Some linux VMs (RHEL) were stopped. No error messages in the vCenter nor LabManager, I even thought that someone just connected and Runic stop.

    Below you will find information of ESX server logs:

    (1) the vmkernel newspaper:

    #grep - color = always-i ' 1922 [^ 0-9] "... /VMkernel *"

    .. (/ VMkernel.8:Dec 8 22:22:40 WKK1EC02 vmkernel: 290:11:51:47.230 cpu14:23084) UserDump: 1441: Dumping cartel 23079 (of the world 23084) to file the vmfs/volumes/4a4ce277-4a35505c-8828-0024817b058c/labmanager/1922/vmware-vmx-zdump.000...

    (2) the journal of the VM:

    # grep ' 08 Dec' /vmfs/volumes/4a4ce277-4a35505c-8828-0024817b058c/labmanager/1922/vmware-1.log '.

    16:53:49.164 Dec 08: vmx | GuestRpcSendTimedOut: message to the Toolbox has expired.
    16:54:14.972 Dec 08: vmx | GuestRpcSendTimedOut: message to the Toolbox has expired.
    21:59:05.262 Dec 08: mks | Cannot write the temporary image THUMB
    21:59:15.264 Dec 08: mks | Cannot write the temporary image THUMB
    21:59:30.270 Dec 08: mks | Cannot write the temporary image THUMB
    21:59:35.271 Dec 08: mks | Cannot write the temporary image THUMB
    21:59:45.275 Dec 08: mks | Cannot write the temporary image THUMB
    21:59:50.285 Dec 08: mks | Cannot write the temporary image THUMB
    22:00:00.274 Dec 08: mks | Cannot write the temporary image THUMB
    22:00:05.276 Dec 08: mks | Cannot write the temporary image THUMB
    22:01:15.410 Dec 08: mks | Cannot write the temporary image THUMB
    22:03:25.312 Dec 08: mks | Cannot write the temporary image THUMB
    22:05:00.324 Dec 08: mks | Cannot write the temporary image THUMB
    22:05:05.340 Dec 08: mks | Cannot write the temporary image THUMB
    22:05:15.331 Dec 08: mks | Cannot write the temporary image THUMB
    22:05:20.341 Dec 08: mks | Cannot write the temporary image THUMB
    22:05:30.344 Dec 08: mks | Cannot write the temporary image THUMB
    22:05:35.353 Dec 08: mks | Cannot write the temporary image THUMB
    22:05:40.354 Dec 08: mks | Cannot write the temporary image THUMB
    22:05:45.366 Dec 08: mks | Cannot write the temporary image THUMB
    22:05:50.357 Dec 08: mks | Cannot write the temporary image THUMB
    22:05:55.361 Dec 08: mks | Cannot write the temporary image THUMB
    22:06:00.365 Dec 08: mks | Cannot write the temporary image THUMB
    22:06:05.371 Dec 08: mks | Cannot write the temporary image THUMB
    22:06:10.395 Dec 08: mks | Cannot write the temporary image THUMB
    22:06:15.379 Dec 08: mks | Cannot write the temporary image THUMB
    22:06:20.381 Dec 08: mks | Cannot write the temporary image THUMB
    22:06:30.397 Dec 08: mks | Cannot write the temporary image THUMB
    22:06:40.403 Dec 08: mks | Cannot write the temporary image THUMB
    22:20:45.541 Dec 08: mks | Cannot write the temporary image THUMB
    22:21:10.580 Dec 08: mks | Cannot write the temporary image THUMB
    22:21:15.538 Dec 08: mks | Cannot write the temporary image THUMB
    22:21:20.554 Dec 08: mks | Cannot write the temporary image THUMB
    22:21:25.545 Dec 08: mks | Cannot write the temporary image THUMB
    22:21:30.580 Dec 08: mks | Cannot write the temporary image THUMB
    22:21:35.591 Dec 08: mks | Cannot write the temporary image THUMB
    22:21:40.537 Dec 08: mks | Cannot write the temporary image THUMB
    22:21:45.629 Dec 08: mks | Cannot write the temporary image THUMB
    22:21:50.583 Dec 08: mks | Cannot write the temporary image THUMB
    22:21:55.616 Dec 08: mks | Cannot write the temporary image THUMB
    22:22:00.590 Dec 08: mks | Cannot write the temporary image THUMB
    22:22:05.638 Dec 08: mks | Cannot write the temporary image THUMB
    22:22:10.595 Dec 08: mks | Cannot write the temporary image THUMB
    22:22:15.582 Dec 08: mks | Cannot write the temporary image THUMB
    22:22:20.622 Dec 08: mks | Cannot write the temporary image THUMB
    22:22:25.583 Dec 08: mks | Cannot write the temporary image THUMB
    22:22:30.627 Dec 08: mks | Cannot write the temporary image THUMB
    22:22:35.673 Dec 08: mks | Cannot write the temporary image THUMB
    22:22:40.588 Dec 08: mks | Panic: file lock (was the bug 49968)
    22:22:40.589 Dec 08: mks | Bora/lib/image/imageUtilPng.c:462 unrecoverable memory allocation failure
    22:23:21.438 Dec 08: mks | Backtrace:
    22:23:21.440 Dec 08: mks | Backtrace [0] 0x3ccf63d8 eip 0xa3f88cd
    22:23:21.442 Dec 08: mks | Backtrace [1] 0x3ccf6818 eip 0x9ff705c
    22:23:21.443 Dec 08: mks | Backtrace [2] eip 0xa2803bc 0x3ccf6b88
    22:23:21.443 Dec 08: mks | Backtrace [3] eip 0xa2803f6 0x3ccf6bb8
    22:23:21.444 Dec 08: mks | Backtrace [4] eip 0xa27fcc3 0x3ccf6bd8
    22:23:21.444 Dec 08: mks | Backtrace [5] eip 0xa27fd28 0x3ccf6c28
    22:23:21.445 Dec 08: mks | Backtrace [6] eip 0xa115582 0x3ccf7128
    22:23:21.445 Dec 08: mks | Backtrace [7] eip 0xa115717 0x3ccf7138
    22:23:21.445 Dec 08: mks | Backtrace [8] eip 0xa00d0a9 0x3ccf7168
    22:23:21.446 Dec 08: mks | Backtrace [9] 0x3ccf9278 0xa00dbef eip
    22:23:21.447 Dec 08: mks | Backtrace [10] eip 0x3ccf9298 0xa298217
    22:23:21.447 Dec 08: mks | Backtrace [11] eip 0x3ccf92b8 0xa298255
    22:23:21.448 Dec 08: mks | Backtrace [12] eip 0x3ccf92e8 0xa10bfe9
    22:23:21.448 Dec 08: mks | Backtrace [13] eip 0xa0f2e81 0x3ccf93c8
    22:23:21.504 Dec 08: mks | Backtrace [14] eip 0x160534fb 0x3ccf94b8
    22:23:21.505 Dec 08: mks | Backtrace [15] eip 00000000 0x1613ae3e
    22:23:21.507 Dec 08: mks | SymBacktrace [0] 0x3ccf63d8 eip in function 0xa3f88cd in/usr/lib/vmware/bin/vmware-vmx of the object in the 0x9f98000 (zero)
    22:23:21.508 Dec 08: mks | SymBacktrace [1] 0x3ccf6818 eip 0x9ff705c panic function in/usr/lib/vmware/bin/vmware-vmx of the object loaded on the 0x9f98000
    22:23:21.508 Dec 08: mks | SymBacktrace [2] 0x3ccf6b88 eip in function 0xa2803bc in/usr/lib/vmware/bin/vmware-vmx of the object in the 0x9f98000 (zero)
    22:23:21.511 Dec 08: mks | SymBacktrace [3] 0x3ccf6bb8 eip in function 0xa2803f6 in/usr/lib/vmware/bin/vmware-vmx of the object in the 0x9f98000 (zero)
    22:23:21.511 Dec 08: mks | SymBacktrace [4] 0x3ccf6bd8 eip in function 0xa27fcc3 in/usr/lib/vmware/bin/vmware-vmx of the object in the 0x9f98000 (zero)
    22:23:21.512 Dec 08: mks | SymBacktrace [5] 0x3ccf6c28 eip in function 0xa27fd28 in/usr/lib/vmware/bin/vmware-vmx of the object in the 0x9f98000 (zero)
    22:23:21.513 Dec 08: mks | SymBacktrace [6] 0x3ccf7128 eip in function 0xa115582 in/usr/lib/vmware/bin/vmware-vmx of the object in the 0x9f98000 (zero)
    22:23:21.514 Dec 08: mks | SymBacktrace [7] 0x3ccf7138 eip in function 0xa115717 in/usr/lib/vmware/bin/vmware-vmx of the object in the 0x9f98000 (zero)
    22:23:21.515 Dec 08: mks | SymBacktrace [8] 0x3ccf7168 eip in function 0xa00d0a9 in/usr/lib/vmware/bin/vmware-vmx of the object in the 0x9f98000 (zero)
    22:23:21.515 Dec 08: mks | SymBacktrace [9] 0x3ccf9278 eip in function 0xa00dbef in/usr/lib/vmware/bin/vmware-vmx of the object in the 0x9f98000 (zero)
    22:23:21.516 Dec 08: mks | SymBacktrace [10] 0x3ccf9298 eip in function 0xa298217 in/usr/lib/vmware/bin/vmware-vmx of the object in the 0x9f98000 (zero)
    22:23:21.517 Dec 08: mks | SymBacktrace [11] 0x3ccf92b8 eip in function 0xa298255 in/usr/lib/vmware/bin/vmware-vmx of the object in the 0x9f98000 (zero)
    22:23:21.518 Dec 08: mks | SymBacktrace [12] 0x3ccf92e8 eip in function 0xa10bfe9 in/usr/lib/vmware/bin/vmware-vmx of the object in the 0x9f98000 (zero)
    22:23:21.519 Dec 08: mks | SymBacktrace [13] 0x3ccf93c8 eip in function 0xa0f2e81 in/usr/lib/vmware/bin/vmware-vmx of the object in the 0x9f98000 (zero)
    22:23:21.519 Dec 08: mks | SymBacktrace [14] 0x3ccf94b8 eip 0x160534fb in function (zero) in the object /usr/lib/vmware/lib/libpthread.so.0 to the 0x1604e000
    22:23:21.520 Dec 08: mks | SymBacktrace [15] eip 00000000 0x1613ae3e based on cloning in object /usr/lib/vmware/lib/libc.so.6 loaded in 0 x 16069000
    22:23:21.520 Dec 08: mks | Msg_Post: error
    22:23:21.521 Dec 08: mks | [msg.log.error.unrecoverable] fatal error VMware ESX: (mks)
    22:23:21.521 Dec 08: mks | Bora/lib/image/imageUtilPng.c:462 unrecoverable memory allocation failure
    22:23:21.521 Dec 08: mks | [msg.panic.haveLog] a log file is available in "/ vmfs/volumes/4a4ce277-4a35505c-8828-0024817b058c/labmanager/1922/vmware.log".  [msg.panic.haveCore] a base file is available in "/ vmfs/volumes/4a4ce277-4a35505c-8828-0024817b058c/labmanager/1922/vmware-vmx-zdump.000".  [msg.panic.requestSupport.withLogAndCore] please request support and include the contents of the log file and the base file.  [msg.panic.requestSupport.vmSupport.vmx86]
    22:23:21.523 Dec 08: mks | To collect the data to submit to the VMware support, run 'vm-support.
    22:23:21.524 Dec 08: mks | [msg.panic.response] we will respond on the basis of your entitlement to support.
    22:23:21.525 Dec 08: mks | ----------------------------------------
    22:23:21.739 Dec 08: vmx | Watched VTHREAD thread 1 "mks" is dead
    22:23:22.651 Dec 08: 1 vcpu. Watched VTHREAD thread 0 "vmx" is dead
    22:23:22.740 Dec 08: vcpu-3 | Watched VTHREAD thread 0 "vmx" is dead
    22:23:22.741 Dec 08: vcpu-2 | Watched VTHREAD thread 0 "vmx" is dead
    22:23:22.743 Dec 08: vcpu-0 | Watched VTHREAD thread 0 "vmx" is dead

    I found the suggestion to check the ESX memory for problems.

    I found the information that ESX 3.0 was ramcheck service which could check the memory, but there is no such service in future versions of ESX.

    Could someone help me find how to check the memory without stopping the ESX Server (I could not migrate virtual machines per host)?

    The only way you will get a true test of the memory of the HOST must stop it and run the test directly. Any tool running in the ESX console will only have indirect access RAM. The vmkernel controls access to physical RAM.

  • How to check the size of the tablespace by query?

    How to check the size of the tablespace by query?

    Run this query...

    SELECT
    A.tablespace_name 'space ',.
    A.bytes / (1024 * 1024) "Total_Size (MB).
    Sum (B.bytes) / (1024 * 1024) "free_space (MB).
    NVL (Round (Sum (B.bytes) * 100 / A.bytes), 1) "%Free."
    Round ((A.bytes - SUM (B.bytes)) * 100/A.bytes) '% Used_Space '.
    FROM dba_free_space B,.
    (SELECT tablespace_name, SUM (bytes) bytes
    FROM dba_data_files
    A GROUP BY nom_tablespace)
    WHERE B.tablespace_name (+) = A.tablespace_name
    GROUP OF A.tablespace_name, A.bytes
    UNION ALL
    SELECT
    A.tablespace_name 'space ',.
    B.bytes / (1024 * 1024) "Total_Size (MB).
    Sum (A.bytes_free) / (1024 * 1024) "free_space (MB).
    NVL (Round ((Sum (B.bytes) - A.bytes_used) * 100 / B.bytes), 1) "%Free."
    Round ((Sum (B.bytes) - A.bytes_free) * 100 / B.bytes) '% Used_Space '.
    FROM dba_temp_files B,.
    (SELECT tablespace_name, bytes_free, bytes_used
    V $ temp_space_header
    GROUP BY tablespace_name, bytes_free, bytes_used) has
    WHERE B.tablespace_name (+) = A.tablespace_name
    GROUP OF A.tablespace_name, B.bytes, A.bytes_free, A.bytes_used
    ORDER BY DESC 4;

  • How to check the data file is set to unlimilted autoextend

    S/N,

    Oracle version: 10.2.0.4
    OS: linux

    could someone tell me how can I check the data file are set to unlimited autoextend?

    Thank you
    Bahadur.

    Salvation;

    Pelase see:
    How to check the CanGrow data files the value of Maxsize unlimited [ID 468096.1]

    Respect of
    HELIOS

  • How to check the status of the statistics on a table?

    Hello
    I started the statistics collection on a few large tables in my database.
    How to check the status of statistics about a table? Are there views of data dictionary or tables to monitor the progress of the collection of statistics.


    Regds,
    Malika

    Hi all

    You can check with this little script.
    It lists details of sid for long as running session
    When he started
    What last update
    How long still to the left
    "ACTIVE/INACTIVE" session state etc.

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    -Author: James Syed_
    -Script_name: sid_long_ops.sql
    -Description: list details of sid for long running the session as when it began when the last update how long still to the left.

    fixed lines 200
    Neck LESS to a25

    Select
    a.SID,
    a.Serial #.
    b.Status,
    a.opname,
    TO_CHAR (a.START_TIME,' DD-me-AAAA HH24:mi:ss) START_TIME,
    TO_CHAR (a.LAST_UPDATE_TIME,' DD-me-AAAA HH24:mi:ss) LAST_UPDATE_TIME,.
    a.time_remaining as 'time remaining dry. "
    a.time_remaining/60 as "Min remaining time."
    a.time_remaining/60/60 as 'remaining time in HR.
    V $ session_longops a, v$ session b
    where = select a.sid
    a.sid = & sid
    And time_remaining > 0;

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

    The sample output:
    --------------------

    SQL > @sid_long_ops
    Enter the SID value: 474
    13 old: a.sid = & sid
    13 News: and a.sid = 474

    SID, SERIAL # STATUS START_TIME LAST_UPDATE_TIME remaining time LESS dry time remaining minutes remaining HR time
    --------------------------------
    474 2033 ACTIVE collection schema statistics June 6, 2012 20:10:49 June 7, 2012 01:35:24 572 9.53333333.158888889

    Thank you & best regards

    Syed James.
    Oracle Apps DBA
    Mobile: + 91 9966270072
    E-mail: [email protected]

  • How to check the Dell laptop computer charger is authentic

    Hi.Dell Community

    I want to know how to check the Dell laptop computer charger is authentic? also, I bought the system in India on 30' th December 2015 but its POW watch warranty expires at the beginning?

    Warranty details
    Service Provider Start Date End Date Days warranty
    Only the the parts warranty REFERENCE DELL 26/06/2017 26/09/2017 614
    Next business day response REFERENCE DELL 26/06/2017 26/09/2017 614
    Only the the parts warranty REFERENCE DELL 26/06/2016 26/06/2017 522
    Next business day response REFERENCE DELL 26/06/2016 26/06/2017 522
    Parts only warranty (in Service) REFERENCE DELL 25/06/2015 26/06/2016 157
    In service (3-Business Day)(8x5) REFERENCE DELL 25/06/2015 26/06/2016 157
    TECHNIQUE STANDARD TELEPHONE SUPPORT REFERENCE DELL 25/06/2015 26/06/2016 157
    Only the the parts warranty REFERENCE DELL 25/06/2015 26/06/2016 157
    Next business day response REFERENCE DELL 25/06/2015 26/06/2016 157

    Hi Hema,

    Thank you for your kind reply.

    I bought the system in a Dell store allowed, but the thing is I'm getting confused on post purchase experience.  The bag pack which the seller gave me apparently local, when I refused to take it, he assured me that I will get a real bag after a few days. I also think that I cheated from windows.

    I will be much obliged if you can read the issue in the context (the conversation with the windows community)-

    My question - what is the use of "slmgr / / ato" command, my system is watch a range error code 0x80072EF7, when I run this command. can be solved?

    response-

    Thank you for visiting Microsoft Community.

    According to the publication of the description and the error code that you get when running ' slmgr / / ato "command, it seems that you have any question in your Windows activation.

    Use of slmgr / / ato command:

    For volume systems, with a KMS host key retail editions or a key to activate Multiple (MAK) installed /atoprompts Windows to attempt activation online. Activate Windows license and product key from the Microsoft server. If you receive error 0x80072EF7 code then I suggest you to try the steps outlined in the article below and see if it helps you to solve the problem.

    My question-

    I can't run these technical stuffs on my computer. I'm scared I might lose the original settings since I'm not familiar with computer terminology. I didn't activate windows, I run the command "slmgr/ato' because of Microsoft technical team asked me to do the same. The reality is that I just bought a new Dell laptop, which came with no reinstalled windows, but dealer told me it communicates me windows 8.1pro as compliment (when I asked him which win. I should use win10 update or win original 8.1). and the cost of windows is not mentioned in the Bill. I was not aware at the time of the purchase that I won't have a preinstalled windows system, because I asked the price for laptop with the desired configuration and win8.1. I never thought that I buy a DOS system. I paid for almost the same price for laptop with "win 8.1pro" brokers in the area compare to preinstalled laptop computer sing.language win8.1. After 2 days, when I realized the question and asked the technical team at Microsoft to see if windows that is installed on my system is authentic or not, and they told me that windows is authentic, after checking with my key.  From there, my doubt starts Can a windows be true, even if the user has no evidence that he has purchased? Is the only information is the product key which certifies the genuine windows? What is the risk if the dealer gives the same key to another customer as a "compliment".

    Once I shared the issue with Microsoft support, they tried to hear me, but I think that they have not properly my concern. However, they asked me to run that command and message showed that windows is already activated. Since then, I thought that it could be someone else can also use the same key, I tried to check this order 4 days after. Since then, this error shows. Now, I want to solve each and every error on windows, I will also be very grateful if you could provide me the only way to learn how to check the real windows.

    response-

    Yes, I agree with you, your concern on the product key. It is true that your computer vendor could give the same product key to the other person as a gift too. If another person uses the same key to activate the OS, then you might get pop up to activate your Windows or other activation errors.

    You can see the article mentioned below to check if your OS is authentic.

    My question-

    Today, I called again to Microsoft helpline years technical support says my concern again. This time they told me that 'the ID of the product' which I use is enabled on other computers, but still found my authentic windows. I wonder, earlier the chat session which is held with the technical support told me that no one can use the same key that I use. If it someone trying to do it won't affect my computer because I am one who is authentic and the first user. I don't understand why are there different versions of the truths in the company for the same problem?

    I feel very sad that the company like Microsoft is not able to do something for their customers like me who are less sophisticated techno and want to become authentic windows user! Now, I think there must be a link any between the 'error', I've mentioned above and even the activation key on a different system.  I'm afraid how it would affect my system if other systems get activated by the same key. I don't know what are the services that I won't be able to enjoy if my windows become ingenuine later. Kindly guide me how to raise my complain about best way (with respect to the argument) to the dealer or authority be it is.

    response-

    If you have a valid key, then you will be able to turn it on again. If you call our support team then they will check into his tool and validate it, after doing this they will validate your key and help by activating the latter, if it turns out anyway.

    Keep us.

  • How to check the amount/number of issued on the database DDL operations

    Hello

    Can someone please clear some doubts.

    1. How can we check the number of DDL operations on the database

    2. how we check the amount of growth in the size of the database.

    3. How can we check the growth of a single table.

    Concerning
    Amith

    Select startup_time "Startup."
    MySQL 'Transactions. "
    /Decode (value) sum (Sum (trunc(sysdate-STARTUP_TIME)), 0.1, Sum (trunc(sysdate-STARTUP_TIME))) "Avg per day."
    /Decode (value) sum (Sum (trunc(sysdate-STARTUP_TIME)), 0.1, Sum (trunc(sysdate-STARTUP_TIME))) / 24 ' Avg / hour. "
    /Decode (value) sum (Sum (trunc(sysdate-STARTUP_TIME)), 0.1, Sum (trunc(sysdate-STARTUP_TIME))) / 1440 "Avg / min.
    v $ sysstat, instance $v
    WHERE name in (a "user is committed," restores user)
    Startup_time group;

Maybe you are looking for

  • How can I make all the emails on a .bcc of distribution list when you use the address book?

    When I send an email to a "list" in my address book I want to warn all the email addresses of the recipients to be visible by all byhaving be the entire list > bcc - how can I do this with Thunderbird?

  • The projectors are compatible with Equium P300-16 t?

    Hey, have recently bought this laptop and I am interested in buying a projector to use with the laptop. Discovered that the laptop can be connected to a TV-, but has some limitations on the type of TV. Wondered if there is no limitation on the projec

  • Line tool command that returns a value

    Is it possible to compile a VI to work as a tool of command line that accepts arguments and returns a value? I need to create commands that will be run from a shell script and return values that will be used in the script in order to evaluate the res

  • PowerShell PGP

    I hope someone can help me.  I am very new to PowerShell.  I'm trying to see if powershell can even do what I need to.  I have an encryption key that I use to encrypt files.  Is it possible to have powershell to import the key and use this key to enc

  • Windows Vista PC keeps filling the disk space

    Windows Vista PC keeps filling the disk space, but programs like Treesize and Windows Explorer are not all of the additional files. The disc has about 45 GB of files, but the 220 GB drive is almost full. I suspect that a program will create orphaned