If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Errors after importing data dump

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-20-12, 03:19
LokeshB LokeshB is offline
Registered User
 
Join Date: Jan 2012
Posts: 1
Errors after importing data dump

I have imported a data dump on oracle 10g server, to create a new schema.
Though the import is complete all the packages, functions, triggers are in uncompiled state, unable to compile them. Follwoing is the error trace. Seems like some grant or default packages might be missing. Need help on this. Any guidance will be appreciated.


Error: PLS-00302: component 'COUNT' must be declared
Line: 497
Text: FOR bankeridx IN 1..v_tt_banker_id.COUNT LOOP
Error: PL/SQL: Statement ignored
Line: 497
Text: FOR bankeridx IN 1..v_tt_banker_id.COUNT LOOP

Error: PLS-00201: identifier 'PLITBLM' must be declared
Line: 0
Error: PLS-00302: component 'COUNT' must be declared
Line: 529
Text: FOR idx IN 1..v_tt_aum_rm_prog_local.COUNT LOOP
Error: PL/SQL: Statement ignored
Line: 529
Text: FOR idx IN 1..v_tt_aum_rm_prog_local.COUNT LOOP
Error: PLS-00201: identifier 'PLITBLM' must be declared
Line: 0
Reply With Quote
  #2 (permalink)  
Old 01-20-12, 09:50
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,416
fix the code.
"COUNT" is a reserved/keyword & should not be used as object/column name.
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Reply With Quote
  #3 (permalink)  
Old 01-23-12, 03:25
pmo pmo is offline
Registered User
 
Join Date: Nov 2005
Location: Gex - France
Posts: 15
Hi LokeshB,

Have a look at your source database. Most probably, the same objects will not compile correctly.
As anacedent says it: Fix the code.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On