Error with PL/SQL package
HelloI wrote a package specification given below:
create or replace PACKAGE BILL_PACKAGE AS
storeId varchar2 (5);
startDate varchar2 (10);
FUNCTION boolean RETURN F_Bill (str_id IN tel_tr_ltm_bl_py.id_str_rt%TYPE,ws_id IN tel_tr_ltm_bl_py.id_ws%TYPE,v_date IN tel_tr_ltm_bl_py.dc_dy_bsn%TYPE);
END BILLPAYPACKAGE;
I wrote the body of package also. Now when I call the F_Bill function, I get this error:
PLS-00201: identifier ' BILL_PACKAGE. STARTDATE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
ORA-06550: line 3, column 1:
PLS-00201: identifier ' BILL_PACKAGE. STOREID' must be declared
ORA-06550: line 3, column 1:
PL/SQL: Statement ignored
This same package works well on another local data base.
What could be the reason for this?
What is an access problem? In db, which we get an error, we use a user "ConUser" to connect to a schema 'b_owner '.
How can we verify this if it is a question of privilege.
Thank you!
>
...
This same package works well on another local data base.
What could be the reason for this?
What is an access problem? In db, which we get an error, we use a user "ConUser" to connect to a schema 'b_owner '.
How can we verify this if it is a question of privilege.
The 'ConUSer' user needs to execute privileges for the package.
Also, it depends on what he calls the package or the variables in it.
You can check the privs with
select * from all_tab_privs where table_name = 'BILL_PACKAGE';
This must be run as a user ConUser.
You may also have a problem with name resolution. The package name is not BILL_PACKAGE. It's 'b_owner. BILL_PACKAGE ".
If you omit the schema name, then the current user is tried. So if you call BILL_PACKAGE, then this translates into "ConUSer.BILL_PACKAGE".
You can change this by creating a synonym as
create synonym bill_package for b_owner.bill_package;
Tags: Database
Similar Questions
-
I get several errors trying to insert data into a table through the declaration of pl/sql
Here are the errors:
When I execute the pl/sql program above I get errors:--Procedure to insert the values into section table(ex1.sql) declare v_section %type; begin v_section.SECTIONNO:=&no; v_section. DESCRIPTION:='&desc'; v_section.SECTION_HEAD_EMPNO:=&empno insert into section values v_section; end; /
BTW, * section table is:SQL> @ex1 Enter value for no: 10 old 4: v_section.SECTIONNO:=&no; new 4: v_section.SECTIONNO:=10; Enter value for desc: Sales old 5: v_section. DESCRIPTION:='&desc'; new 5: v_section. DESCRIPTION:='Sales'; Enter value for empno: 1005 old 6: v_section.SECTION_HEAD_EMPNO:=&empno new 6: v_section.SECTION_HEAD_EMPNO:=1005 v_section %type; * ERROR at line 2: ORA-06550: line 2, column 12: PLS-00103: Encountered the symbol "%" when expecting one of the following: constant exception <an identifier> <a double-quoted delimited-identifier> table LONG_ double ref char time timestamp interval date binary national character nchar The symbol "<an identifier>" was substituted for "%" to continue. ORA-06550: line 7, column 1: PLS-00103: Encountered the symbol "INSERT" when expecting one of the following: * & = - + ; < / > at in is mod remainder not rem <an exponent (**)> <> or != or ~= >= <= <> and or like between || multiset member SUBMULTISET_ The s
Kindly, correct me where I am doing wrongSQL> desc section; Name Null? Type ----------------------------------------------------------------- -------- ----------------------------------- --------- SECTIONNO NOT NULL NUMBER(2) DESCRIPTION VARCHAR2(30) SECTION_HEAD_EMPNO NUMBER(4)
Thanks in advance!I've updated my post above. Just follow and copy paste the code.
You are missing the semicolon after
v_section.DESCRIPTION :=&empno
It should be
v_section.DESCRIPTION :=&empno;
This is what you need
declare v_section SECTION%ROWTYPE; begin v_section.SECTIONNO:=&no; v_section. DESCRIPTION:='&desc'; v_section.SECTION_HEAD_EMPNO:=&empno; insert into SECTION values v_section; end; /
G.
-
Error with the installation package when you try to install ncomputing u170 on Windows 7 Home Basic
I have windows 7 Home Basic. When I try to install my ncomputing u170. He seemed to mistake "there is problem in the windows package install." It is necessary to run the script to complete the installation. "Please give me a solution perfect for this I'm waiting for your best solution.
You should try Ncomputing support:
-
Error with PL/SQL procedure to import data into the database
When you run the procedure below, I get the message:
Compilation failure, line 448
PLS-00103: encountered the symbol "LOOP" when expecting one of the following values: case of the symbol "case" was substituted for the "LOOP" continue. Compilation failure, line 450
PLS-00103: encountered the symbol ";" when expecting one of the following values: case
Can someone help me understand what im missing? Thank you
Deanna
CREATE OR REPLACE PROCEDURE PURSUITS.IMPORT_LEGACY_PURSUIT IS CURSOR DATA_CURSOR IS SELECT * FROM PURSUITS.IMPORT_LEGACY_PURSUIT; CR DATA_CURSOR%ROWTYPE; V_PURSUIT_DATE DATE; V_ROADWAY_TYPE VARCHAR2(5); V_TRAFFIC_FLOW VARCHAR2(8); V_REASON_FOR_INITIATION VARCHAR2(6); V_VEHICLE_MARKING VARCHAR2(8); V_VEHICLE_LIGHTS_ON VARCHAR2(1); V_VEHICLE_SIREN_ON VARCHAR2(1); V_AIRCRAFT_AVAILABLE VARCHAR2(1); V_AIRCRAFT_INVOLVED VARCHAR2(1); V_OTHER_AGENCY_INVOLVED VARCHAR2(1); V_OTHER_AGENCY_STATUS VARCHAR2(8); V_OTHER_AGENCY_COUNT NUMBER(2,0); V_SUSPECT_VEHICLE_TYPE VARCHAR2(2); V_SUSPECT_RACE VARCHAR2(1); V_SUSPECT_ETHNICITY VARCHAR2(1); V_SUSPECT_ID_KNOWN VARCHAR2(1); V_SUSPECT_POSSESS_WEAPON VARCHAR2(1); V_REASON_FOR_TERMINATION VARCHAR2(6); V_REASON_FOR_FLIGHT VARCHAR2(6); V_ACCIDENT VARCHAR2(1); V_ACCIDENT_TYPE VARCHAR2(8); V_ACCIDENT_PARTIES_INVOLVED VARCHAR2(8); V_CASE_COUNT NUMBER; BEGIN OPEN DATA_CURSOR; LOOP FETCH DATA_CURSOR INTO CR; EXIT WHEN DATA_CURSOR%NOTFOUND; --PURSUIT DATE -- IF CR.PURSUIT_DATE = 0 THEN -- V_PURSUIT_DATE :=NULL; -- ELSE -- V_PURSUIT_DATE :=TO_DATE(CR.PURSUIT_DATE,CONCAT('MONTH'/'DAY'/'YEAR'); -- END IF; --ROADWAY TYPE CASE WHEN CR.ROADWAY = 1 THEN V_ROADWAY_TYPE := 'URBAN'; WHEN CR.ROADWAY = 2 THEN V_ROADWAY_TYPE := 'RURAL'; ELSE V_ROADWAY_TYPE := NULL; END CASE; --TRAFFIC FLOW CASE WHEN CR.TRAFFICFLO = 1 THEN V_TRAFFIC_FLOW := 'LIGHT'; WHEN CR.TRAFFICFLO = 2 THEN V_TRAFFIC_FLOW := 'MODERATE'; WHEN CR.TRAFFICFLO = 3 THEN V_TRAFFIC_FLOW := 'HIGH'; ELSE V_TRAFFIC_FLOW := NULL; END_CASE; --INITIATION CODES CASE WHEN CR.INITREASON = 1 THEN V_REASON_FOR_INITIATION := 'SUSACT'; WHEN CR.INITREASON = 2 THEN V_REASON_FOR_INITIATION := 'TRAFVI'; WHEN CR.INITREASON = 3 THEN V_REASON_FOR_INITIATION := 'MISCCR'; WHEN CR.INITREASON = 4 THEN V_REASON_FOR_INITIATION := 'FELONY'; WHEN CR.INITREASON = 5 THEN V_REASON_FOR_INITIATION := 'DUIARR'; WHEN CR.INITREASON = 6 THEN V_REASON_FOR_INITIATION := 'NCICHT'; WHEN CR.INITREASON = 7 THEN V_REASON_FOR_INITIATION := 'OTHERR'; ELSE V_REASON_FOR_INITIATION := NULL; END_CASE; --VEHICLE MARKING CASE WHEN CR.CARMARKS = 1 THEN V_VEHICLE_MARKING := 'MRKLIGHT'; WHEN CR.CARMARKS = 2 THEN V_VEHICLE_MARKING := 'MRKCLEAN'; WHEN CR.CARMARKS = 3 THEN V_VEHICLE_MARKING := 'UNMARKED'; ELSE V_VEHICLE_MARKING := NULL; END CASE; --LIGHTS CASE WHEN CR.LIGHTS_ON = 1 THEN V_VEHICLE_LIGHTS_ON := 'Y'; WHEN CR.LIGHTS_ON = 2 THEN V_VEHICLE_LIGHTS_ON := 'N'; ELSE V_VEHICLE_LIGHTS_ON := NULL; END CASE; --SIREN CASE WHEN CR.SIREN_ON = 1 THEN V_VEHICLE_SIREN_ON := 'Y'; WHEN CR.SIREN_ON = 2 THEN V_VEHICLE_SIREN_ON := 'N'; ELSE V_VEHICLE_SIREN_ON := NULL; END CASE; --AIRCRAFT AVAILABLE CASE WHEN CR.AIRCRAFTAV = 1 THEN V_AIRCRAFT_AVAILABLE := 'Y'; WHEN CR.AIRCRAFTAV = 2 THEN V_AIRCRAFT_AVAILABLE := 'N'; WHEN CR.AIRCRAFTAV = 3 THEN V_AIRCRAFT_AVAILABLE := 'U'; ELSE V_AIRCRAFT_AVAILABLE := NULL; END CASE; --AIRCRAFT INVOLVED CASE WHEN CR.AIRCRAFTIN = 1 THEN V_AIRCRAFT_INVOLVED := 'Y'; WHEN CR.AIRCRAFTIN = 2 THEN V_AIRCRAFT_INVOLVED := 'N'; ELSE V_AIRCRAFT_INVOLVED := NULL; END CASE; --AGENCY INVOLVED CASE WHEN CR.OTHRAGENCY = 1 THEN V_OTHER_AGENCY_INVOLVED := 'Y'; WHEN CR.OTHRAGENCY = 2 THEN V_OTHER_AGENCY_INVOLVED := 'N'; ELSE V_OTHER_AGENCY_INVOLVED := NULL; END CASE; --AGENCY STATUS CASE WHEN CR.STATUS = 1 THEN V_OTHER_AGENCY_STATUS := 'INITIATE'; WHEN CR.STATUS = 2 THEN V_OTHER_AGENCY_STATUS := 'ASSISTED'; ELSE V_OTHER_AGENCY_STATUS := NULL; END CASE; --SUSPECT VEHICLE TYPE CASE WHEN CR.VEHICLETYP = 1 THEN V_SUSPECT_VEHICLE_TYPE := 'SD'; WHEN CR.VEHICLETYP = 2 THEN V_SUSPECT_VEHICLE_TYPE := 'MC'; WHEN CR.VEHICLETYP = 3 THEN V_SUSPECT_VEHICLE_TYPE := 'VN'; WHEN CR.VEHICLETYP = 4 THEN V_SUSPECT_VEHICLE_TYPE := 'PK'; WHEN CR.VEHICLETYP = 5 THEN V_SUSPECT_VEHICLE_TYPE := 'DS'; WHEN CR.VEHICLETYP = 6 THEN V_SUSPECT_VEHICLE_TYPE := 'OT'; ELSE V_SUSPECT_VEHICLE_TYPE := NULL; END CASE; --SUSPECT RACE AND ETHNICITY IF CR.RACE = 'H' THEN V_SUSPECT_RACE := 'W'; ELSE V_SUSPECT_RACE := CR.RACE; END IF; --SUSPECT ETHNICITY IF CR.RACE = 'H' THEN V_SUSPECT_ETHNICITY := 'H' ELSE V_SUSPECT_ETHNICITY := NULL; END IF; --SUSPECT ID CASE WHEN CR.ID_KNOWN = 1 THEN V_SUSPECT_ID_KNOWN := 'Y'; WHEN CR.ID_KNOWN = 2 THEN V_SUSPECT_ID_KNOWN := 'N'; ELSE V_SUSPECT_ID_KNOWN := NULL; END CASE; --SUSPECT WEAPON CASE WHEN CR.WEAPON = 1 THEN V_SUSPECT_POSSESS_WEAPON := 'Y'; WHEN CR.WEAPON = 2 THEN V_SUSPECT_POSSESS_WEAPON := 'N'; ELSE V_SUSPECT_POSSESS_WEAPON := NULL; END CASE; --TERMINATION REASON CASE WHEN CR.TERMREASON = 1 THEN V_REASON_FOR_TERMINATION := 'DVRVOL'; WHEN CR.TERMREASON = 2 THEN V_REASON_FOR_TERMINATION := 'ALATER'; WHEN CR.TERMREASON = 3 THEN V_REASON_FOR_TERMINATION := 'VEHDIS'; WHEN CR.TERMREASON = 4 THEN V_REASON_FOR_TERMINATION := 'VEHWRK'; WHEN CR.TERMREASON = 5 THEN V_REASON_FOR_TERMINATION := 'ROADBL'; WHEN CR.TERMREASON = 6 THEN V_REASON_FOR_TERMINATION := 'STOPST'; WHEN CR.TERMREASON = 7 THEN V_REASON_FOR_TERMINATION := 'RAMMED'; WHEN CR.TERMREASON = 8 THEN V_REASON_FOR_TERMINATION := 'WEAPON'; WHEN CR.TERMREASON = 9 THEN V_REASON_FOR_TERMINATION := 'DVRINJ'; WHEN CR.TERMREASON = 10 THEN V_REASON_FOR_TERMINATION := 'OFFTER'; WHEN CR.TERMREASON = 11 THEN V_REASON_FOR_TERMINATION := 'SUPTER'; WHEN CR.TERMREASON = 12 THEN V_REASON_FOR_TERMINATION := 'PATDIS'; WHEN CR.TERMREASON = 13 THEN V_REASON_FOR_TERMINATION := 'PATWRK'; WHEN CR.TERMREASON = 14 THEN V_REASON_FOR_TERMINATION := 'LOSTEM'; WHEN CR.TERMREASON = 15 THEN V_REASON_FOR_TERMINATION := 'FLEDAB'; WHEN CR.TERMREASON = 16 THEN V_REASON_FOR_TERMINATION := 'FLEDWK'; WHEN CR.TERMREASON = 17 THEN V_REASON_FOR_TERMINATION := 'OFFINJ'; WHEN CR.TERMREASON = 18 THEN V_REASON_FOR_TERMINATION := 'OTHAGY'; ELSE V_REASON_FOR_TERMINATION := NULL; END CASE; --FLIGHT REASON CASE WHEN CR.FLI_REASON = 1 THEN V_REASON_FOR_FLIGHT := 'SUMMON'; WHEN CR.FLI_REASON = 2 THEN V_REASON_FOR_FLIGHT := 'DUIARR'; WHEN CR.FLI_REASON = 3 THEN V_REASON_FOR_FLIGHT := 'FELONY'; WHEN CR.FLI_REASON = 4 THEN V_REASON_FOR_FLIGHT := 'STOLEN'; WHEN CR.FLI_REASON = 5 THEN V_REASON_FOR_FLIGHT := 'MISDEM'; WHEN CR.FLI_REASON = 6 THEN V_REASON_FOR_FLIGHT := 'DRUGAR'; WHEN CR.FLI_REASON = 7 THEN V_REASON_FOR_FLIGHT := 'FEARPO'; WHEN CR.FLI_REASON = 8 THEN V_REASON_FOR_FLIGHT := 'NODVRL'; WHEN CR.FLI_REASON = 9 THEN V_REASON_FOR_FLIGHT := 'NOINSU'; WHEN CR.FLI_REASON = 10 THEN V_REASON_FOR_FLIGHT := 'PARENT'; WHEN CR.FLI_REASON = 11 THEN V_REASON_FOR_FLIGHT := 'MENTAL'; WHEN CR.FLI_REASON = 12 THEN V_REASON_FOR_FLIGHT := 'OTHERR'; ELSE V_REASON_FOR_FLIGHT := NULL; END CASE; --ACCIDENT CASE WHEN CR.ACCIDENT = 1 THEN V_ACCIDENT := 'Y'; WHEN CR.ACCIDENT = 2 THEN V_ACCIDENT := 'N'; ELSE V_ACCIDENT := NULL; END CASE; --ACCIDENT TYPE CASE WHEN CR.ACCDNTTYPE = 1 THEN V_ACCIDENT_TYPE := 'PROPERTY DAMAGE'; WHEN CR.ACCDNTTYPE = 2 THEN V_ACCIDENT_TYPE := 'INJURY'; WHEN CR.ACCDNTTYPE = 3 THEN V_ACCIDENT_TYPE := 'FATALITY'; ELSE V_ACCIDENT_TYPE := NULL; END CASE; --ACCIDENT PARTIES INVOLVED CASE WHEN CR.ACCPARTIES = 1 THEN V_ACCIDENT_PARTIES_INVOLVED := 'SUSPONLY'; WHEN CR.ACCPARTIES = 2 THEN V_ACCIDENT_PARTIES_INVOLVED := 'THRDONLY'; WHEN CR.ACCPARTIES = 3 THEN V_ACCIDENT_PARTIES_INVOLVED := 'POLIONLY'; WHEN CR.ACCPARTIES = 4 THEN V_ACCIDENT_PARTIES_INVOLVED := 'POLISUSP'; WHEN CR.ACCPARTIES = 5 THEN V_ACCIDENT_PARTIES_INVOLVED := 'POLITHRD'; WHEN CR.ACCPARTIES = 6 THEN V_ACCIDENT_PARTIES_INVOLVED := 'SUSPTHRD'; WHEN CR.ACCPARTIES = 7 THEN V_ACCIDENT_PARTIES_INVOLVED := 'ALLPARTY'; ELSE V_ACCIDENT_PARTIES_INVOLVED := NULL; END CASE; SELECT COUNT(*) INTO V_CASE_COUNT FROM PURSUITS.IMPORT_LEGACY_PURSUIT WHERE CASE_NUMBER = CR.LOCCASENUM; CASE WHEN V_CASE_COUNT = 0 THEN DBMS_OUTPUT.PUT_LINE ('DONE'); --INSERT DATA INTO TABLE INSERT INTO PURSUITS.IMPORT_LEGACY_PURSUIT( CASE_NUMBER, OFFICER_LNAME, OFFICER_FNAME, OFFICER_MI, OFFICER_NAME_HP261, OFFICER_RADIO, OFFICER_VEH_UNIT, OFFICER_TROOP, OFFICER_ZONE, OFFICER_YEARS_SERVICE, PURSUIT_TIME_BEGAN, PURSUIT_DATE, PURSUIT_DOW, PURSUIT_TIME_ENDED, DURATION_MILES, DURATION_MINUTES, SPEED_MAX, ROADWAY_TYPE, TRAFFIC_FLOW, REASON_FOR_INITIATION, REASON_FOR_INITIATION_OTHER, VEHICLE_MARKING, VEHICLE_LIGHTS_ON, VEHICLE_SIREN_ON, VEHICLE_COUNT_MARKED_TOPLIGHT, VEHICLE_COUNT_UNMARKED, VEHICLE_COUNT_MARKED_CLEAN, AIRCRAFT_AVAILABLE, AIRCRAFT_INVOLVED, OTHER_AGENCY_INVOLVED, OTHER_AGENCY_STATUS, OTHER_AGENCY_COUNT, SUSPECT_VEHICLE_TYPE, SUSPECT_VEHICLE_TYPE_OTHER, SUSPECT_AGE, SUSPECT_GENDER, SUSPECT_RACE, SUSPECT_ETHNICITY, SUSPECT_ID_KNOWN, SUSPECT_POSSESS_WEAPON, SUSPECT_DUI, SUSPECT_BAC, REASON_FOR_TERMINATION, REASON_FOR_FLIGHT, REASON_FOR_FLIGHT_OTHER, ACCIDENT, ACCIDENT_TYPE, ACCIDENT_PARTIES_INVOLVED, IMMEDIATE_SUPERVISOR, TROOP_COMMANDER) VALUES( CR.LOCASENUM, NULL, NULL, NULL, CR.N/A, CR.RADIO_NUM, CR.UNIT_NUM, CR.TROOP, CR.ZONE, CR.YRSSERVICE, CR.TIMEBEGAN, V_PURSUIT_DATE, CR.DAYOFWEEK, CR.TIME_ENDED, CR.MILES, CR.MINUTES, CR.MPH, V_ROADWAY_TYPE, V_TRAFFIC_FLOW, V_REASON_FOR_INITIATION, CR.OTHER1, V_VEHICLE_MARKING, V_VEHICLE_LIGHTS_ON, V_VEHICLE_SIREN_ON, CR.MARKED_TL, CR.UNMARKED, CR.MARKED_CR, V_AIRCRAFT_AVAILABLE, V_AIRCRAFT_INVOLVED, V_OTHER_AGENCY_INVOLVED, V_AGENCY_STATUS, CR.NUM_VEH, V_SUSPECT_VEHICLE_TYPE, CR.OTHER2, CR.AGE, CR.SEX, V_SUSPECT_RACE, CR.N/A, V_SUSPECT_ID_KNOWN, V_SUSPECT_POSSESS_WEAPON, CR.DUI, CR.BAC_PERCNT, V_REASON_FOR_TERMINATION, V_REASON_FOR_FLIGHT, CR.OTHER3, V_ACCIDENT, V_ACCIDENT_TYPE, V_ACCIDENT_PARTIES_INVOLVED, NULL, NULL); END LOOP; CLOSE DATA_CURSOR; END;
Deanna,
Question, I don't understand why you're selecting in import_legacy_pursuit and insertion in the same table?
It would be wonderful if you can display the structure of the table and 1 or 2 fictitious example of records.
cursor cr is SELECT * FROM import_legacy_pursuit; ... ... INSERT INTO import_legacy_pursuit ( case_number, officer_lname, .... .. ) values (..... ...);
In any case, I made some changes to the procedure, you must replace the Insert with your statement and post if it worked for you.
DECLARE CURSOR data_cursor IS SELECT * FROM import_legacy_pursuit; cr data_cursor%ROWTYPE; v_pursuit_date DATE; v_roadway_type VARCHAR2 (15); v_traffic_flow VARCHAR2 (18); v_reason_for_initiation VARCHAR2 (16); v_vehicle_marking VARCHAR2 (18); v_vehicle_lights_on VARCHAR2 (11); v_vehicle_siren_on VARCHAR2 (11); v_aircraft_available VARCHAR2 (11); v_aircraft_involved VARCHAR2 (11); v_other_agency_involved VARCHAR2 (11); v_other_agency_status VARCHAR2 (18); v_other_agency_count NUMBER (4, 0); v_suspect_vehicle_type VARCHAR2 (20); v_suspect_race VARCHAR2 (11); v_suspect_ethnicity VARCHAR2 (11); v_suspect_id_known VARCHAR2 (11); v_suspect_possess_weapon VARCHAR2 (11); v_reason_for_termination VARCHAR2 (11); v_reason_for_flight VARCHAR2 (11); v_accident VARCHAR2 (11); v_accident_type VARCHAR2 (18); v_accident_parties_involved VARCHAR2 (18); v_lo_number VARCHAR2 (50); v_case_count NUMBER; BEGIN OPEN data_cursor; LOOP FETCH data_cursor INTO cr; EXIT WHEN data_cursor%NOTFOUND; --PURSUIT DATE -- IF CR.PURSUIT_DATE = 0 THEN -- V_PURSUIT_DATE :=NULL; -- ELSE -- V_PURSUIT_DATE :=TO_DATE(CR.PURSUIT_DATE,CONCAT('MONTH'/'DAY'/'YEAR'); -- END IF; --ROADWAY TYPE CASE WHEN cr.roadway = 1 THEN v_roadway_type := 'URBAN'; WHEN cr.roadway = 2 THEN v_roadway_type := 'RURAL'; ELSE v_roadway_type := NULL; END CASE; --TRAFFIC FLOW CASE WHEN cr.trafficflo = 1 THEN v_traffic_flow := 'LIGHT'; WHEN cr.trafficflo = 2 THEN v_traffic_flow := 'MODERATE'; WHEN cr.trafficflo = 3 THEN v_traffic_flow := 'HIGH'; ELSE v_traffic_flow := NULL; END CASE; --INITIATION CODES CASE WHEN cr.initreason = 1 THEN v_reason_for_initiation := 'SUSACT'; WHEN cr.initreason = 2 THEN v_reason_for_initiation := 'TRAFVI'; WHEN cr.initreason = 3 THEN v_reason_for_initiation := 'MISCCR'; WHEN cr.initreason = 4 THEN v_reason_for_initiation := 'FELONY'; WHEN cr.initreason = 5 THEN v_reason_for_initiation := 'DUIARR'; WHEN cr.initreason = 6 THEN v_reason_for_initiation := 'NCICHT'; WHEN cr.initreason = 7 THEN v_reason_for_initiation := 'OTHERR'; ELSE v_reason_for_initiation := NULL; END CASE; --VEHICLE MARKING CASE WHEN cr.carmarks = 1 THEN v_vehicle_marking := 'MRKLIGHT'; WHEN cr.carmarks = 2 THEN v_vehicle_marking := 'MRKCLEAN'; WHEN cr.carmarks = 3 THEN v_vehicle_marking := 'UNMARKED'; ELSE v_vehicle_marking := NULL; END CASE; --LIGHTS CASE WHEN cr.lights_on = 1 THEN v_vehicle_lights_on := 'Y'; WHEN cr.lights_on = 2 THEN v_vehicle_lights_on := 'N'; ELSE v_vehicle_lights_on := NULL; END CASE; --SIREN CASE WHEN cr.siren_on = 1 THEN v_vehicle_siren_on := 'Y'; WHEN cr.siren_on = 2 THEN v_vehicle_siren_on := 'N'; ELSE v_vehicle_siren_on := NULL; END CASE; --AIRCRAFT AVAILABLE CASE WHEN cr.aircraftav = 1 THEN v_aircraft_available := 'Y'; WHEN cr.aircraftav = 2 THEN v_aircraft_available := 'N'; WHEN cr.aircraftav = 3 THEN v_aircraft_available := 'U'; ELSE v_aircraft_available := NULL; END CASE; --AIRCRAFT INVOLVED CASE WHEN cr.aircraftin = 1 THEN v_aircraft_involved := 'Y'; WHEN cr.aircraftin = 2 THEN v_aircraft_involved := 'N'; ELSE v_aircraft_involved := NULL; END CASE; --AGENCY INVOLVED CASE WHEN cr.othragency = 1 THEN v_other_agency_involved := 'Y'; WHEN cr.othragency = 2 THEN v_other_agency_involved := 'N'; ELSE v_other_agency_involved := NULL; END CASE; --AGENCY STATUS CASE WHEN cr.status = 1 THEN v_other_agency_status := 'INITIATE'; WHEN cr.status = 2 THEN v_other_agency_status := 'ASSISTED'; ELSE v_other_agency_status := NULL; END CASE; --SUSPECT VEHICLE TYPE CASE WHEN cr.vehicletyp = 1 THEN v_suspect_vehicle_type := 'SD'; WHEN cr.vehicletyp = 2 THEN v_suspect_vehicle_type := 'MC'; WHEN cr.vehicletyp = 3 THEN v_suspect_vehicle_type := 'VN'; WHEN cr.vehicletyp = 4 THEN v_suspect_vehicle_type := 'PK'; WHEN cr.vehicletyp = 5 THEN v_suspect_vehicle_type := 'DS'; WHEN cr.vehicletyp = 6 THEN v_suspect_vehicle_type := 'OT'; ELSE v_suspect_vehicle_type := NULL; END CASE; --SUSPECT RACE AND ETHNICITY IF cr.race = 'H' THEN v_suspect_race := 'W'; ELSE v_suspect_race := cr.race; END IF; --SUSPECT ETHNICITY IF cr.race = 'H' THEN v_suspect_ethnicity := 'H'; ELSE v_suspect_ethnicity := NULL; END IF; --SUSPECT ID CASE WHEN cr.id_known = 1 THEN v_suspect_id_known := 'Y'; WHEN cr.id_known = 2 THEN v_suspect_id_known := 'N'; ELSE v_suspect_id_known := NULL; END CASE; --SUSPECT WEAPON CASE WHEN cr.weapon = 1 THEN v_suspect_possess_weapon := 'Y'; WHEN cr.weapon = 2 THEN v_suspect_possess_weapon := 'N'; ELSE v_suspect_possess_weapon := NULL; END CASE; --TERMINATION REASON CASE WHEN cr.termreason = 1 THEN v_reason_for_termination := 'DVRVOL'; WHEN cr.termreason = 2 THEN v_reason_for_termination := 'ALATER'; WHEN cr.termreason = 3 THEN v_reason_for_termination := 'VEHDIS'; WHEN cr.termreason = 4 THEN v_reason_for_termination := 'VEHWRK'; WHEN cr.termreason = 5 THEN v_reason_for_termination := 'ROADBL'; WHEN cr.termreason = 6 THEN v_reason_for_termination := 'STOPST'; WHEN cr.termreason = 7 THEN v_reason_for_termination := 'RAMMED'; WHEN cr.termreason = 8 THEN v_reason_for_termination := 'WEAPON'; WHEN cr.termreason = 9 THEN v_reason_for_termination := 'DVRINJ'; WHEN cr.termreason = 10 THEN v_reason_for_termination := 'OFFTER'; WHEN cr.termreason = 11 THEN v_reason_for_termination := 'SUPTER'; WHEN cr.termreason = 12 THEN v_reason_for_termination := 'PATDIS'; WHEN cr.termreason = 13 THEN v_reason_for_termination := 'PATWRK'; WHEN cr.termreason = 14 THEN v_reason_for_termination := 'LOSTEM'; WHEN cr.termreason = 15 THEN v_reason_for_termination := 'FLEDAB'; WHEN cr.termreason = 16 THEN v_reason_for_termination := 'FLEDWK'; WHEN cr.termreason = 17 THEN v_reason_for_termination := 'OFFINJ'; WHEN cr.termreason = 18 THEN v_reason_for_termination := 'OTHAGY'; ELSE v_reason_for_termination := NULL; END CASE; --FLIGHT REASON CASE WHEN cr.fli_reason = 1 THEN v_reason_for_flight := 'SUMMON'; WHEN cr.fli_reason = 2 THEN v_reason_for_flight := 'DUIARR'; WHEN cr.fli_reason = 3 THEN v_reason_for_flight := 'FELONY'; WHEN cr.fli_reason = 4 THEN v_reason_for_flight := 'STOLEN'; WHEN cr.fli_reason = 5 THEN v_reason_for_flight := 'MISDEM'; WHEN cr.fli_reason = 6 THEN v_reason_for_flight := 'DRUGAR'; WHEN cr.fli_reason = 7 THEN v_reason_for_flight := 'FEARPO'; WHEN cr.fli_reason = 8 THEN v_reason_for_flight := 'NODVRL'; WHEN cr.fli_reason = 9 THEN v_reason_for_flight := 'NOINSU'; WHEN cr.fli_reason = 10 THEN v_reason_for_flight := 'PARENT'; WHEN cr.fli_reason = 11 THEN v_reason_for_flight := 'MENTAL'; WHEN cr.fli_reason = 12 THEN v_reason_for_flight := 'OTHERR'; ELSE v_reason_for_flight := NULL; END CASE; --ACCIDENT CASE WHEN cr.accident = 1 THEN v_accident := 'Y'; WHEN cr.accident = 2 THEN v_accident := 'N'; ELSE v_accident := NULL; END CASE; --ACCIDENT TYPE CASE WHEN cr.accdnttype = 1 THEN v_accident_type := 'PROPERTY DAMAGE'; WHEN cr.accdnttype = 2 THEN v_accident_type := 'INJURY'; WHEN cr.accdnttype = 3 THEN v_accident_type := 'FATALITY'; ELSE v_accident_type := NULL; END CASE; --ACCIDENT PARTIES INVOLVED CASE WHEN cr.accparties = 1 THEN v_accident_parties_involved := 'SUSPONLY'; WHEN cr.accparties = 2 THEN v_accident_parties_involved := 'THRDONLY'; WHEN cr.accparties = 3 THEN v_accident_parties_involved := 'POLIONLY'; WHEN cr.accparties = 4 THEN v_accident_parties_involved := 'POLISUSP'; WHEN cr.accparties = 5 THEN v_accident_parties_involved := 'POLITHRD'; WHEN cr.accparties = 6 THEN v_accident_parties_involved := 'SUSPTHRD'; WHEN cr.accparties = 7 THEN v_accident_parties_involved := 'ALLPARTY'; ELSE v_accident_parties_involved := NULL; END CASE; SELECT COUNT ( * ) INTO v_case_count FROM import_legacy_pursuit WHERE case_number = cr.loccasenum; IF v_case_count = 0 THEN DBMS_OUTPUT.put_line ('DONE'); -- PLEASE assign all cursor values to some variables ; e.g v_lo_number := cr.loccasenum; INSERT INTO import_legacy_pursuit ( case_number, fli_reason ) VALUES (v_lo_number, v_reason_for_flight); ELSE DBMS_OUTPUT.put_line ('Nothing inserted'); END IF; END LOOP; COMMIT; EXCEPTION WHEN OTHERS THEN ROLLBACK; DBMS_OUTPUT.put_line (SUBSTR (SQLERRM, 1, 300)); RAISE; END;
Concerning
-
Original title: Windows Installer Package
When you try to install itunes, I get a pop up box that says: there is an error with the windows package install and it will not continue with the download. I went online to download the package to install to my computer (Windows Vista) and when it starts to download get an error stating that "the procedure requires a rise." What it means? I assume this has something to do with security in the administrative account that I am signed on the label on when problems occur. Thank you!
Hello
1 did you change on your computer before this problem?2 - is a problem only with itunes?Follow the suggestions and check if that helps.
Method 1
a.Right click the download file.
b.Select run as administrator.
Method 2
You can follow the procedure in the article.
Problems installing and uninstalling programs on Windows computers
http://support.Microsoft.com/kb/2438651#reso2 -
Error 1720. There is a problem with this windows package install. a script required fpr this installation to complete could not be run. Contact your provider to support personal or package. action Coustom DelAppData error script-2146828283. Argument or appeal of Microsoft VbScript runtime error: invalid procedures: "Left" line 22, column 1.
Contact the technical support for the program that you are trying to install. MS - MVP - Elephant Boy computers - don't panic!
-
Error 1720. There is a problem with this windows package install.
Can I uninstall the Ask.com a toolbar script
Philip black [09:46]: Error 1720. Contact technical support staff or the seller-impossible packaging run vbisff open uninstall script error-not found script path?
There is a problem with this windows package install.
I can't uninstall the Ask.com toolbar script and program icon I
E-mail address is removed from the privacy *.Hey Thechiflows,
Welcome to the Microsoft Answers Forum!
Step 1:
To get rid of this error, I suggest you to install the latest version of Windows Installer, which you can download from the link:
Step 2:
Start the Windows Installer service.
1. Click Start, type Services.msc and press [ENTER]2. double-click on Windows Installer.
3. set the Windows Installer to Manual startup type.
4. Click Start to start the service. Note the error message, if any.
5. click on OK.
Step 3:
The Windows Installer CleanUp utility deletes all files and registry settings associated with the configuration of Windows Installer of a program.
Read the following article which talks about the description of the Windows Installer CleanUp utility:
http://support.Microsoft.com/kb/290301
Let us know if the steps above will help.
We look forward to hearing from you.Kind regards
Manasa P-Microsoft Support
-
Problem Windows install
When you try to download iTunes I get the following error ' there is a problem with this windows package install a program required for this install complete could not be run.
I looked at several forums and tried cleaning patches, etc they suggest. I also tried to download Windows Installer 4.5 but keep says "the update does not apply to my system" (I tried all.)
I am running Windows Vista and have downloaded the service pack 2 (one remedy suggestions!) Someone out there has a solution?
Hello, Atwitsend...,
Try to repair.
Go into Add Remove Programs, then select Apple Software Update > change > repair.If this does not work, try to uninstall. .
Remove and reinstall ITunes, Quicktime, and other software components
http://support.Apple.com/kb/HT1923Download the iTunes Installer and save it on your desktop.
http://www.Apple.com/iTunes/download/
Try to install iTunes using the installer that you saved.
-
original title: problems with the installation!
I'm trying to reinstall iTunes I have experienced problems with it. However, when I try to install an error pops up saying something along the lines of "there is a problem with this windows package install." A program to complete this installation could not be run "." I have no idea why this happens and no idea how to solve this problem.
Any help would be great.
Error 9010
To disable the Desktop Window Manager by process - response: this is a normal message when a process requires exclusive access to the desktop (e.g. use DirectDraw /OpenGl in exclusive mode) or just likes to turn off the Messenger of the window of the Office for some reason any. It is not an error.
Error 9013
Press Windows Flag + R
Type %windir%\system32\SystemPropertiesAdvanced.exe
Press OkUnder performance, click the Settngs
Check enable the Composition of the Bureau
Click on apply, Ok
Error 1002 - I need the specific message
Installation of the Windows Installer Application
http://TechNet.Microsoft.com/en-us/library/cc735604 (WS.10) .aspx
Error 1001-
Installation of the Windows Installer Application
http://TechNet.Microsoft.com/en-us/library/cc735588 (WS.10) .aspx
Reset the Web browser
Tools > Internet Options > Advanced tab
Click on the Reset button
Check delete all personal settings
Click on the Reset button
Click Ok
Close the window
Restart the computer for the changes to take effect
Retry Installation
Error 100 - support contact Apple
http://TechNet.Microsoft.com/en-us/library/cc774985 (WS.10) .aspx
-
Original title: an error occurred in SQL server?
Hello, I just wanted to go to this site, but this error pops up: error SQL
An error occurred in SQL server:This isn't a problem with intellectual property. Board of Directors, but rather with your SQL Server. Please contact your host and copy the above message.
Please help me, I just moved my computer so I had to disconnect from the internet, but now he has problems.
Is the site I tried to go to: http://www.minecraftforum.net/topic/227822-166-millenaire-npc-village-076c-duplicate-villager-fix/
Hey Brainiac,
1. are you encounter problems with this site?
2. are you able to connect to this site from a different computer?
3. were you able to connect to this website before?
4. you remember to make changes to the computer before this problem?
The problem seems to be, with the site that you are visiting. You can check if you can access the site from another computer.
Hope this information is useful.
-
I tried to update my iPhone to the latest version, but when I tried to download the latest version of iTunes, it gives me an error in the middle of the download, which says:
"There is a problem with this windows package install." A program required for this install to complete could not be run. Contact your supplier of staff or the package of support ".Then I opened my old iTunes again and tried to update my iPhone once again and then he started to back up my iPhone and delete the existing version if it might update the last being but then I got an error saying he needs the iTunes 9.2 update my iPhone. So I'm stuck with my iPhone can not be used and I can't download the new iTunes also. Please, need help on this issue?
Thanks in advance.
Now iTunes10 is underway, I downloaded and everything seems to work very well.
Thank you.
-
I need to uninstall the Apple software update program, but cannot. Message reads as follows: "there is a problem with this Windows package install." A requirement of the program to complete this installation could not be executed. Contact your provider to support personal or package. I have Windows 7 Professional.
I need to uninstall the Apple software update program, but cannot. Message reads as follows: "there is a problem with this Windows package install." A requirement of the program to complete this installation could not be executed. Contact your provider to support personal or package. I have Windows 7 Professional.
Hi, CA Bill.
Start the Windows Installer service.
1. Click Start, type Services.msc and press [ENTER]
2. double-click on Windows Installer.
3. set the Windows Installer to Manual startup type.
4. Click Start to start the service. Note the error message, if any.
5. click on OK.
Start uninstalling software Apple
If the above fails, use CCleaner uninstaller
http://www.Piriform.com/CCleaner/screenshots
See the help link - below
To remove, and then reinstall iTunes to windows 7.http://support.Apple.com/kb/HT1923
Web site support Contact Apple for additional assistance on the issue:
http://discussions.info.Apple.com/index.jspa -
Original title: problem WIndows Installer to install the latest version of i tunes
When I try to install the latest I tunes version 10, I get a message "there is a problem with this windows package installer. a program run as part of the set up did not complete as expected "the downloads version, but will not be installed." How can I fix? I have an earlier version, but I need to update to use my i pad.
Hello
You can try the steps of troubleshooting provided in the link below and check if the problem persists.
Problem installing iTunes or QuickTime for Windows
http://support.Apple.com/kb/HT1926
To get help on the issue, you can get in touch with support for ITunes.
-
Original title: after recent update, the installation software WONT work properly! Help!
- I am in desperate need of aid. I didn't something again on my computer, but these recent software updates. I've recently updated my my itunes and from itunes then will opens not or install it. It was working fine before that was last updated, but now used. I tried to uninstall several times, in a variety of versions. Still nothing. Is not specific to the user and system wide as well.
I get a message saying "there is a problem with this windows package install." A program required for this install to complete could not be run. Contact your supplier of staff or the package of support ".
Anyone know what I need to do? Or how to fix it?
Hi MxGurl,
If this occurs after the installation of update Itunes, then go to the following link and check if it helps.
iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits unexpectedly, freezes, or launch issues
http://support.Apple.com/kb/TS1717
If this does not help, you should contact Apple support or post in the Apple discussion forums.
http://discussions.Apple.com/category.jspa?categoryID=149
You can also check out the following link and try the steps by Suresh I Support Microsoft, moderator and Andre.Ziegler and check if this may help
Hope this information is useful.
Jeremy K
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think.If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
- I am in desperate need of aid. I didn't something again on my computer, but these recent software updates. I've recently updated my my itunes and from itunes then will opens not or install it. It was working fine before that was last updated, but now used. I tried to uninstall several times, in a variety of versions. Still nothing. Is not specific to the user and system wide as well.
-
He said: "there is a problem with this installation package. a program required for this installation could not be completed, contact your provider of batch
original title: itunes is not installed.Hello
Did you change your computer?
Method 1:
I suggest you to see the links and check.
Problem installing iTunes or QuickTime for Windows
http://support.Apple.com/kb/HT1926
See also:
Solve problems with programs that cannot be installed or uninstalled http://support.microsoft.com/mats/Program_Install_and_Uninstall
How to solve problems when you install or uninstall programs on a Windows computer
http://support.Microsoft.com/kb/2438651
I also suggest you to contact the Apple support and check.
Maybe you are looking for
-
YouTube doesn't display correctly on Safari
Hello Random Youtube no longer displays correctly on my Macbook using the latest OS and Safari. The content is all over the store, in a long list with massive search buttons, a lot of hypertext links blue, massive wrote saying this video is unavailab
-
I can not reset my work going on in hotmail.
I can not reset my work going on in hotmail.
-
Acer C720 stops during playback of flash video
What happened only twice in six weeks. A chrome ninja told me to do a powerwash and see if it happens again, but he has not responded to the other part of my question. In my event log, there is always cases of' power' failure Is this normal? Does an
-
Windows DVD Maker: Overview very rarely reflect final product
I am currently trying to create a dvd from a file that has a 2 x 1 asect ratio. I checked the box to choose the format 16 x 9 and ntsc and all options to create a dvd that should work in theory. When I preview the dvd, it presents the film in its ori
-
I use Z10, the version of the OS is 10.3.0.908 is the last FW for Z10 now (April 21, 2015)?