Having problem in creating collection

Hi,
when i try to create a collection using this syntax
APEX_COLLECTION.CREATE_OR_TRUNCATE_COLLECTION(
p_collection_name => 'SAMPLE_COLL',
p_generate_md5 => 'YES');
, im getting this error ORA-06550: line 5, column 1: PLS-00306: wrong number or types of arguments in call to 'CREATE_OR_TRUNCATE_COLLECTION' ORA-06550: line 5, column 1: PL/SQL: Statement ignored
The syntax im using is correct??
Som

Hi Som,
Might be worth looking at the documentation I found here. I know its old but its very useful. If you use any of it you should just replace any part you see "HTMLDB" with "APEX" and it should still work.
http://download.oracle.com/docs/cd/B14117_01/appdev.101/b10992/mvl_advanc.htm#sthref1320
You will see you cannot have two arguments for CREATE_OR_TRUNCATE_COLLECTION.
Hope this helps you.

Similar Messages

  • I am having problems with creating my apple id. On the phone it is advising me that the ID is not created and then when i do it online it says that it has been created. Can you advise me on what to do please?

    I am having problems with creating my apple id. On the phone it is advising me that the ID is not created and then when i do it online it says that it has been created. Can you advise me on what to do please?

    Apple ID FAQ   http://support.apple.com/kb/HE37

  • Hi, I have been having problem in creating 'undistorted' multiple rounded cornered rectangles?

    hi, I have been having problem in creating 'undistorted' multiple rounded cornered rectangles?  I have attached an image to show what i mean ( problem highlighted in blue). Any help would be really appreciated...

    Thanza,
    If you wish to have proportionately growing sizes with the same rounding radius, you may:
    1) Start with a (non rounded) rectangle and Effect>Distort & Transform>Transform with the desired scaling and number of copies;
    2) Object>Expand Appearance;
    3) Effect>Stylize>Round Corners with the desired radius.

  • Having problem using BULK COLLECT - FORALL

    Hi,
    I'm facing a problem while setting a table type value before inserting into a table using FORALL.
    My concern is that i'm unable to generate the values in FOR LOOP, as by using dbms_output.put_line i observed that after 100 rows execution the process exits giving error as
    ORA-22160: element at index [1] does not exist
    ORA-06512: at "XYZ", line 568
    ORA-06512: at line 2
    I need to use the values stored in FOR LOOP in the same order for insertion in table TEMP using FOR ALL;
    I'm guessing that i'm using the wrong technique for storing values in FOR LOOP.
    Below given is my SP structure.
    Any suggestion would be hepful.
    Thanks!!
    create or replace procedure XYZ
    cursor cur is
    select A,B,C,D from ABCD; ---expecting 40,000 row fetch
    type t_A is table of ABCD.A%type index by pls_integer;
    type t_B is table of ABCD.B%type index by pls_integer;
    type t_C is table of ABCD.C%type index by pls_integer;
    type t_D is table of ABCD.D%type index by pls_integer;
    v_A t_A;
    v_B t_B;
    v_C t_C;
    v_D t_D;
    type t_E is table of VARCHAR2(100);
    type t_F is table of VARCHAR2(100);
    v_E t_E := t_E();
    v_F t_F := t_F();
    begin
    open cur;
    loop
    fetch cur BULK COLLECT INTO v_A,v_B,v_C,v_D limit 100;
    for i in 1 .. v_A.count loop
    v_E.extend(i);
    select 1111 into v_E(i) from dual;
    v_F.extend(i);
    v_F(i) := 'Hi !!';
    ----calculating v_E(i) and v_F(i) here----
    end loop;
    forall in i in 1 .. v_A.count
    insert into table TEMP values (v_E(i), v_F(i));
    exit when cur%NOTFOUND;
    end loop;
    close cur;
    end;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE     10.2.0.4.0     Production
    TNS for HPUX: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    -------

    The problem is that inside the IF ELSIF blocks i need to query various tables..As I thought. But why did you concentrate on BULK COLLECT - FORALL?
    The cursor whereas does take more time to execute.More time then?
    We have join of two tables have 18,00,000(normal table) and >17,92,2067(MView) records, having inidex on one the join column.
    After joining these two and adding the filter conditions i'm having around >40,000 >rows.? You have a cursor row. And then inside the loop you have a query which returns 40'000 rows? What do you do with that data?
    Is the query you show running INSIDE the loop?
    I guess you still talk about the LOOP query and your are unhappy that it is not taking an index?
    1. The loop is NOT the problem. It's the "... i need to query various tables"
    2. ORACLE is ok when it's NOT taking the index. That is faster!!
    3. If you add code and execution plans, please add tags. Otherwise it's unreadable.
    Try to merge your LOOP query with the "various tables" and make ONE query out of 40000*various ;-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Having problems burning/creating disc image in iDVD 6

    I am currently experience new problems trying to burn or create a disc image in iDVD 6. I have successfully burned iDVD projects in the past with the same computer/iDVD 6. The iDVD project looks like it is processing normally, even creates a labled disc image- but when you click on it, it reads "My Great DVD", and the video and audio files are also unreadable or absent- the error message for the VIDEO_TS.VOB file I pulled up read, "There is no default application specified to open the document "VIDEO_TS.VOB".
    My older son just got Toast 7 Titanium for me, so I have that resource. I also just bought extra memory to bring me up to 1.25 GB, and an external hard drive with 320 GB. I have a younger son and a friend who will need me to make a dance audition DVD for a CA college dance department that must be in So Cal by 1-19-07, so you can imagine I'm getting a bit nervous about this. I have verified permissions, reinstalled iDVD from the original, and re-done the original iMovie/iDVD project that first caused the problems- a 12.8 GB project (but have not re-done things since I got more memory on my computer). I don't know how big the audition DVD's will be, but estimate they won't be that big (hopefully), but will consist of many short clips/chapter headings. I know just enough about computers to know what I don't know, so would really, really appreciate some basic help!

    My Great DVD", and the video and audio files are also unreadable or absent- the error message for the VIDEO_TS.VOB file I pulled up read, "There is no default application specified to open the document "VIDEO_TS.VOB".
    I don't know what you expect. You're looking for a problem where there isn't one.
    The AUDIO_TS folder SHOULD be empty and (unless you've installed spercial software) you WON'T have any application to open the VIDEO_TS.VOB.
    If you want to play the disk image, open Apple's DVD player application and then use it to open the VIDEO_TS folder.
    This Burning a disk image file on a CD or DVD in Mac OS X at http://docs.info.apple.com/article.html?artnum=93006 is how you burn the disk image you have to writable media.

  • Having problem with creating Master Detail form , please help

    I have to work on a project to create a survey system using APEX, as am new on using this tool , am still facing some problems to finish my job..
    i created Master/Detail form using wizard, the master form is working fine but am when i try to add data using the detail form its giving me error :
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "A884FA378C851786DDFE3A33709CB23C", item checksum = "5F8B1EE5CD3D46437455F43B37B9A6A0"., update "ABA"."ABA_SURVEY_SUBCATEGORY_MAST" set "ASCM_CATEGORY_ID" = :b1, "ASM_SURVEY_CODE" = :b2, "ASSM_SUBCATEGORY_ID" = :b3, "ASSM_SUBCATEGORY_DESC" = :b4
    i tried to go through the posts from others but i still dunno what is this error !!!& how to solve it..
    my master data table have 2 primary keys.. the details data table have 3 primary key all of them using trigger to fire a sequence to get the next_val!!
    am desperate & need help urgently for this ASAP.

    hello
    here is the solution,i hope this might help u.
    go to the code of your button and change write the following
    go_block('name of your master block');
    execute_query(no_validate);
    and in the object navigator make the first item in the master
    block that it should be displayed in the canvas and it must be a
    navigable item too.not a display item.
    thank you
    Zeeshan Ahmad

  • Hello, are there many others having problems with creating Genius Playlists from their iPhone 5's

    Hello People,
    are there many others experiencing problems creating Genius Playlists from their iPhone 5's???
    I have a 64GB Black iPhone 5 and a 32GB White iPhone 5, I have recently performed a fresh install (wiped phone memory and installed Apps individually again) yet even after this and no less then several calls to Apple I am still unable to create a genius playlist on either phone. The message I receive after hitting the Genius "star" is "The operation couldn't be completed. Operation timed out" Operation timed out."
    I have tried this also on 3G and receive the same message........

    Lawrence Finch
    ShadowDancer1000 wrote:
    I wish Apple would have provided more detail on how it worked. I wouldn't have posted this if I new that SMS & Mac Calling had nothing to do with Bluetooth pairing.
    You mean like this? Get help using Continuity with iOS 8 and OS X Yosemite
    Please note how Apple articulates this though.
    Check your settings
    Check the following settings on your iPhone, iPad, or iPod touch:
    Go to Settings > Wi-Fi and turn on Wi-Fi if necessary.
    Make sure your iOS devices are connected to the same Wi-Fi network by going to Settings > Wi-Fi and comparing the name of the network each is on.
    Go to Settings > Bluetooth and turn on Bluetooth if necessary.
    Go to Settings > General > Handoff & Suggested Apps and make sure Handoff is on.
    Go to Settings > Phone. If you see Wi-Fi Calling, turn it off.
    Sometimes things have to be explained in more detail for the general consumer who has been conditioned for decades to think about wireless  cellphone audio / light data to [anything other device else] connectivity in a certain fashion. That is to say Bluetooth dependent ...
    For the non-technical person, which overwhelmingly many Apple users are, they would see that bulleted point and think if Bluetooth is not paired and active, then they would not received the full scope of their Continuity features.
    It would have been better for the copywriter who wrote this to (*) footnote this entry and explain that while Bluetooth recognition may be necessary between Yosemite and iPhone, SMS Push to iMessage and Mac Calling does not require an actively paired connection as these functions are dependent on iCloud and both devices being registered on the same WiFi network.
    Thank you to all who helped me get my mind around and figure this out.
    It has also opened my eyes to how iCloud has become a critical link in Apple's overall walled garden  and business strategy.

  • Having problems with creating new webapplication,

    hi all,
    i created an exploded new webapplications by creating a folder called mywebapp
    under config/examples/applications/
    and i tried to access this one http://host:port/mywebapp
    but it says 404 error, so i guess i hv done something wrong, cananyone just help
    me out in this issue,
    thanks in advance
    San

    http://host:port/myWebapp should try to display the welcome-file if there is one
    defined in the web.xml otherwise it defaults to index.html
    If your welcome-file is logon.jsp but if you don't have this in your webapp root,
    WLS returns 404 (doc not found) error. Do you have logon.jsp in your
    doc root?
    san wrote:
    hi,
    i created one (index.html) and moreover i hv a welcome -file a logon jsp file,
    still iam not getting it,
    accutally how do i access this webapplication from browser,
    i did http://host:port/myWebapp
    is it right?
    Kumar Allamraju <[email protected]> wrote:
    Do you have "index.html" in config/examples/applications/mywebapp
    or else define a weblogic file list in web.xml?
    Kumar
    san wrote:
    hi all,
    i created an exploded new webapplications by creating a foldercalled mywebapp
    under config/examples/applications/
    and i tried to access this one http://host:port/mywebapp
    but it says 404 error, so i guess i hv done something wrong, cananyonejust help
    me out in this issue,
    thanks in advance
    San

  • Having problems in creating a class with name File.

    I want to compile a new class with class name as File, i have made it part of a new package also but still i am getting this error
    "File.java:2: CustomFile.File is already defined in this compilation unit
    import java.io.File;
    ^
    File.java:6: cannot resolve symbol
    symbol : constructor File ()
    location: class java.io.File
    inFile = new java.io.File();
    ^
    2 errors"
    Here is the source code of the file:
    package CustomFile;
    import java.io.File;
    public class File {
    private java.io.File inFile;
    public File(){
         inFile = new java.io.File();
         System.out.println("hi file");
    }

    Any help is appreciated.
    I want to compile a new class with class name as File,
    i have made it part of a new package also but still i
    am getting this error
    "File.java:2: CustomFile.File is already defined in
    this compilation unit
    import java.io.File;
    ^
    File.java:6: cannot resolve symbol
    symbol : constructor File ()
    location: class java.io.File
    inFile = new java.io.File();
    ^
    2 errors"
    Here is the source code of the file:
    package CustomFile;
    import java.io.File;
    public class File {
    private java.io.File inFile;
    public File(){
         inFile = new java.io.File();
         System.out.println("hi file");

  • Please i am having problem in creating an smtp email sender software

    The software throws an exceptional error which is javax.mail.NoSuchProviderException:smtp. This error is thrown anytime i press the send button. I ensured that i include the library files for the javamail Api, activation.jar and the mail.jar in the library folder of the project package. Pls what could be causing the exception error. Could it be the JAF. i read somewhere that jdk1.6.0_06 lib comes along with the Jaf utility

    What JDK are you using? What server are you using?
    Also, see this [FAQ entry|http://java.sun.com/products/javamail/FAQ.html#servletSecurityManager].

  • Problem with creating pdf from Microsoft Publisher 2013

    We are having problems in creating pdfs from Microsoft Publisher2010- When the function 'Adobe PDF' is selected and 'Print' is clicked on nothing happens. The progress bar just sits there for several minutes without creating a pdf. We have to click on cancel and when this is done this crashes Microsft Publisher.
    I have repaired this using the repair facility in Acrobat 9. I have also uninstalled Acrobat 9 and reinstalled this.
    I have also uninstalled Adobe Reader XI and reinstalled Adobe Reader 9.
    Before uninstalling Acrobat I also ran the updates but this didnt help either.
    This is on a Windows 7 PC (64-bit)
    Adobe Acroabt 9 Pro Extended
    Microsoft Publisher 2010.
    Any help is appreciated.
    Thanks

    MS Publisher 2010 is not supported by the Acrobat 9 Family; and the PDFMaker extension for Publisher has been removed completely from the Acrobat XI Family, so upgrading won't help either. Sorry!
    See http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html#main_ PDFMaker_compatible_applications

  • Problem to create an Incident in EHSM 4.0

    Hi Experts!,
    I am writting to ask you because I am having problem to create an Incident in EHSM 4.0.
    Currently I have the SAP_EHSM_HSS_INICIDENT_MANAGER role, and I select "Incident-->Report Incident"
    After, I see this windows where I have to complete all steps:
    After completing all steps, when I am in the last step I can see this:
    After that, I push SEND botton and I get this error:
    500 SAP Internal Server Error
    ERROR: The current application triggered a termination with a short dump. (termination: RABAX_STATE)
    I tried give me different roles in EHSM, but this error persist. I don't know if something is wrong in the configuration (SPRO) or what is happening.
    Could anybody help me with this error?
    Thank you!
    Regards.

    Hi Joachim,
    Thanks for your reply.
    I saw the transaction ST22 and I am sending you images below:
    On the other hand, about range of numbers of incidents (EHHSSCASID, EHHSSINCID, EHHSSPIID), I saw them in this path: "SAP EHS Management --> Incident Management --> General Configuration --> Specify Number Range Intervals for incidents" and I got the following images:
    I think that this values are defaults, Do you know if this values are ok? or Which are the adequate values?
    Thank you very much.
    Regards.

  • Anyone have the problem I'm having with the Safari collecting cookies even when I'm not on a website?  I cleaned everything out and checked several times.  Each time cookies were added that I've never seen with my older version of Safari.  I have the bloc

    Anyone have the problem I'm having with the Safari collecting cookies even when I'm not on a website?  I cleaned everything out and checked several times.  Each time cookies were added that I've never seen with my older version of Safari.  I have the block third parties and advertisers but I don't think it works.  Here's a sample of what is popping up:  247realmedia.com, 2mdn.net addthis.com, admeld.com, adsafeprotected.com, adsonar.com, bit.ly, bluekai.com, bluelithium.com, bluetoad.com bondware.com.......... over 100 things without a clue where they are coming from.  Especially since I'm not on any webpage!  How do I report a bug?  Is there a way to fix this?  

    Firefox + NoScript, BetterPrivacy, Ghostery, AdBlock Plus, Click&Clean helps.
    Hidden Flash cookies are stored in "Macromedia" Folders on your computer, can delete using the free Easy Find, but need to reinstall Flash again here
    http://www.macupdate.com/app/mac/11076/easyfind
    http://get.adobe.com/flashplayer/
    OnyX run afterwards All the cleaning and maintenance steps followed by a reboot, followed by a Disk Utility erase free space.
    http://www.titanium.free.fr/
    CCleaner is in beta for OS X, can combine the cleaning and secure erase in the same steps if properly configured.
    http://www.piriform.com/mac/ccleaner
    Ideally, to surf XXX sites, one should use a virtual machine software like the free VirtualBox and a ISO of Linux like MacBuntu,
    https://www.virtualbox.org/
    http://www.oslike.se/
    comes with Firefox and Flash is available in the Ubuntu Software Center, create a "snapshot" of this virtual machine to revert back too after surfing. This dumps everything hidden or malware related in the guest OS, scrub the drive if you wish with Disk Utility Erase free space option.
    HTML 5 has introduced a whole new range of tracking ability, you can search for the details online.
    Flash cookie, everycookie, HTML cookies. Google has trackers all over the internet, they record your computer info and all your searches, ISP's record all your IP traffic and keep it for a year, cell carriers track your location via tower and signal triangulation (even non-GPS/smartphones) and keep the results for 6 months and both turn over everything to governments. In fact Uncle Sammy has NSA backrooms on the Internet backbone capturing the traffic in real time.
    http://yro.slashdot.org/story/11/03/26/179257/German-Politician-Demonstrates-Ext ent-of-Cellphone-Location-Tracking
    Turn off Java. Run with little or no scripts. (NoScript)
    SSD drives can't be securely erased as this would wear them out prematurely, the government and police have a portable device from Cellbright they can attach to over 3000 phones and grab the data and password with.
    http://hardware.slashdot.org/story/11/02/17/1911217/Confidential-Data-Not-Safe-O n-Solid-State-Disks
    http://www.thenewspaper.com/news/34/3458.asp
    Creepy program track you by pictures you took
    http://www.thinq.co.uk/2011/3/30/creepy-app-warns-end-privacy/
    Apple trying to patent new spyware
    https://www.eff.org/deeplinks/2010/08/steve-jobs-watching-you-apple-seeking-pate nt-0
    http://betanews.com/2011/04/20/apple-tracking-location-of-ios4-device-users-rese archers-say/
    Each computer has a unique ID and a MAC addrress on file with Apple, Java gives up this information with a simple script on websites
    Also look here and freak out.
    http://www.whatsmyip.org/more/
    You can't win, the government, advertisers, social sites, search engines and devices makers are all in cohoots to profile everyone.
    Live off the grid and have your freedom or tell everyone your business and let them mold you, there is no "in between", try as you may they just come up with new stuff to watch you, through your web cam, via the hidden microphone and even can turn on some cell phones microphones too.
    You may be paranoid, so is the government, and they got more money, power and resources at their disposal to act on it.
    Erase the whole hard drive and reinstall, if you can't do that, trash the entire machine and go read a book.
    https://discussions.apple.com/message/16276201#16276201
    (ps. that was fun, enjoy the paranoia because they ARE watching you.)

  • I am having problems with my music collection, after burning all of my music to the computer I organized it into folders and placed it in the iTunes Folder. Starting on a new computer now. I can get my music from old computer?

    I am having problems with my music collection, after burning all of my music to the computer I organized it into folders and placed it in the iTunes Folder. As of now i realize this was a mistake. Starting on a new computer now. I cant get my music to transfer from the itunes folder on the old computer? I keep getting error "Can't Read from the source file or disk." Whenever I got to folder properties its always checked read only. But when i play the song it works just fine. Im sure this is just because I added music into itunes folder but is there anyway to fix it?

    WMA files are 'window media audio' files, which is a Microsoft format. If you want to add them to your iTunes library on your Mac then you will need to convert them into a compatible format first. If you still have your windows machine then iTunes for Windows can convert them from WMA to MP3 format : https://discussions.apple.com/message/24158701#24158701
    Or try a search for, for example, 'convert wma to mp3' to find programs to convert them.

  • Having problems installing firefox error msg says error creating directory c:\programme files (x86)\mozilla firefox\searchplugins

    Hi, I have been having problems with Internet Explorer 8 using Windows 7 so wanted to install Firefox but unable to as get a message saying error creating directory c:\programme files (x86)\mozilla firefox\searchplugins

    Thank you guig2! Followed your bleepingcomputer.com link above and found the problem was my permissions on C:\Users\Bill\AppData\Local/Temp. It was not "Full Control" for my User or Administrator. Updated the two lines to permit full control for folder, subfolder and files. Ran perfect.

Maybe you are looking for