home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / oracle / 2258 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  2.1 KB

  1. Path: sparky!uunet!oracle!unrepliable!bounce
  2. Newsgroups: comp.databases.oracle
  3. From: smuench@oracle.com (Steven P. Muench)
  4. Subject: Re: PL/SQL Tables in Stored Procs
  5. In-Reply-To: ebuhob@ebu.ericsson.se's message of 18 Nov 92 01:42:02 GMT
  6. Message-ID: <SMUENCH.92Nov19221816@hqsun4.oracle.com>
  7. Sender: usenet@oracle.us.oracle.com (Oracle News Poster)
  8. Nntp-Posting-Host: hqsun4.us.oracle.com
  9. Organization: Oracle Corp., Belmont CA
  10. References: <1992Nov18.014202.7076@exu.ericsson.se>
  11. Date: Fri, 20 Nov 1992 06:18:16 GMT
  12. X-Disclaimer: This message was written by an unauthenticated user
  13.               at Oracle Corporation.  The opinions expressed are those
  14.               of the user and not necessarily those of Oracle.
  15. Lines: 42
  16.  
  17. In article <1992Nov18.014202.7076@exu.ericsson.se> ebuhob@ebu.ericsson.se (Hans Bergsten 6264) writes:
  18.  
  19. >   I am trying to use all the new great PL/SQL features in ORACLE7
  20. >   (Developer's Release, V7.0.10.3.1) in an applicationon the SunOS
  21. >   4.1 platform....
  22. >
  23. >   -  In a package, I have to public variables declared like:
  24. >
  25. >    TYPE IntTabType    IS TABLE OF BINARY_INTEGER INDEX BY BINARY_INTEGER;
  26. >    int_tab        IntTabType;
  27. >    int_index        BINARY_INTEGER;
  28. >
  29. >     If I try to initiate these variables from SQL*Plus, I get the following
  30. >      results:
  31. >
  32. >    SQL> begin test.intab(1) := 0; end;
  33. >      2  /
  34. >    begin test.intab(1) := 0; end;
  35. >    *
  36. >    ERROR at line 1:
  37. >    ORA-06501: PL/SQL: internal error 75946, arguments: [], [], [], []
  38. >
  39. >    SQL> begin test.i := 0; end;
  40. >      2  /
  41. >
  42. >    PL/SQL procedure successfully completed.
  43.  
  44.  
  45. I tested these scenarios in 7.0.11.2 on VMS and they all
  46. create/execute successfully. Thanks for taking the time to test the
  47. new features. Hopefully you're finding them very flexible and useful
  48. overall, even if some glitches come up in the Developers' Release. We
  49. of course depend on curious souls such as yourself to poke at our
  50. software from all different angles and give us feedback like this.
  51.  
  52. Thanks.
  53.  
  54. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  55.   Steve Muench              Email: smuench@oracle.com 
  56.   SQL*Forms Development
  57.   Product Manager
  58.   Oracle Corporation
  59.