Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Oracle/OAS
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Oracle/OAS
how to use userdefined datatype in Oracle 8i
Sona Patel
Ranch Hand
Posts: 75
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello All...
I have created user defined datatype in oracle 8i as seen below.
create or replace type Temp_TStrings as table of varchar2(4000); /
I want to use this variable in oracle 8i as seen below.
CREATE OR REPLACE function my_join ( p_cursor sys_refcursor, p_del varchar2 := ',' ) return varchar2 is strList Temp_TSTRINGS; begin strList := new Temp_TSTRINGS(); --- This is ORACLE 9i syntax. ( It is creating problem in 8i. How to do so in 8i?) - - - end /
how to use this user defined datatype in function in oracle 8i?
Thanks
Agador Paloi
Ranch Hand
Posts: 118
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
it ran ok on 11i after putting a ';' after your end statement. Not sure why it would not run if 8i supports object types.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
passing 2D arrays to Oracle Stored Procedure with/without using JPublisher
Testing a simple Oracle PL SQL function using toad sql client?
Oracle Java Stored Procedures
More...