How can I know the number of columns in a TYPE?

Hello

If we have a guy like below

type vc_arr2 is table of the varchar2 (32767) index directory.

How can I get the number of columns?

Minoo.TK wrote:

Hello

If we have a guy like below

type vc_arr2 is table of the varchar2 (32767) index directory.

How can I get the number of columns?

It is a type of associative array definition. A table has no columns. It is a collection of elements (variables or values). An array location is usually called a cell.

The standard method Count() exist in Oracle for all table types.

As for the definition of the table, as in structures, variables make the table contain - associative array is defined in the PL/SQL code and does not exist in the layer of metadata to the database as a new user-defined type. For the definition, you must read the declaration of PL/SQL defining the table.

Note that there is very rarely the need for associative tables in PL/SQL - 99% of the time they are used without any idea as to what as a table associative is also.

Tags: Database

Similar Questions

  • How can I know the number of columns and lines on excel file

    How reading the number of columns and rows on an excel file after you open the file in excel with ActiveX.

    Using the example of excel200dem, I read that the file data is excellent.

    However, in this example, I just give the number of lines and columns.

    I want to know the number of lines and columns not giving those in C code automatically.

    Who knows this things? -?

    Help me please.

    Hello

    (1) this forum provides a search option, you must use in doing so, you will find this post

    (2) don't solve you your earlier questions? If so, you must mark responses that have helped you find a solution.

  • How can I know the number of my Window Media Player

    How know the version or the number of my windows media player is running. My pc is Windows 7 starter.

    Mike

    Open Media Player.

    Press the Alt key to display the menu and click Help - about.

  • How can I know the Position of the column in a table

    Hi all
    How can I know the position of the column in a table...
    For example: -.
    I have a table

    DESC EMPLOYEES

    EmpID
    Ename
    SAL

    I want to know the Empid is in 1st position, ename is 2nd and sal is in 3rd place.

    is this possible?

    SELECT *.
    Of user_tab_cols
    WHERE table_name = 'EMP ';

    Concerning
    Arun

  • How can I determine the number of contacts that I have

    How can I determine the number of contacts that I currently have on my iphone

    I don't know of a way on the iPhone, but if you have a Mac, you can go to the Contacts (platform) app and scroll to the bottom where you will find the total.

    Same for iCloud.com on your browser, go to the app, scroll down.

  • How can I learn the number of copies that were printed on my HP 8600 printer?

    How can I learn the number of copies that were printed on my printer HP 8600 (model CN578A)?

    I would like to see how many copies I'm actually contained in the inkjet cartridges - especially the less filled 'starter' cartridges that came with my new printer.

    Hi timeoffbob,

    Welcome to the HP Forums! I see that you're wondering, how do I know the number of copies that were printed on your HP Officejet pro 8600. I'm happy to help you!

    Please take a look at printing a status report. On the report, it will be number of printed pages. Printing a Test Page.

    Hope that answers your question and have a nice day!

  • How can I control the number of clients connecting to one or more access points?

    Hi guys,.

    I am using several access points LWAPP/CAPWAP (1010, 1131, 1142) connected to the 4400 series wlan controllers (OS Version 4.2 and 7.0).

    Regarding the client connection to access points, I have several questions:

    1. extent to which clients can connect to an access point (maximum possible vs recommended)?

    2. can I limit the maximum number of clients connecting to the access point in the gui controller? I found how to configure thresholds for sending traps when a number of clients connected to an access point is reached.

    3 How can I balance the number of customers between two adjacent ap, who use the same SSID?

    Best regards

    Thorsten

    Hello

    1. extent to which clients can connect to an access point (maximum possible vs recommended)?

    YEARS-

    Here is the link for possible Maximum...

    http://www.cisco.com/en/US/docs/wireless/controller/7.0/configuration/guide/
    c70ccfg.html#wp1085099

    Recommended , Not more than 20 clients per AP.

    2. can I limit the maximum number of clients connecting to the access point in the gui controller? I found how to configure thresholds for sending traps when a number of clients connected to an access point is reached.

    YEARS - here's the software bug that we had raised with the development team of thre...

    http://Tools.Cisco.com/support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtj94508

    Symptom:

    There should be a way to limit the number of wireless clients that can associate to a lightweight AP.

    Conditions:

    Workaround:

    3 How can I balance the number of customers between two adjacent ap, who use the same SSID?

    YEARS - you can configure the feature aggressive load balancing across the WLC, it can help...

    Let me know if that answers your question...

    Concerning
    Surendra
    ====
    Please do not forget to note positions that answered your question and mark as answer or was useful

  • How can I count the number of participants in TextChatApp? (using SharedObject, FMS)

    Hi all.

    How can I count the number of participants?

    If the user 3animal enter the room, 3st user need to know that how many users is in the room.

    How can I find out how many users is in the room?

    Thanks in advance.

    Kevin.

    There's an sor acceptConnection() something like that on FMS, whenever you do not accept an increase in connection a counter.

    It's to you if you call all customers update handmade (custom method) so to increase counter or updating just the SharedObject that will synchronize with subscribers users.

    C

  • How can I find the number of users returned by cfldap query?

    How can I find the number of users returned by cfldap query?

    I'm not allowed to do something like:

    < cfif ArrayLen (results.rows) WG 1 >

    Then, I get an error:

    faultCode:Server.Processing faultString:' unable to invoke CFC - class type object coldfusion.tagext.net.LdapResultTable can use table ' faultDetail: "

    Thank you very much for all you can shed light

    Expand on Dan's response.

    #results. USNCreated # is a reference to the entire column.  This shortcut is allowed inside of a or a loop.  But if you want to access the record set directly outside one of these structures of loop, you must use the query.column [full row] or ["column"] [rank] query syntax.

    THAT IS TO SAY

    
    
  • How can I find the number of pixels is in my photos of the ipad? I sell on ebay and they have new requirements for the photos. 500 pixels on the longest side. Is it possible to increase the pixels on already took pictures?

    How can I find the number of pixels is in my photos of the ipad? I sell on ebay and they have new requirements for the photos. 500 pixels on the longest side. Is it possible to increase the pixels on already took pictures?

    See if this application works for you > https://itunes.apple.com/us/app/image-size/id670766542?mt=8

  • I have an iPhone 6 and use Verizon as my server. How can I increase the number of rings until it goes to voicemail?

    I have an iPhone 6 and use Verizon as my server. How can I increase the number of rings until it go to voicemail?

    You can not. There is no adjustment to make on a phone. In fact, it is not based on the number of rings, it is a problem of synchronization based on the parameters of the call. You can contact Verizon to see if they can increase at that time here, but even if they can, it won't be much, only a few seconds if they do at all.

  • How can I limit the number libraries which is to find Photos

    How can I limit the number libraries which is to find pictures?

    I have about 10 libraries I've migrated opening today.

    I followed the advice I got from leonie, (level 10) below.

    Photos will create a new library of Photos in your iPhoto library.  The new library will be named as the iPhoto, with the extension ".photoslibrary" library and your original library will have a new file name extension ".migratedphotolibrary".  Rename the resulting ".photolibrary", so you will always be able to open in Aperture. The icons of libraries will change also. New photo library will display an icon of 'fan photos' with the flower of the Rainbow.


    So, I have now two files in my folder "Images".   One is called "Photo library" (these are ALL of .photoslibrary) the other is 'BACKUP ONLY iPhoto libraries' (these are ALL of .photolibrary).

    When I hold down the option key and start the Photos is to find all the libraries of two files above. How can I say Photos don't not to look in the old folder "iPhoto library"?

    This isn't a feature of Photos

    You can request that Apple itself - http://www.apple.com/feedback/photos.html - but not, it is not an option

    LN

  • Tecra A8 - How can I know the temperature of the processor?

    How can I know the temperature of the processor?
    It seems very high. And I'm worried about this.

    Hello

    I m using the Everest Home Edition
    This tool is free and it reports the temperature values NECK and HARD drive.
    In addition, you can find some information about the software installed and inserted material parts.

    See you soon

  • How can I know the date of my current windows installation?

    How can I know the date of my current windows installation?

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
     
    SystemInfo | more
     
    It is up.
  • How can I know the exact date of the csrss.exe download?

    HelloW please someone tell me how can I know the exact date of the download or installation of csrss on my pc. in the properties of the box, I can only find an old date (date of creation 2009) but think I didn t have this pc so... Please help me

    Hello

    Thanks for posting your query in Microsoft Community.

    I understand that you have questions about the date of download csrss.exe.

    But I would like to know more information, to help you better.

    (1) get any error message related to this csrss.exe process?

    (2) what is the problem in the computer?

    In the meantime, please refer to the below suggestion.

    In fact, the csrss.exe is not a program that can be downloaded, it is rather a process in the Windows System. Thus, it would display the date of creation as the process is being created. Csrss.exe is a system process that is needed for your PC to function properly. It should not be deleted.

    The Microsoft Client Server Runtime Server subsystem uses the csrss.exe. This process of management of the majority of the graphical instruction sets under the Microsoft Windows operating system. As such Csrss.exe offers the important functions of the operating system, and the Blue Screen of Death displayed may lead to his termination.

    Csrss.exe threading and features of Win32 console window controls. Threading is where the application itself is divided into several simultaneous running tasks. Threads supported by csrss.exe are different
    process in this son are usually included in the process, with different threads, sharing of resources within the same process. The Win32 console is plain text window in the Windows API system (programs can use the console without the need for display of the image).

    Additional information:

    Csrss.exe

    http://answers.Microsoft.com/en-us/protect/Forum/MSE-protect_scanning/csrssexe/26bba20c-2691-4D42-bec4-637436c53c4f

    I hope this helps. Otherwise, feel free to write back and we woll will be happy to help.

    Thank you

Maybe you are looking for