Advertisement

09.12.2008 at 01:07AM PDT, ID: 23725630
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.1

Warnings on triggers imported.

Asked by snsemea in Oracle 9.x, PL / SQL

Tags: , ,

Dear Experts,

I have done an export of a dump using a schema x.

I did the import as follows:

imp user/pswd@dbname fromuser=x touser=x file=... log=....

I got the following in the log. The views are already invalid on the live db whereas i got warning on the triggers and performance was too slow.


Connected to: Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production

Export file created by EXPORT:V09.02.00 via conventional path

Warning: the objects were exported by WH1, not by you

import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
. importing WH1's objects into WH1
. . importing table                  "ACCESSORIAL"          1 rows imported
. . importing table            "ACCESSORIALDETAIL"          1 rows imported
. . importing table           "ACCUMULATEDCHARGES"          0 rows imported
. . importing table              "ADDDEPOSIT_LOCK"          0 rows imported
. . importing table                   "ADJUSTMENT"        704 rows imported
. . importing table             "ADJUSTMENTDETAIL"       3267 rows imported
. . importing table         "ADJUSTMENTDETAIL_UDF"          0 rows imported


IMP-00041: Warning: object created with compilation warnings
 "CREATE TRIGGER WH1.tr_ACCES_1 BEFORE INSERT ON WH1.ACCESSORIAL FOR EACH ROW"
 "DECLARE"
 "      BEGIN"
 "            IF :NEW.SERIALKEY IS NULL THEN"
 "                  SELECT WH1.ACC_1_SEQ.NEXTVAL"
 "                  INTO   :NEW.SerialKey"
 "                  FROM   dual;"
 "                END IF;"
 "      END;"
 ""
 ""
 ""
 "/"
 ""
 "CREATE OR REPLACE TRIGGER WH1.tr_ACCES_2 BEFORE INSERT ON WH1.ACCESSORIALDE"
 "TAIL FOR EACH ROW"
 "DECLARE"
 "      BEGIN"
 "            IF :NEW.SERIALKEY IS NULL THEN"
 "                  SELECT WH1.ACC_2_SEQ.NEXTVAL"
 "                  INTO   :NEW.SerialKey"
 "                  FROM   dual;"
 "                END IF;"
 "      END;"
 ""
 ""
 ""
 ""
 ""
 "CREATE OR REPLACE TRIGGER WH1.tr_ACCUM_3 BEFORE INSERT ON WH1.ACCUMULATEDCH"
 "ARGES FOR EACH ROW"
 "DECLARE"
 "      BEGIN"
 "            IF :NEW.SERIALKEY IS NULL THEN"
 "                  SELECT WH1.ACC_3_SEQ.NEXTVAL"
 "                  INTO   :NEW.SerialKey"
 "                  FROM   dual;"
 "                END IF;"
 "      END;"
 ""
 ""
 ""
 ""
 ""
 "CREATE OR REPLACE TRIGGER WH1.tr_ADDDE_4 BEFORE INSERT ON WH1.ADDDEPOSIT_LO"
 "CK FOR EACH ROW"
 "DECLARE"
 "      BEGIN"
 "            IF :NEW.SERIALKEY IS NULL THEN"
 "                  SELECT WH1.ADD_4_SEQ.NEXTVAL"
 "                  INTO   :NEW.SerialKey"
 "                  FROM   dual;"
 "                END IF;"
 "      END;"
 ""
 ""
 ""
 ""
 ""
 "CREATE OR REPLACE TRIGGER WH1.tr_ADJUS_5 BEFORE INSERT ON WH1.ADJUSTMENT FO"
 "R EACH ROW"
 "DECLARE"
 "      BEGIN"
 "            IF :NEW.SERIALKEY IS NULL THEN"
 "                  SELECT WH1.ADJ_5_SEQ.NEXTVAL"
 "                  INTO   :NEW.SerialKey"
 "                  FROM   dual;"
 "                END IF;"
 "      END;"
 ""
 ""
 ""
 "CREATE OR REPLACE TRIGGER WH1.tr_XPICK_303 BEFORE INSERT ON WH1.XPICKDETAIL"
 " FOR EACH ROW"
 "DECLARE"
 "      BEGIN"
 "            IF :NEW.SERIALKEY IS NULL THEN"
 "                  SELECT WH1.XPI_303_SEQ.NEXTVAL"
 "                  INTO   :NEW.SerialKey"
 "                  FROM   dual;"
 "                END IF;"
 "      END;"
Import terminated successfully with warnings.

Start Free Trial
[+][-]09.12.2008 at 05:08AM PDT, ID: 22458864

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.12.2008 at 09:55AM PDT, ID: 22461685

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Oracle 9.x, PL / SQL
Tags: Oracle, Oracle DB Server 9 on windows 2003, 9I
Sign Up Now!
Solution Provided By: slightwv
Participating Experts: 2
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628