How to clean up of empty blocks in a Essbase database.

Is there a way or a script that I can write to get a list of all empty block in a calced block storage application? For example I would like to find out which generation 3 blocks are empty (after aggregating) in a given dimension, extract this list onto a text file so I can delete these from the outline using a parent child dim build.<BR><BR>If you know of an alternate way to achieve the same result your assistance would be greatly appreciated.<BR><BR>Cheers.

The simplest way to clean up empty blocks is to defrag the database by doing a level 0 export, clear the database, then reload and reconsolidate. You can automate this process with MaxL and schedule it run during off hours.<BR><BR>As far as a way to run a report that will show you data blocks at different sparse combinations with no data in them, Essbase does not have that functionality built in. Perhaps you could write something custom if you really wanted to get into it, but I think the effort would be great for something of little value. To get a report showing empty blocks so you could then write a calc script to fix on them and use a CLEARBLOCK command to get rid of them would take a lot of time. The defrag process I described above is pretty quick on most databases.<BR><BR>The one thing to watch out for with the method I described above is if you are inputing data to upper level blocks and not using calc scripts to allocate the values to base level members. Many would consider this bad practice, including me, and would say you should not do it. But if you are and you don't want to change, then make sure you are doing full database exports and not just level 0.<BR><BR>HTH

Similar Messages

  • How to compare, current value in :block.text_item with the database value

    Hi
    Could you please tell me
    How to compare the current value in :block.text_item with the corresponding database column value.
    I am using forms 10g
    There is block and there is an text Item in that block.
    When I run the form and query the block (tabular), the :block.text_item shows me, whatever value there in the database.
    Now I add some value in the :block.text_item to the existing value.
    now
    the :block.text_item contains old+ new added value
    whereas
    the database table contains 'old' value
    Now on a button click , I want to find out what is the value that I have added
    Could you please tell me, is it possible without writing a select query?

    Hello,
    Now on a button click , I want to find out what is the value that I have addedSo you mean always user will add value in the existing value. Because this way will fail in one case. Let say
    Value in Database is = ABCD
    User opened the form and he removed the D and write E and now value is ABCE and length is still same 4. So, there is no addition.
    Anyway you can know the database value at runtime there is one property for item called DATABASE_VALUE. It gives the value which is in database while you are running the form before save. and you can use like this..
    Trigger = WHEN-MOUSE-DOUBLE-CLICK on item level
    DECLARE
      vItemValue DATATYPE; -- Set the data type according to your desired field.
      vValueAdded DATATYPE; -- Set the data type according to your desired field.
    BEGIN
      vItemValue:=GET_ITEM_PROPERTY('ITEM_NAME',DATABASE_VALUE);  -- It will return you the database value in vItemValue variable.
      IF LENGTH(vItemValue)>LENGTH(:FORM_ITEM_NAME) THEN  -- It mean something change or added
        vValueAdded:=SUBSTR(:FORM_ITEM_NAME,LENGTH(vItemValue)+1);
        MESSAGE('Added value is : '||vValueAdded);  -- It will show you the added value.
      END IF;
      -- now suppose you want to show the old and new value in message not the added one
      -- Then no need of IF condition. You can just use message like this
      -- And i would prefer to use like this way
      MESSAGE('Old Value : '||vItemValue||'  New Value - '||:FORM_ITEM_NAME);
      MESSAGE('Old Value : '||vItemValue||'  New Value - '||:FORM_ITEM_NAME);
    END;Hope it is clear.
    -Ammad

  • How to clean project from comman line ?

    How to clean project from comman line ?
    I would like to invoke the same functionality as in Flex
    Builder Project -> clean... -> clean all projects...
    but from command line is it possible ?

    You can:
    1) Perform a project clean up (p.153 of the user manual) - it removes any unused recordings, samples and other files
    2) Consolidate project (p. 154 of manual) - this copies all the used audio material into the project folder and also deletes any empty folders within project folder, making it easier to navigate
    3) Save project as a copy - this creates another project folder, but without all the backups and other additional files

  • Recently i have been getting the color wheel a lot and it is screwing with my happiness.  Any thoughts on how to clean the computer up so this stops?

    Recently i have been getting the color wheel a lot and it is screwing with my happiness.  Any thoughts on how to clean the computer up so this stops?

    Back up all data immediately as your boot drive may be failing.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Triple-click anywhere in the line below on this page to select it:
    syslog -k Sender kernel -k Message CReq 'Channel t|GPU D|I/O|Previous Sh' | tail | open -ef
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. The title of the window doesn't matter, and you don't need to post that.

  • How to "clean" the tablespace USERS ?

    I have a user "GIS", it's tablespace is USERS, there are only two tables in this user(RASTER_DATA and RASTER_DATA_RDT).
    I put some raster data in "GIS", now I delete all data(delete from RASTER_DATA), but the tablespace USERS is still 7/10GB, how to "clean" the USERS?

    zhu19774279 wrote:
    I have a user "GIS", it's tablespace is USERS, there are only two tables in this user(RASTER_DATA and RASTER_DATA_RDT).
    I put some raster data in "GIS", now I delete all data(delete from RASTER_DATA), but the tablespace USERS is still 7/10GB, how to "clean" the USERS?When you delete a row, or all the rows, the extent that was allocated for them stays allocated. De-allocating/re-allocating extents is a fairly expensive operation, and it is assumed that if a table once needed an extent it will probably need it again, so it is not routinely de-allocated just because it is empty at the moment.

  • How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ?

    hello,
    How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ? I have hundreds of pages to clean
    Thanks !

    I would start afresh. I would also use Dreamweaver's template system to make thing a lot easier. Have a look at the following, copy and paste into a new document and view in your favourite browser.
    <!doctype html>
    <html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
    <script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
    <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    <style>
    .hline {
        background: url(http://yannick.michelat.free.fr/barre.gif);
        height: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    </style>
    </head>
    <body>
    <div class="container">
        <div class="row">
            <div class="col-xs-7">
                <img alt="" class="img-responsive pull-right" style="margin-top:20px;" src="http://yannick.michelat.free.fr/Calanques.gif" />
            </div>
            <div class="col-xs-5">
                <img alt="" class="img-responsive center-block" style="margin-top: 40px;" src="http://yannick.michelat.free.fr/grandportfolio.gif" />
            </div>
        </div>
        <div class="row hline"></div>
        <div class="row">
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-01.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-02.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-03.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-04.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-05.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-06.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-07.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-08.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-09.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-10.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-11.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-12.jpg" alt="" class="img-responsive"></a></div>
        </div>
        <div class="row hline"></div>
    </div>
    </body>
    </html>

  • How to clean the trash forever from locked files?

    How to clean the trash forever from locked files?

    Depends on what the problem is, but holding down the option key while emptying the trash will bypass the locked status and delete the files.
    If those files are still in use (or the Finder thinks so), they cannot be deleted in the normal way. If the option key trick doesn't work, we can use the terminal.

  • How to clean harddrive in mac book pro 2011

    It seem it is getting slow using internet and watch video with the popup window requesting access and did not goes away no matter you accept or deny access
    How to clean the hard drive
    and How to get rid of that pop up widow when watch video from website

    If you have already used your computer after emptying the trash, the trashed items would have been over written.  Cannot retrieve unless you take your computer to a professional data retriever which cost big bucks.  If you have not used your computer - "Data Rescue II" from prosofteng.com has a free download demo available. 
    VirtualLab™ Data Recovery  has a free download demo available.
    DriveSavers Data Recovery is NOT free.   
    http://www.stellarinfo.com - FREE DOWNLOAD DEMO
    FileSalvage  FREE Download DEMO

  • How to clean or get rid of duplicate files or pictures?

    How to clean or get rid of duplicate files or pictures mac osx mountain lion? Many pictures do not open and show alias. I have too many of each.        Thank you
    Barbara

    The only real and safe way to do this is to do it manually  looking through each folder individually.
    Many third party utilities claim to clean out a hard drive of various detritus, but some times will deleted data that it shouldn't  and delete important data and that it shouldn't have.
    The only "safe" way to accomplish what you need to accomplish is to do this manually.
    Stay away from the OS X system folder!!!!!
    If you had a duplicate system install and had duplicate system files, your iMac would not be running right now.
    Hard drive getting full?
    You can download an app called OmniDiskSweeper.
    This app will allow you to see where files maybe able to be delete are located.
    If your Mac is running a fairly recent version of OS X, here are some general guidelines.
    Follow some of my tips for cleaning out, deleting and archiving data from your Mac's internal hard drive.
    Have you emptied your iMac's Trash icon in the Dock?
    If you use iPhoto, iPhoto has its own trash that needs to be emptied, also.
    If you have images stored in iPhoto,,the only way to weed out duplicates is to do this manually.
    When you delete them, they go to iPhoto's Trash. Remember to empty this when you are done.
    If you store images in other locations other than iPhoto, then you will have to weed through these to determine what are duplicates and what isn't
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Other things you can do to gain space.
    Delete any old or no longer needed emails and/or archive to disc, flash drives or external hard drive, older emails you want to save.
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive to disc, flash drives, ext. hard drives or delete any old documents you no longer use or immediately need.
    Look in your Applications folder, if you have applications you haven't used in a long time, if the app doesn't have a dedicated uninstaller, then you can simply drag it into the OS X Trash icon. IF the application has an uninstaller app, then use it to completely delete the app from your Mac.
    Download an app called OnyX for your version of OS X.
    When you install and launch it, let it do its initial automatic tests, then go to the cleaning and maintenance tabs and run the maintenance tabs that let OnyX clean out all web browser cache files, web browser histories, system cache files, delete old error log files.
    Typically, iTunes and iPhoto libraries are the biggest users of HD space.
    move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    If you have any other large folders of personal data or projects, these should be archived or moved, also, to the optical discs, flash drives or external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    Good Luck!

  • How do I remove the "empty hall" sound of a voice recording?

    I have a recording of an interview done in a guys 10x10 "empty" office. It sounded like he's recording in his bathroom. Does anyone know how to clean up this audio so it sounds a little more like it was done in a sound booth?
    What I have is a mixed version that has a little music under his voice. He mixed it over his voice trying to hide the "I recorded my webcast from my bathroom" sound...
    I'm not sure how to post it here, but I could email anyone some of the audio if you'd like to play with it.
    Thanks for your help!

    > So reducing any resonant frequency will have to alter the sound of the original stimulus - it's completely unavoidable.
    Correct. EQ will affect whatever is in the recording. That means it affects the original stimulus plus resonant effects of the room. The fact that EQ affects the original stimulus in the recording is a drawback; but it does not mean the technique never will work.
    > And by and large it has been found that altering the EQ like this makes things worse, not better.
    This depends on the recording: the nature of the resonance, the decay time, etc. If resonance in the recording described in message #1 is the most distracting problem, then reducing resonance through EQ may yield an improvement.
    You repeatedly emphasize that EQ will affect the original stimulus. Clearly you are very focused on this aspect of using EQ. Yes. It will affect the original stimulus. We already comprehend this. No one suggested otherwise. Got it. Agreed. :).
    Moving on: the fact that EQ affects the original stimulus in the recording is a drawback to using EQ. Yet that may still be preferable to leaving the resonance in the recording. As you state, EQ will alter the desired sound (original speaker's voice) along with the sound one attempts to attenuate. So it is safe to conclude that the outcome will not be perfect.
    Nevertheless, given an imperfect world in which a recording that was made has the unfortunate quality of sounding like it was made in a bathroom (as the original poster described it), using EQ to reduce resonant frequencies may indeed yield an improvement.
    > you clearly haven't the faintest idea of what you are talking about, and obviously haven't tried this.
    More overstatements. I suggest a modicum of nuance.
    Back to the FAQ you cited: it does contain a reasonable suggestion regarding EQ. ozpeter recommended trying a parametric EQ. This is a reasonable thing to try because it may yield an improvement. Mind you, not a guaranteed improvement, but nevertheless it is worth a try.

  • How to clean undotablespace

    how to clean undotablespace its using 10 GB space in my HDD

    Salman Qureshi wrote:
    What is the reason to clean it? Apparently he's running with "an HDD" - so perhaps he's short of space and a runaway process has made the undo tablespace grow much larger than normal. Creating a new one and switching into it might be his best strategy - although he might like to consider ways to stop the accident happening again (e.g. setting a very small undo_retention_time, or not allowing the file to grow automatically - if he can live with processes terminating with "out of space" conditions.)
    >
    Another way is to cleanly shutdown and then start your database (if not production and downtime is acceptable). When DB is started, you will see tablespace empty and now you can shrink file or even try dropping a data file.
    That's the second time in a week that I've heard the story that a database shutdown will empty the undo tablespace. It's not true.
    Depending on version you may find a much smaller number of undo segments are brought online when you restart the database and smon does, from time to time, drop undo segments, but (a) Oracle generally avoids doing work that isn't necessary, and (b) Oracle generally avoids destroying information that might be useful, so it's very slow to drop undo segments.
    Quick check on a toy database:
    SQL> select tablespace_name , contents  from dba_tablespaces;
    TABLESPACE_NAME                CONTENTS
    SYSTEM                         PERMANENT
    UNDOTBS1                       UNDO
    SYSAUX                         PERMANENT
    TEMP                           TEMPORARY
    USERS                          PERMANENT
    TEST_8K                        PERMANENT
    6 rows selected.
    SQL> select count(*) from dba_segments where tablespace_name = 'UNDOTBS1';
      COUNT(*)
            33
    1 row selected.
    SQL> startup force
    ORACLE instance started.
    Total System Global Area  297795584 bytes
    Fixed Size                  1290232 bytes
    Variable Size             159383560 bytes
    Database Buffers          130023424 bytes
    Redo Buffers                7098368 bytes
    Database mounted.
    Database opened.
    SQL> select count(*) from dba_segments where tablespace_name = 'UNDOTBS1';
      COUNT(*)
            33
    1 row selected.Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    A general reminder about "Forum Etiquette / Reward Points": http://forums.oracle.com/forums/ann.jspa?annID=718
    If you never mark your questions as answered people will eventually decide that it's not worth trying to answer you because they will never know whether or not their answer has been of any use, or whether you even bothered to read it.
    It is also important to mark answers that you thought helpful - again it lets other people know that you appreciate their help, but it also acts as a pointer for other people when they are researching the same question, moreover it means that when you mark a bad or wrong answer as helpful someone may be prompted to tell you (and the rest of the forum) what's so bad or wrong about the answer you found helpful.

  • How can I create an empty row on a #TempTable based on an input parameter

    So if my Line of Business is 'MC' or 'MG', I have to go over to Oracle and get its data accordingly. Then, when I create my final report result set, I think I'll want to UNION in that result set if my Parameter is 'MC' or 'MG'. I don't think I can UNION
    based on the value of the Parameter. So my thought process was to create an empty row on my #TempTable so when I UNION and my parameter is NOT 'MC' or 'MG' then it will have nothing to UNION in. My struggle is how do I create an empty row in my #TempTable
    if my parameter is NOT 'MC' or 'MG'
    If I am wwwaaayyy off here, please tell me so.
    This is my #TempTable Creation SQL...
    IF EXISTS
    (SELECT 1
    FROM [#TempTable_LineOfBusiness_Parameter]
    WHERE [#TempTable_LineOfBusiness_Parameter].[RESULT] IN ('MC','MG'))
    BEGIN
    SELECT *
    INTO [#TempTable_Market_Prominence_Member_Data]
    FROM OPENQUERY
    (RPDMHF,
    'SELECT HCFA_NAME_ORG.NAME_ID,
    HCFA_NAME_ORG.MEMBER_ID,
    HCFA_NAME_ORG.HIC_NUMBER,
    MEMBER.NAME_FIRST,
    MEMBER.NAME_LAST,
    HCFA_DATE.START_DATE,
    HCFA_DATE.END_DATE,
    HCFA_NAME_ORG.COUNTY_CODE,
    HCFA_NAME_ORG.PART_A_PAYMENT,
    HCFA_NAME_ORG.PART_B_PAYMENT,
    HCFA_NAME_ORG.STATUS,
    HCFA_NAME_ORG.ORG_ID,
    HCFA_NAME_ORG.PLAN,
    HCFA_NAME_ORG.ENROLL_DATE,
    HCFA_NAME_ORG.PBP_ID,
    HCFA_DATE.VALUE
    FROM SC_BASE.HCFA_DATE
    LEFT JOIN SC_BASE.HCFA_NAME_ORG
    ON HCFA_NAME_ORG.NAME_ID = HCFA_DATE.NAME_ID
    LEFT JOIN AMIOWN.MEMBER
    ON TRIM(MEMBER.MEMBER_NBR) = TRIM(HCFA_NAME_ORG.MEMBER_ID)
    WHERE HCFA_DATE.INDICATOR = ''plan''
    AND HCFA_DATE.START_DATE >= ''2015-01-01''
    END
    If I add an ELSE, it always comes back and tells me the #TempTable_Market_Prominence_Member_Data already exists. As if it's creating it regardless of the Top IF.
    Thanks for your review and am hopeful for a reply.

    Hi ITBobbyP,
    The error came back from your ELSE Statement most probably caused by the reason mentioned in Hoffmann's post.
    Regarding your requirement, I would suggest you CREATE the [#TempTable_Market_Prominence_Member_Data] explicitly.
    CREATE TABLE [#TempTable_Market_Prominence_Member_Data]
    NAME_ID INT,
    MEMBER_ID INT,
    HIC_NUMBER VARCHAR(99),
    NAME_FIRST VARCHAR(99),
    NAME_LAST VARCHAR(99),
    START_DATE DATE,
    END_DATE DATE,
    COUNTY_CODE VARCHAR(99),
    PART_A_PAYMENT MONEY,
    PART_B_PAYMENT MONEY,
    STATUS VARCHAR(99),
    ORG_ID INT,
    PALN VARCHAR(99),
    ENROLL_DATE VARCHAR(99),
    PBP_ID INT,
    VALUE INT
    IF EXISTS
    (SELECT 1
    FROM [#TempTable_LineOfBusiness_Parameter]
    WHERE [#TempTable_LineOfBusiness_Parameter].[RESULT] IN ('MC','MG'))
    BEGIN
    INSERT INTO [#TempTable_Market_Prominence_Member_Data]
    SELECT *
    FROM OPENQUERY
    (RPDMHF,
    'SELECT HCFA_NAME_ORG.NAME_ID,
    HCFA_NAME_ORG.MEMBER_ID,
    HCFA_NAME_ORG.HIC_NUMBER,
    MEMBER.NAME_FIRST,
    MEMBER.NAME_LAST,
    HCFA_DATE.START_DATE,
    HCFA_DATE.END_DATE,
    HCFA_NAME_ORG.COUNTY_CODE,
    HCFA_NAME_ORG.PART_A_PAYMENT,
    HCFA_NAME_ORG.PART_B_PAYMENT,
    HCFA_NAME_ORG.STATUS,
    HCFA_NAME_ORG.ORG_ID,
    HCFA_NAME_ORG.PLAN,
    HCFA_NAME_ORG.ENROLL_DATE,
    HCFA_NAME_ORG.PBP_ID,
    HCFA_DATE.VALUE
    FROM SC_BASE.HCFA_DATE
    LEFT JOIN SC_BASE.HCFA_NAME_ORG
    ON HCFA_NAME_ORG.NAME_ID = HCFA_DATE.NAME_ID
    LEFT JOIN AMIOWN.MEMBER
    ON TRIM(MEMBER.MEMBER_NBR) = TRIM(HCFA_NAME_ORG.MEMBER_ID)
    WHERE HCFA_DATE.INDICATOR = ''plan''
    AND HCFA_DATE.START_DATE >= ''2015-01-01''
    END
    Explicitly creating the temp table will offer below benefit in this case.
    The ELSE statement is no longer needed, if the no rows get inserted into that table, it has nothing to union an empty table.
    With the column datatype defined, you can avoid such conversion error
    SELECT NULL AS COL1,NULL AS COL2 INTO #T
    SELECT COL1,COL2 FROM #T
    UNION
    SELECT 1,'ABC'--Conversion failed when converting the varchar value 'ABC' to data type int.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • How can I pass an empty array to a parameter of type PLSQLAssociativeArray

    How can I pass an empty array to a parameter of type PLSQLAssociativeArray in VB? I defined the parameter like this
    Dim myArray() as String = new String() {}
    Dim myPara as new Oracle.DataAccess.Client.OracleCollectionType.PLSQLAssociativeArray
    myPara = 0
    myPara.Value = myArray
    When I execute my stored procedure giving the above parameter, I got error saying OracleParameter.Value is invalid.
    I have tried to give it the DBNull.Value, but it doesn't work either.
    Note: everything works fine as long as myArray has some item in there. I just wonder how I can make it works in case I have nothing.
    Thank you,

    How can I pass an empty array to a parameter of type PLSQLAssociativeArray in VB? I defined the parameter like this
    Dim myArray() as String = new String() {}
    Dim myPara as new Oracle.DataAccess.Client.OracleCollectionType.PLSQLAssociativeArray
    myPara = 0
    myPara.Value = myArray
    When I execute my stored procedure giving the above parameter, I got error saying OracleParameter.Value is invalid.
    I have tried to give it the DBNull.Value, but it doesn't work either.
    Note: everything works fine as long as myArray has some item in there. I just wonder how I can make it works in case I have nothing.
    Thank you,

  • How to clean the surface of my mac book pro?

    Howdy. I have a retina mac book pro (I think model doesn't matter).  My question is how to clean the surface when it gets dirty. Like to use what kind of cloth and maybe some special cleaners and etc. Someone if you are experienced could you please answer me?
    Thanks in advance!

    http://www.monstercable.com/productdisplay.asp?pin=2105
    Special MicroFiberTM cloth gently polishes your display without scratching it.
    Contains a special polymer to protect your display, while reducing static electricity that attracts dust.
    Liquid gel will not drip into delicate electronics.
    Alcohol-free, ammonia-free formula removes dust, dirt, and fingerprints without damaging your display’s protective coating.
    Monster™ iClean™ Screen Cleaner 

  • How do I remove an empty gmail folder from my iPad2?

    How do I remove an empty gmail folder from my iPad2?

    I Think that you had a corrupt email or an email with a really large attachment in that folder and it is now causing the mail app to crash. When the app closes and goes back to the home screen, that is an app crashing. I would try to delete this folder on the server. Log into your Gmail in a web browser and try to delete it there. If you delete it there, that will delete it on the iPad.

Maybe you are looking for

  • Is there any way to delete songs directly from my iPhone without using iTunes?

    I'm trying to delete music directly from an iPhone 4 in iTunes on the device rather than using my laptop to delete and then sync it. Is there any way to delete music completely from my phone without using my latop?

  • Reg. Process cost and raw material cost add

    Dear Friends We are doing subcontracting that is E  &  L combination main material is Semifinished and component is Raw material, when I do goods receipt component is going to consumption through 543 mvt type(process order consumption),but the raw ma

  • Remote profiling on oc4j 10.1.2 on solaris. -ojvm unrecognized option

    Hi I have problems starting OC4J using the -ojvm -XXtimeport4000 parameters on a Solaris box. The java runtime complains about unrecognized option. I've tried to find some information how to enable ojvm on the java runtime supplied with IAS 10g 10.1.

  • Audio file location

    i'm coming over from slotools so i am used to how digi handles the audio file locations on import by placing them in the audio folder attatched to the session. when i import audio files it seems to reference them? instead of putting them in the audio

  • Slow in opening

    Numbers 3.5 slow when using file/open (10 sec spinning ball). Yosemite 10.10.1, iMac 16 GB RAM