Importing data into a custom using API object in bulk

Hello

I try to import data in Eloqua.

The data are so simple that a list of email addresses - I just want to be able to place them in a specific ORDER so that I can reference this when selecting my contacts.

I could create the object custom Eloqua.com without problems.

I could define an import against the custom using the API object in bulk (v2.0) once again without problems.

I was able to synchronize these data so that it appears in documents in the object custom without problems.

The problem is with mapping - this is not the case.

When I create the custom object, I choose 'add the contact fields' then 'e-mail address '. I tried the field configuration in the field display name, unique code, e-mail address, domain group. I have ensured that "Default Entity Mapping used in upload" indicates the type of entity such as contacts and the field of the entity as a "'email '.

In 'Map of the fields', under the heading contact I am not available "" e-mail address"option, then the field says"(none) ". What is the problem? I thought it might be, but tried to create a custom object where the field was a customer id (which is also held against contact) and despite matching that in the menu 'mapping', it still doesn't have the card.

When I set the import, I base it on the field that appears in the API

In this case:

{u 'hasNotNullConstraint': u 'internalName False': u 'Email_Address1', u 'name': 'u' Email address, u 'dataType': ' u 'emailAddress, u' hasReadOnlyConstraint ": False, u 'uri': u ' / customObjects, 265, fields, 916 ', u' statement': u'{{Objetpersonnalise [265].}}" "} {Field [916]}} ", u" hasUniquenessConstraint ": True}

So my export definition looks like:

{'name': 'Test', 'fields': {'Email_Address1': ' {{Objetpersonnalise [265].}} "}} Field[916]}}"},"identifierFieldName":"Email_Address1","isSyncTriggeredOnImport":false,"dataRetentionDuration":"P7D","isUpdatingMultipleMatchedRecords":true,"uri":"/customObjects/265/imports/17","createdBy":"Stephen.Waters","createdAt":"2015-04-28T17:52:18.8247543Z","updatedBy":"Stephen.Waters","updatedAt":"2015-04-28T17:52:18.8247543Z"}

I said "isUpdatingMultipleMatchedRecords": true in the hope that this could help, but it didn't.

According to some old posts here, I had been concerned that the e-mail address field should look more at {{Objetpersonnalise [265].}} Contact.Field (C_EmailAddress)}} - so far I found no way to be customized to create a field that corresponds to that, they always follow the format {{Objetpersonnalise [#]. Field [#]}}.

The synchronization works, but under Setup: integration: entrants: all source data: System: in bulk api if I look at the 'source download history', it says the following under parameters:

Set of dataTest
State of the downloaded data cardsRegistered
Overwrite the status of existing data cardsNO.
Data map ReadOnlyNO.
Map data cardsNO.

How can I make this field "map data cards" say 'yes '?

Everything works very well & cards with a download of the manual the data card (where I can specify to map the maps on the last page)... it's just I make tons of them and need a more automated solution.

Any advice appreciated, thanks


Stephen

Definition, but it adds in addition to {{Objetpersonnalise [265].}} Field [916]}}.  When you create the record fill in the two fields: 1 is a field in the custom object that you created, the other is used to map to a contact.

Tags: Marketers

Similar Questions

  • Importing data into Tables - by using the Import Wizard - Null values

    Hi all

    I would like to use the data import wizard to import data into existing intermediate tables, that are already filled with data.

    However, when you import my CSV file, while the import completes without error, all of the empty cells are filled with (null)"- is anyway to prevent this?

    For example, ColumnA contains data for lines 1-11 and 12-14 15-30 but row are empty, when you download the wizard of column rows 12-14 are wired populated "(null)". I would like to prevent this

    Thanks a lot for your help

    ROss

    Yes, it shows a (null), but there is nothing there.
    If you go to sqlplus and do a query on the table, it shows a white.

    If you want to get rid of the (null), then go to Tools - Preferences - Database - Advanced - display Null value like: remove the (null)
    You can even display a different background color when it is null if you wish.

    Michael

  • Importing data into tables to grant access (developer sql 3.2)

    Hello
    I want to import data into a table PAY_BALANCE_BATCH_LINES which is an array of interface. I am connected to a schema (APPS) and this table belongs to the HR schema. However, if you look at the grants, the APPS schema has all access to this particular table. A TOAD, this used to work great.
    But in sqldeveloper, when I filter drop-down list of tables, I'm not able to find the table. Since it is my main means of downloading data I don't know how I can get access to download data in this table. I do not know the password for the schema HR incidentally.
    Is there a way out?
    Thank you very much

    Scroll to the bottom of the tree to the 'Other users' node, expand it, and then descend into HR > Tables. Then do your import.

    To another browser, right-click on your connection in the tree and open a browser schema.

  • import data into the different tablespace

    Hello

    I had exported a my schema of production data now I want to import data in the schema of the trial, I had mentioned the tablespace default for the trial scheme, but when I import data is not taking default tablespace of schema of its database taking default tablespace. How to import data into the different tablespace. In remap_tablespace where I can specify the touser.

    my version of oracle database:

    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    AMT for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production

    -------------------------------------------------------------------------------------------------------------------------------------------

    Raj wrote:
    Hello

    I had exported a my schema of production data now I want to import data in the schema of the trial, I had mentioned the tablespace default for the trial scheme, but when I import data is not taking default tablespace of schema of its database taking default tablespace. How to import data into the different tablespace. In remap_tablespace where I can specify the touser.

    my version of oracle database:

    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    AMT for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production

    -------------------------------------------------------------------------------------------------------------------------------------------

    If your storage source and destination areas are different, you must use the remap_tablespace option.
    example:

    System $impdp / * directory = data_pump_dir dumpfile = logfile = schema_refresh.log remap_schema = Prd_schema:Tst_schema remap_tablespace = prd_TBS:tst:TBS schema_refresh.dmp

  • SQL Loader loading data into two Tables using a single CSV file

    Dear all,

    I have a requirement where in I need to load the data into 2 tables using a simple csv file.

    So I wrote the following control file. But it loads only the first table and also there nothing in the debug log file.

    Please suggest how to achieve this.

    Examples of data

    Source_system_code,Record_type,Source_System_Vendor_number,$vendor_name,Vendor_site_code,Address_line1,Address_line2,Address_line3

    Victor, New, Ven001, Vinay, Vin001, abc, def, xyz

    Control file script

    ================

    OPTIONS (errors = 0, skip = 1)
    load data
    replace
    in the table1 table:
    fields ended by ',' optionally surrounded "" "
    (
    Char Source_system_code (1) POSITION "ltrim (rtrim (:Source_system_code)),"
    Record_type tank "ltrim (rtrim (:Record_type)),"
    Source_System_Vendor_number tank "ltrim (rtrim (:Source_System_Vendor_number)),"
    $vendor_name tank "ltrim (rtrim (:Vendor_name)),"
    )
    in the Table2 table
    1 = 1
    fields ended by ',' optionally surrounded "" "
    (
    $vendor_name tank "ltrim (rtrim (:Vendor_name)),"
    Vendor_site_code tank "ltrim (rtrim (:Vendor_site_code)),"
    Address_line1 tank "ltrim (rtrim (:Address_line1)),"
    Address_line2 tank "ltrim (rtrim (:Address_line2)),"
    Address_line3 tank "ltrim (rtrim (:Address_line3)).
    )

    the problem here is loading into a table, only the first. (Table 1)

    Please guide me.

    Thank you

    Kumar

    When you do not provide a starting position for the first field in table2, it starts with the following after a last referenced in table1 field, then it starts with vendor_site_code, instead of $vendor_name.  So what you need to do instead, is specify position (1) to the first field in table2 and use the fields to fill.  In addition, he dislikes when 1 = 1, and he didn't need anyway.  See the example including the corrected below control file.

    Scott@orcl12c > test.dat TYPE of HOST

    Source_system_code, Record_type, Source_System_Vendor_number, $vendor_name, Vendor_site_code, Address_line1, Address_line2, Address_line3

    Victor, New, Ven001, Vinay, Vin001, abc, def, xyz

    Scott@orcl12c > test.ctl TYPE of HOST

    OPTIONS (errors = 0, skip = 1)

    load data

    replace

    in the table1 table:

    fields ended by ',' optionally surrounded "" "

    (

    Char Source_system_code (1) POSITION "ltrim (rtrim (:Source_system_code)),"

    Record_type tank "ltrim (rtrim (:Record_type)),"

    Source_System_Vendor_number tank "ltrim (rtrim (:Source_System_Vendor_number)),"

    $vendor_name tank "ltrim (rtrim (:Vendor_name)).

    )

    in the Table2 table

    fields ended by ',' optionally surrounded "" "

    (

    source_system_code FILL (1) POSITION.

    record_type FILLING,

    source_system_vendor_number FILLING,

    $vendor_name tank "ltrim (rtrim (:Vendor_name)),"

    Vendor_site_code tank "ltrim (rtrim (:Vendor_site_code)),"

    Address_line1 tank "ltrim (rtrim (:Address_line1)),"

    Address_line2 tank "ltrim (rtrim (:Address_line2)),"

    Address_line3 tank "ltrim (rtrim (:Address_line3)).

    )

    Scott@orcl12c > CREATE TABLE table1:

    2 (Source_system_code VARCHAR2 (13),)

    3 Record_type VARCHAR2 (11),

    4 Source_System_Vendor_number VARCHAR2 (27),

    5 $vendor_name VARCHAR2 (11))

    6.

    Table created.

    Scott@orcl12c > CREATE TABLE table2

    2 ($vendor_name VARCHAR2 (11),)

    3 Vendor_site_code VARCHAR2 (16).

    4 Address_line1 VARCHAR2 (13),

    5 Address_line2 VARCHAR2 (13),

    Address_line3 6 VARCHAR2 (13))

    7.

    Table created.

    Scott@orcl12c > HOST SQLLDR scott/tiger CONTROL = test.ctl DATA = test.dat LOG = test.log

    SQL * Loader: release 12.1.0.1.0 - Production on Thu Mar 26 01:43:30 2015

    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.

    Path used: classics

    Commit the point reached - the number of logical records 1

    TABLE1 table:

    1 row loaded successfully.

    Table TABLE2:

    1 row loaded successfully.

    Check the log file:

    test.log

    For more information on the charge.

    Scott@orcl12c > SELECT * FROM table1

    2.

    RECORD_TYPE SOURCE_SYSTEM_VENDOR_NUMBER $VENDOR_NAME SOURCE_SYSTEM

    ------------- ----------- --------------------------- -----------

    Victor Ven001 new Vinay

    1 selected line.

    Scott@orcl12c > SELECT * FROM table2

    2.

    $VENDOR_NAME VENDOR_SITE_CODE ADDRESS_LINE1 ADDRESS_LINE2 ADDRESS_LINE3

    ----------- ---------------- ------------- ------------- -------------

    Vinay Vin001 abc def xyz

    1 selected line.

    Scott@orcl12c >

  • How to insert data into the database using smartview

    Hello
    I am trying to insert data into the database using * "Send data" * button on the Ribbon of Essbase.
    My database is empty.

    I opened an ad hoc network, it returns * "#missing" * in all cells
    I have modified the cells and provided data in the cells that I want to. Now, I supported on * "Send data" * button.
    It just reloaded the adhoc grid instead of submit data, I rechecked the data through data console Administrative Service are not inserted.

    I am following the right way to insert data? If not, could you please suggest me how (Populate) insert default data in the database?

    --
    VINET

    You go about it the right way, once you have submitted if you réactualisiez then data values should be there, if you POV is against members of dynamic calc and then data not written to the database, you need to check the Member properties of your POV.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • import data into the table with the triggers of the sequence

    Hello

    I'm on oracle 11G on OS SPARC.

    I need to import a table from a dump using "imp."

    At the destination table where I have to import a 'insert before' with the sequence as the primary key.

    Suppose if I am importing data that has the sequence from 200... then when I imported the data into the new table, I have to define the sequence to be the same as the boot sequence for the source or it will automatically use this source sequence.


    Please suggest

    concerning
    Kkurkeja

    Disable the trigger prior to importation.

    Thank you

  • Importing data into Oracle Apex

    Hello

    I have an obligation to provide a screen to the user where they can import excel data to an existing table and I saw a feature in the workshop of data in Oracle Apex, but I can't use that since I have extra things added into that must. The requirment is mentioned below,

    (1) need a screen where the user can select the excel file and start the import of a temporary table without validation
    (2) the data from the temporary table must be visible to the format of form Multi line in the screen and the user must be able to modify the data
    (3) the need for a feature or a screen mapping where the user can map the temporary table to the original table column before you pass data to the original (as data) table
    (4) the data should be transferred in the original table and the respective data should be deleted from the temporary table (in case if an error occurs, error record must appear in a temporary table up to less than the user of the corrected data into the original table)
    (5) need to add different types of validation, update the record in the original record if same id is available or insert a record value, non-zero, etc...

    Please suggest me how can I do this in the Apex.

    Is it possible to use the existing data and design workshop robot code in my new screen?

    You will probably have to code this yourself... There are packages that have been written to import Excel and CSV style...

    Here's a blog entry to make the upload of Excel file: http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/

    Once you call who you might have a tabular layout displays the data to the user...

    Other processes must be written by you (migration of data from the temporary table to the table of live data...

    Thank you

    Tony Miller
    Webster, TX

    On the road of life... He has "windshield", and there are "bugs".
    (splat!)
    "Squeegees wanted."

  • Reading file and dump the data into the database using BPEL process

    I have to read the CSV file and insert data into the database... To do this, I created some asynchronous bpel process. Adapter filed added and associated with the receive activity... Adapter DB has added and associated with the Invoke activity. Receive two total activity are available in the process when trying to Test em, receive only the first activity is complete and awaits the second receive activity. Please suggest how to proceed with...

    Thanks, Maury.

    Hi Maury,

    There is no need in step 2 that u mentioned above. I donot find useless a webservice?

    The process will be launched by the CSV file, then using the processing activity, you can put it in the DB.

    There should be no way where you can manually test it by giving an entry. All you can do to test is to put the file in the folder you mentioned when configuring the file adapter.

    You just need to have the composite as below:

    ReadCSVFile---> BPEL--> DB adapter

    And in your BPEL process:

    Recieve--> Transformation activity--> call activity

    Try to work on some samples listed on the oracle site and go through the below URL:

    The playback of the file adapter feature using

    Thank you

    Deepak.

  • Problem with export data from an application and importing data into another application

    Hello

    I need to give a stream to an application (target) of one of the other application (source) of data. So what I did is I exported the data necessary for the application target using the DATAEXPORT function in text files and you now want to import data in text files in the application of the source using rules files.

    I'm trying to create files for each exported text file separate compilation, but I'm not able to do this successfully.
    I traced all members of the source to the target application, but still there is something wrong is going on is to not let the successful import or do not allow that data to go to the right places.

    There all the specifications, while using this function DATAEXPORT as format or the kind of DATAEXPORTOPTIONS that I use to make it work?

    Here is the first part of my script to calc. For all other data I wanted to export that I wrote similar statements by simply setting on individual members.

    SET DATAEXPORTOPTIONS
    {
    DATAEXPORTLEVEL ALL;
    DATAEXPORTCOLFORMAT ON;
    DATAEXPORTOVERWRITEFILE ON;
    };

    DIFFICULTY ("ST", "BV", "SSV", "ASV", "ESV", "W", "HSP_InputValue", "SÜSS", "TBSD", "ABU", "AC", "LB", "LT", "VAP", "Real", "FY11", @REMOVE (@LEVMBRS (period, 0), @LIST (BegBalance)));
    DATAEXPORT 'File' ',' '...\export Files\D3.txt ';
    ENDFIX;


    Please let me know your opinion on this. I really need help with that.
    ~ Hervé

    So, you have 12 periods through the columns of the export data?

    If so, you must assign each column of data at a time. The data column property is used only when you have completely defined the dimensions either through other fields or other areas and the header and the left point only possible is data. This does not work when you have several columns of data that you find, just so assign the right period; doing this means there is no column of data .

    Kind regards

    Cameron Lackpour

  • Reading file from the ftp server and importing data into the table

    Hi experts,

    Well, basically, I text with different layout files have been uploaded to an ftp server. Now, I must write a procedure to recover these files, read and insert data into a table... what to do?

    your help would be greatly helpful.

    Thank you

    user9004152 wrote:
    http://it.Toolbox.com/wiki/index.php/Load_data_from_a_flat_file_into_an_Oracle_table

    See the link, hope it will work.

    It is an old method, using the utl_file_dir parameter that is now obsolete and which is frankly a waste of space when external tables can do exactly the same thing much more easily.

  • 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

  • How to import Date into the text data file TDR box?

    I have a report template that I use frequently for data tracing files. At the top of the TOR, I have a main title text box that says "Daily Operation" usually followed by the date (entered manually) of this file.

    Q: How do I import/reference the value of the date of the file (photo #1 - black outline) in the text box (photo #2) I use to Date? I appreciate all help.

    Hi man of laboratory.

    Looks like you will need to use the RTT (-real time), which transforms the tiara time real number (fractions of a second from 0 AD) in a date/time string.  There is also a TTR function that goes the other way.

    @@RTT (ChD (1, "[1] / Date"), "" mm/dd/yyyy # hh:nn:ss.fff "') @.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • cannot import images into lightroom cc using Mac

    everything I try to import images of the map, I get a message that says lightroom could not read image. The card reader works because I can import pictures from another app like iPhoto.

    The most common problem for errors "failed to read", it's that your destination folder has WRITE permissions added.

    In your LR import dialog box, verify that the destination folder is where you want it to be and correctly spelt.

    Then, using the Finder, go to this folder and make sure that your username has both READ and WRITE access to this folder and its parent.

  • Import data from the grid using Excel Option not available

    On the grid, we have the ability to import the data in grid. However, on the Import Wizard, the only option that appears is import values separated by comma (CSV). Options for importing to Excel not displayed. Why is it other import options is not available?

    You may need to register the OCX that offer this feature.

    You can check out a place like this OCX files:

    C:\Program Files\IBM\WebSphere\AppServer\installedApps\E1DVWEB1Node01\EA_JS_Prototype.ear\webclient.war\axctls\jdeexpimpU.cab

    and

    C:\Program Files\IBM\WebSphere\AppServer\installedApps\E1DVWEB1Node01\EA_JS_Prototype.ear\webclient.war\axctls\jdewebctlsU.cab

    Put the OCX files in a network location, and then put cela in a connection/GPO script or run it manually:

    copy '\\somenetworklocation\jdeexpimpu\jdeexpimpU.ocx' 'C:\windows\system32\.
    copy '\\somenetworklocation\jdeexpimpu\jdewebctlsU.ocx' 'C:\windows\system32\.
    regsvr32 "c:\windows\system32\jdeexpimpU.ocx".
    regsvr32 "c:\windows\system32\jdewebctlsU.ocx".

Maybe you are looking for

  • Error file not found in Temp. Firefox does not start

    When I try to start Firefox (Windows 8.1 desktop computer) I get a full white screen with only the following error message: File not foundFirefox can't find the file at / c; /Users/ username/AppData/Local/Temp/name of file (more than fifty characters

  • return thunderbird email yahoo messages

    Inadvertently, I opened my email in Thunderbird, now I have more access to them in my yahoo mail? Please help

  • Release NiFPGA 7842 DMA FIFO after reading memory

    Hello I use the card RIO de Ni7842. I've implemented a block for the acquisition of data on my FPGA (target device) and filling a FIFO to transfer the data from the target to the host machine. I've implemented the FIFO to a size of 10 k. The number o

  • TinkPad Slate Tablet may be recharged by full size USB Port?

    My wife has a 1 year old ThinkPad tablet, and she had problems using the Mini USB port for charging. The port is damaged. I managed to fix it by folding the edges of the usb port of fitness, but I don't think that this repair will last. I was wonderi

  • Cannot empty the trash and is corupt

    I used unlocker to delete a folder I got access denied in the folder qoobox of combofix. It is in the sandbox of recycled and I can't restore it or remove it. Sorry, too tired to find accurate, but found comments online, I did everything I could to g