Get the Block property

Hi all

You know, how I would get to know if a block of data is in the database or not during execution.

I searched on Get_Block_Property but there is no any parameter that indicates the block database is set to Yes or no.

waiting for your quick return.

Concerning

Hello

Test the property of block DML data target name. If the block is based on a table or a view, it returns the name of the table/view.

tb_name := Get_Block_Property( 'the_block', DML_DATA_TARGET_NAME );

François

Tags: Oracle Development

Similar Questions

  • Get the page property top of page on the navigation stack

    Hello world

    I have a navigation stack, and I push pages top (sometimes even several times the same page, just with a different content)

    The pages are custom pages

    Now I have the problem that I need to get a specific page in the foreground property, and the property must be referenced from the navigation pane

    so my code that looks like this:

    //****************
    //***CustomPage.qml
    //********
    import bb.cascades 1.2
    Page {
        property variant titleLabel
    
        Container {}
    }
    
    ///This code is in my navigation pane, in a function
    
    var top = navigationPane.top; //top is a custom page, CustomPage
    
    //how to reference top.titleLabel ?
    

    I can't put it, I can't get it. I guess it's because the top is an unknown class . How can I do?

    Ah, the joys of debugging :/

    Found the solution for my problem: restarted Momentics, restarted my debugging device, now it works as expected (and it costs my 3 hours of my life)

    Sorry for the inconvenience

  • I don't get the 'clear' property

    I use it, but I don't really understand...

    For example in an id #header. I'll have a floating left logo and navigation floating to the right. I will use a ' clear: both ' in #header if the logo and navigation don't collide or be under the other. It works, but how? Please help me understand this...

    If you have columns (left + right) div and footer div

    Property float are applied to your columns and if you apply a clear both to your footer, it will not allow anything to float left or right (both) to float next to it. This is the main reason why the float property exist.

    It is not a margin or a block. It is just to restore document normal flow of floating elements.

    Second, we can force an element to contain floats (photo for example).

    The best way to understand how it works, is to play with div boxes in a simple XHTML document to see how the elements react with each other.

  • How to get the XML property

    I have xml like this (generated by the Web service):

    
    A
    B
    
    

    How can I get the id value in the listview.

    Thank you

    Hi Wibi_okezone,

    It is called attribute.

    You can got id as shown below

    QDomElement e2 = nodeList.at(iDx).toElement();
    map["id"] = e2.attribute("id").toAscii();
    

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

    feel free to press the button like on the right side to thank the user who has helped you.

  • Gets the block db confusion

    Hello

    Oracle 11.2.0.1

    Windows

    SQL > connect sys/pw as sysdba

    Connected.

    SQL > set autotrace traceonly;

    SQL > select * from scott.emp;

    14 selected lines.

    Execution plan

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

    Hash value of plan: 3956160932

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

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

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

    |   0 | SELECT STATEMENT |      |    14.   532.     3 (0) | 00:00:01 |

    |   1.  TABLE ACCESS FULL | EMP |    14.   532.     3 (0) | 00:00:01 |

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

    Statistics

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

    1 recursive calls

    0 db block Gets

    4 consistent gets

    0 physical reads

    0 redo size

    1630 bytes sent via SQL * Net to client

    523 bytes received via SQL * Net from client

    2 SQL * Net back and forth to and from the client

    0 sorts (memory)

    0 sorts (disk)

    14 rows processed

    SQL > connect scott/pw

    Connected.

    SQL > set autotrace traceonly;

    SQL > select * from scott.emp;

    14 selected lines.

    Execution plan

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

    Hash value of plan: 3956160932

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

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

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

    |   0 | SELECT STATEMENT |      |    14.   532.     3 (0) | 00:00:01 |

    |   1.  TABLE ACCESS FULL | EMP |    14.   532.     3 (0) | 00:00:01 |

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

    Statistics

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

    23 the recursive calls

    15 db block Gets

    Gets 5 in accordance

    0 physical reads

    872 redo size

    1630 bytes sent via SQL * Net to client

    523 bytes received via SQL * Net from client

    2 SQL * Net back and forth to and from the client

    0 sorts (memory)

    0 sorts (disk)

    14 rows processed

    SQL >

    My question is:

    Why I see 15 db block Gets and 872 redo size when I use only this test db and only I connected as user scott.

    Thank you.

    Sometimes it's the way you have created the data or the current state of the data; Sometimes, it is a characteristic of the test; Sometimes, it's down to strange bugs.

    Get 15 db block gets you every time that you run the query with autotrace activated?

    What happens if you do "autotrace statistics" and avoid generating the plan (just in case the 15 come to fill the plan table - which they shouldn't).

    Autotrace switch, query v$ mystat, v$ statname stats non-nulle, run the query, repeat the query v $ mystat, v$ statname and check the differences - perhaps a few other workload statistics will give you an idea.

    You could activate tracing buffer see which buffers, but perhaps a first step easier is to empty the log again to see what those again records relate: switch log file, run the test (without autotrace), empty the log file (edit the system dump logfile "Filename";).

    Concerning

    Jonathan Lewis

  • How to get the file property

    I need to take action once a file has been modified.

    I donot want the contents of the file to vote all the time. I can't verify ownership of the file modification time.

    Can I know how to do. Thank you.

    If you don't want to make the ballot, then you need to use a reminder. How to do this depends on which operating system you are running, which is...?

    For example, on Windows, you can try to use the Windows API, as FindFirstChangeNotification (good luck with that). You can also use the .NET FileSystemWatcher class. Examples are provided with LabVIEW to show you how to make reminders for .NET. Something like this:

  • Error: ORA-16757: failed to get the value of this property

    Hi all
    I have an error:
    DGMGRL > see the database dbname_stb LogXptStatus;
    Error: ORA-16757: failed to get the value of this property
    I check:
    DGMGRL > see the configuration;

    Configuration - dbname_dg

    Protection mode: MaxPerformance
    Databases:
    dbname_pr - primary database
    dbname_stb - physical of the standby database

    Fast-Start Failover: DISABLED

    The configuration status:
    SUCCESS

    drcdbname_stb.log:
    RSM0: Received the request the property Get: rid = 0 x 01010000, pid = 54
    2012-10-17 15:21:14.702 of database Resource: get the LogXptStatus property
    RSM 15:21:14.702 2012-10-17 error: trying to interview a 'LogXptStatus' primary type property on a standby database resource.
    2012 10-17 error 15:21:14.702 database resource GetProperty (16501,16757)

    I don't understand this error?
    Thank you all.

    Take a look on this

    Re: ORA-00254 | Trouble with dataguard

  • Can I get the the display name property through VIX ESX?

    I can't figure out how to get the name property to display a VirtualMachine hosted on an ESX via VIX server.  Is there a property, I can go to get property to get this?

    Yes, it's part of the problem; its currently not supported this is why his is not visible.

  • I need to unlock the email address that I've blocked by mistake on the red list. How can I find the blocked list?

    How can I get the blocked list of emails that I blocked to come to my email?

    You need to tell us what e-mail program using.
  • Getting the list of Custom Component ListView

    Hello

    I'm trying to figure out how to get the 'checked' property of a custom component of QML.

    Basically, it's the same as the first example on https://developer.blackberry.com/cascades/documentation/ui/custom_components/index.html

    This is a list, with a listItemComponents, whose type: "item" contains a check box and the label.

    I have an ActionItem whose job is to take all elements that are enabled and do something.

    The ActionItem triggers a C++ code that should get this list.

    Problem is, I can't figure out how to get the selected items. I tried the selected() function but it returns empty.

    I have to turn this into a multiple selection?

    I got so far is the back of GroupModel, after selection, but this does not include anything other than what I fed in the first place. Which makes sense.

    There are a lot of similarities between this issue and the other. Should help to my code and comments in this post, I think: http://supportforums.blackberry.com/t5/Cascades-Development/LstItemComponent-doesn-t-track-the-model...

  • only get the key of the 'targetLayers' of 'Dcmn"descriptor

    Hi, I work with documents of very large, with many layers, and I have a problem when trying to get the key 'targetLayers' of the descriptor "Dcmn" Photoshop building histograms and it takes a lot of time, only to get selected... layers: () I know that there is the putProperty method, which works great for layers ('Lyr') or the Application ('capp') , but does not seam to work with documents

    Done, someone has an idea on how to get only the 'targetLayers' key?

    This is the code to get the index of selected layers:

    function getSelectedLayersIdx(){// get the selected layers index( positon in layer editor)
         var selectedLayers = new Array;
         var ref = new ActionReference();
         ref.putEnumerated( charIDToTypeID('Dcmn'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
         var desc = executeActionGet(ref);
         var add = 1;
         if(hasBackground()){add = 0}
         if( desc.hasKey( stringIDToTypeID( 'targetLayers' ) ) ){
              desc = desc.getList( stringIDToTypeID( 'targetLayers' ));
              var c = desc.count
              var selectedLayers = new Array();
              for(var i=0;i<c;i++){
                   selectedLayers.push(  (desc.getReference( i ).getIndex()) + add);
              }
         }else{
              var ref = new ActionReference();
              ref.putProperty( charIDToTypeID('Prpr') , charIDToTypeID( 'ItmI' ));
              ref.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
              srs = hasBackground()?executeActionGet(ref).getInteger(charIDToTypeID( 'ItmI' ))-1:executeActionGet(ref).getInteger(charIDToTypeID( 'ItmI' ));
              selectedLayers.push( srs);
         }
         return selectedLayers;
    }
    
    

    and if I put this:

         var ref = new ActionReference();
         ref.putEnumerated( charIDToTypeID('Dcmn'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
         ref.putProperty(charIDToTypeID('Prpr'), stringIDToTypeID('targetLayers'));
         var desc = executeActionGet(ref);
    
    

    I get the error saying that "-the"Get"command is not currently available."

    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID('Dcmn'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
    ref.putProperty(charIDToTypeID('Prpr'), stringIDToTypeID('targetLayers'));
    var desc = executeActionGet(ref);
    

    I get the error saying that "-the"Get"command is not currently available."

    When you create a reference object, good command of containers is critical; It goes from the specific to the general. Think of it with 'of' inserted: get the target property layer of the current document.

    It should work then:

    var ref = new ActionReference();
    ref.putProperty(charIDToTypeID('Prpr'), stringIDToTypeID('targetLayers'));
    ref.putEnumerated( charIDToTypeID('Dcmn'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
    var desc = executeActionGet(ref);
    

    HTH...

  • How to get the MAC address of the virtual machine on which vmware tool is not installed

    Hello

    In our project, we communicate to vCenter/ESX and details of virtual machines using the VI - Java 4.0.0 SDK APIs

    I use PropertyCollector for details.

    But in the following cases

    1. a virtual machine is poweredOff.

    2 VMware tool is not installed on the virtual machine.

    I am not able to get the mac using the PropertyColector address.

    To get the macaddress property I use after crossing spec:

    rootFolder (folder)-> childEntity (data center)-> hostFolder (Folder)-> childEntity (ComputerResource)

    -> host (Hostsystem)-> vm-> guest (GuestInfo)-> net (GuestNicInfo)-> macaddress (in Virtualmachine)

    I know the vSphere client uses the VI SDK to perform all operations, and I am able to see the macAddress of VirtualMachine in cases using vSphere client.

    Is any body please help me get the macaddress of VM in the two cases.

    Thank you

    Deepak

    Take a look at the dashboard feature of the virtual machine and specifically "VirtualEthernetCard": http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.vm.device.VirtualEthernetCard.html

    When you assign a new vNIC to each virtual machine, a unique MAC address generated is given by default. If you still want to map the actual interface of the guestOS, then you would take a look at guestInfo as you may have noticed IF you have the VMware Tools. Although the default is whence the MAC address

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    150 VMware developer

    If you find this information useful, please give points to "correct" or "useful".

  • Get the IP comments

    I use a script that is trying to collect the name and description of all the guests, but when I try to get the IPAddress property, lists just them all as "System.String". How do this output to a .csv and get the IP address of the host?

    Get-vmguest - vm (get - vm). Select-object vmname osfullname, IPAddress | Export-csv c:\vm_report.csv

    Thank you!

    This is because the IPAddress property is an array.

    One way to do this is like this:

    Get-VMGuest -VM (Get-VM) | %{
      $vm  = "" | Select VMname, OSFullName, IPAddr
      $vm.VMname = $_.VmName
      $vm.OSFullName = $_.OSFullname
      foreach($ip in $_.IPAddress){
        $vm.IPAddr = $ip
      }
      $vm
    } | Export-Csv "c:\vm_report.csv" -noTypeInformation
    
  • How to get the value of a component within a Repeater using the identifier of the component?

    Hello I am on a Repeater with a httpservice as dataprovider.

    in this relay, I have a < mx:Panel > that contains a < mx:Text > < mx:ButtonBar > and < mx:HSlider >.

    I need to get the text property of the text element and the value of the HSlider when changed the slider value. (using the "change =... ("my HSlider property).

    How to do what I need to know what Panel, HSlider, and whose text has been activated by the change of cursor?

    Thanks for your help

    This could help you.

    
    
    
    
      
        
       
    
      
          
          
      
    
    
  • How do I view or the cluster size list and the block of an ocfs2 filesystem

    Hi all...

    Reading the guide user ocfs2 and don't see a way to block size or cluster of list of a file system ocfs2 and of additional properties similar to tune2fs - l.

    Could someone post a way they found?

    It is formatted in printf. To get the block size, do:

    # tunefs.ocfs2 q '%B\n' / dev/sdX

Maybe you are looking for

  • I have problem with itunes when I connect my idevice

    I have no problem while I use itunes without any connected devices, but when I connect my cell phone to any device, itunes no longer works. I tried to remove itunes and reinstall it, but nothing has changed. What can I do? I thank in advance

  • TB refuses my password - pswd is good because I can access e-mail on the web page of Yahoo from Verizon

    I use Yahoo from Verizon. Everything has worked when suddenly Thunderbird does not accept my password to give me the following error message: "sending the password failed. "Mail server incoming.yahoo.verizon.net replied: (#AUTH012) Incorrect username

  • Is my BlueTooth adapted Satellite?

    HelloI would like to know if my Toshiba Satellite has built-in BlueTooth.I tried what the other questions on the forum said and still can not understand it. I checked this link as http://aps2.toshiba-tro.de/bluetooth/?page=howto well (as you suggest

  • This file is past store safari in addition to login.keychain?

    I've been everywhere on the web for this. I reinstalled Mavericks and cannot find my passwords for all the websites in my TM backup. I tried login.keychain on my keychain username library file, but this file contains only connections to access my rou

  • How to connect a magnetic flow meter to a 9203 module?

    Hello I have a magnetic flow meter, which gives me a measured 4-20mA signal. I'm reading this signal using the 9203 module. As he wrote in the technical data I have to use external power supply. I have 2 sons of my August flowmeter + and GND. I conne