RE: Bulk collect error
Instead of using a record, try using individual collections. I think using a record of collections is something possible only in 9i (I think so). Raj __ Rajendra Jamadagni MIS, ESPN Inc. Rajendra dot Jamadagni at ESPN dot com Any opinion expressed here is personal and doesn't reflect that of ESPN Inc. QOTD: Any clod can have facts, but having an opinion is an art ! *1 This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you. *1 -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jamadagni, Rajendra INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: Bulk collect error
Hi, Type T_FofejezetNev_Table IS TABLE OF Fofejezet.Fofejezet_Megnevezes_Magyar%Type INDEX BY BINARY_INTEGER; Type T_FofejezetKod_Table IS TABLE OF Fofejezet.Fofejezet_Azonosito2%Type INDEX BY BINARY_INTEGER; Type T_SzamTomb IS TABLE OF Pls_integer INDEX BY BINARY_INTEGER; TYPE T_FOFEJEZET IS RECORD ( FoFejezetNev T_FofejezetNev_Table, FoFejezetKod T_FofejezetKod_Table, Darab T_SzamTomb ); Vissza T_FOFEJEZET ; And the code I can't complile : Select F.Fofejezet_Megnevezes_Magyar,F.FOFEJEZET_AZONOSITO2 , (Select Count(*) from alfejezet where alfejezet.ALFEJEZET_FOFEJEZET_AZONOSITO2= f.Fofejezet_Azonosito2) Bulk Collect Into Vissza.FoFejezetNev,Vissza.FoFejezetKod,Vissza.Darab From Fofejezet F ; When I want to compile I get PLS-00103 error. At 11:10 2001.09.20. -0800, you wrote: What is the definition for Vissza.FoFejezetNev and Vissza.FoFejezetKod and Vissza.Darab ?? Raj __ Rajendra Jamadagni MIS, ESPN Inc. Rajendra dot Jamadagni at ESPN dot com Any opinion expressed here is personal and doesn't reflect that of ESPN Inc. Zsolt Csillag Hungary -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Csillag Zsolt INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: Bulk collect error
Can you provide simplified resource details -Original Message- From: Csillag Zsolt [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, September 19, 2001 11:40 PM To: Multiple recipients of list ORACLE-L Subject: Bulk collect error can you provide simlified resource details. Hi, The following statment works perfectly: Select F.Fofejezet_Megnevezes_Magyar,F.FOFEJEZET_AZONOSITO2, (Select Count(*) from alfejezet where alfejezet.ALFEJEZET_FOFEJEZET_AZONOSITO2= F.Fofejezet_Azonosito2) From Fofejezet F ; However when I put this very same statement into a Pl/Sql procedure with Bulk Collect, I get PLS-00103 error: Select F.Fofejezet_Megnevezes_Magyar,F.FOFEJEZET_AZONOSITO2, (Select Count(*) from alfejezet where alfejezet.ALFEJEZET_FOFEJEZET_AZONOSITO2= F.Fofejezet_Azonosito2) Bulk Collect Into Vissza.FoFejezetNev,Vissza.FoFejezetKod,Vissza.Darab From Fofejezet F ; Can somebody help me? Thank you Zsolt Csillag Hungary -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Csillag Zsolt INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Nirmal Kumar Muthu Kumaran INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: Bulk collect error
Hi, I think I provided the details you need. But to be sure : Oracle 8.1.6 Personal edition, cost based optimizer. The problem is that I can' t TRANSLATE the package because of PLS-00103 error. So there should be a syntax problem but I don' t know what I' ve done wrong. Thanx At 04:20 2001.09.20. -0800, you wrote: Can you provide simplified resource details -Original Message- From: Csillag Zsolt [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, September 19, 2001 11:40 PM To: Multiple recipients of list ORACLE-L Subject: Bulk collect error can you provide simlified resource details. Hi, The following statment works perfectly: Select F.Fofejezet_Megnevezes_Magyar,F.FOFEJEZET_AZONOSITO2, (Select Count(*) from alfejezet where alfejezet.ALFEJEZET_FOFEJEZET_AZONOSITO2= F.Fofejezet_Azonosito2) From Fofejezet F ; However when I put this very same statement into a Pl/Sql procedure with Bulk Collect, I get PLS-00103 error: Select F.Fofejezet_Megnevezes_Magyar,F.FOFEJEZET_AZONOSITO2, (Select Count(*) from alfejezet where alfejezet.ALFEJEZET_FOFEJEZET_AZONOSITO2= F.Fofejezet_Azonosito2) Bulk Collect Into Vissza.FoFejezetNev,Vissza.FoFejezetKod,Vissza.Darab From Fofejezet F ; Can somebody help me? Thank you Zsolt Csillag Hungary -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Csillag Zsolt INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Nirmal Kumar Muthu Kumaran INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Zsolt Csillag Hungary -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Csillag Zsolt INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: Bulk collect error
What is the definition for Vissza.FoFejezetNev and Vissza.FoFejezetKod and Vissza.Darab ?? Raj __ Rajendra Jamadagni MIS, ESPN Inc. Rajendra dot Jamadagni at ESPN dot com Any opinion expressed here is personal and doesn't reflect that of ESPN Inc. QOTD: Any clod can have facts, but having an opinion is an art ! *1 This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you. *1 -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jamadagni, Rajendra INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Bulk collect error
Hi, The following statment works perfectly: Select F.Fofejezet_Megnevezes_Magyar,F.FOFEJEZET_AZONOSITO2, (Select Count(*) from alfejezet where alfejezet.ALFEJEZET_FOFEJEZET_AZONOSITO2= F.Fofejezet_Azonosito2) From Fofejezet F ; However when I put this very same statement into a Pl/Sql procedure with Bulk Collect, I get PLS-00103 error: Select F.Fofejezet_Megnevezes_Magyar,F.FOFEJEZET_AZONOSITO2, (Select Count(*) from alfejezet where alfejezet.ALFEJEZET_FOFEJEZET_AZONOSITO2= F.Fofejezet_Azonosito2) Bulk Collect Into Vissza.FoFejezetNev,Vissza.FoFejezetKod,Vissza.Darab From Fofejezet F ; Can somebody help me? Thank you Zsolt Csillag Hungary -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Csillag Zsolt INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).