Cannot import Excel dates

I am using Oracle SQL Developer v1.2.1 and I'm trying to import an Excel file that contains date values formatted as 21-Sep-2007 11:29:45. During the import process, Data Preview shows that the date columns have values such as 39282.8. I have tried setting the Format on the Data Types tab and nothing is working. When I try import the file the following error messages are being displayed "Error at line 1:insert into EMMA_DB_PUSH_REPORT (MNTC_EVENT_ID,TKT_NBR,SCHED_COND_CD,NOTIFY_INDCR_CD,EVENT_DESC,OPEN_DT,START_DT,STOP_DT,SUBMIT_DT) VALUES(11848740186780000000000,3890.1,'SCHED','Y','APPROVED A SECOND TIME TO RE-GENERATE E-MAIL NOTIFICATION TO TSA SCHEDULED MAINTENANCE',TO_DATE('39282.8','DD-MON-YYYY HH:MI:SS'),TO_DATE('39347.6','DD-MON-YYYY HH:MI:SS'),TO_DATE('39348','DD-MON-YYYY HH:MI:SS'),TO_DATE('39346.4789930556','DD-MON-YYYY HH:MI:SS'))...SQL Error:ORA-01847: day of month must be between 1 and last day of month". Any suggestions would be greatly appreciated.

Barry - The only way that I could import a date is if it was formatted as MM/DD/YYYY in Excel.

Similar Messages

  • Import excel data from OWB10.2

    I wanted to import excel data into OWB 10gr2. So i have followed the steps in the attached link. But i cannot perform the operations from step 6 in OWB 10rR2.
    In OWB10.2 how could i create a new database link. Inorder to create a new module below ODBC i have to give the location. I cannot create the location.
    Step 6: Create an ODBC Source Module and a Database Link
    Use the following steps to create an ODBC source module and database link:
    1. From the Warehouse Builder console, create an ODBC source module. On the
    navigation tree, ODBC modules are listed under the Others node of the Databases
    node.
    2. On the Connection Information page, click New Database Link to create a new
    database link that reads data using the data source created. Figure 3–3 shows the
    entries used on the New Database Link dialog.
    Note: Ensure that the initialization parameter GLOBAL_NAMES is set
    to FALSE in the database's initialization parameter file. FALSE is the
    default setting for this parameter.
    Step 6: Create an ODBC Source Module and a Database Link
    3-4 Oracle Warehouse Builder Case Book
    Figure 3–3 New Database Link Dialog
    Notice that the Oracle Service Name field uses the Oracle system identifier
    specified for the agent.
    3. Ensure that the Use for Heterogeneous Services option is selected.
    Because you are not accessing an Oracle database, you can enter any value for
    username and password.
    4. Create and test this database link. Close the New Database Link dialog.
    5. Leave the Schema name <unspecified>. Click the Change Schema button and
    select <unspecified>. The Connection Information page now looks as shown in
    Figure 3–4.
    Step 8: Create a Mapping to Load Data Into the Target Table
    How Do I Load Data Stored in a Microsoft Excel File? 3-5
    Figure 3–4 Connection Information Page
    6. Create a new deployment location for the module or specify an existing location.
    http://www.oracle.com/technology/products/warehouse/pdf/Cases/case3.pdf
    But i cannot create in OWB10.2.
    Can any body suggest me the process.

    Gillies,
    I am not able to create a new location for ODBC in connection explorer.
    Which option should i consider. Should i consider database link or host:port:service or sql*net connection. suppose If i take database link option what is the description i have to enter in database link box. Should i create a database link manually from sql*plus.

  • Inability to import Excel data with xlsx or xlsm extensions

    Inability to import Excel data with xlsx or xlsm using Microsoft Project Standard V14 Import Wizard.   
    Get error message"Project cannot recognize this file format. Do you want to open this file in text only?"   when using xlsm.
    Nothing  no wizard or data when when trying xlsx.
    Windows XP/Office 2007. SP1 for MSP2010 installed.
    Thank you in advance.   Pete

    Pete H --
    No, it is not possible to import Excel files with either the xlsx or the the xlsm file extension.  This is simply a limitation of the Import/Export Wizard.  Sorry.  Hope this helps.
    Dale A. Howard [MVP]
    VP of Educational Services
    msProjectExperts
    http://www.msprojectexperts.com
    http://www.projectserverexperts.com
    "We write the books on Project Server"

  • Importing excel data into oracle tables

    Hello gurus,
    Importing excel data into oracle tables..
    I know this is the most common question on the thread ...First, i searched the forum, i found bunch of threads with loading data using sqlloader, converting excel into .Txt, tab delimited file, .csv file etc....
    Finally i was totally confused in terms how to get this done....
    Here is wat i have
       - Excel file on local computer.
       - i have laod data into dev environment tables(So no risk involved, but want to try something simple)
       - Oracle version 11.1.0.7
       - Sqlplus and toad (editors)
    Here is wat i like to do ....i dont know if its possible
        - Without going to unix server can i do everthing on local system by making use of oracle db and sqlplus or toad
       SQLLOADER might be one option...but i dont want to go the unix server for placing files and logs and stuff.
    Wat will be best and simplest option to do?? and wat format will best to convert from excel into csv, or txt or tab delimited etc.....
    If you suggest sqlloader, any code example will be greatly appriciated.
    Thank you so much!!!

    Hi,
    user642297 wrote:
    Imran,
    This is increadible option in toad!!! It works absolutely sweet!! I have toad 9.7 version. IT works great. Thank you so much!!You are welcome :)
    Well i have further discussion on this ....this option is great if you doing in staging or development area. What if your doing in prod?? If you automating the sqlloader then how do u do it?? I think we still need to stick with traditional approach of laoding data by making use of SQLLoader right ?? If m wrong please correct me.well, in our case, we do have access to a custom schema in prod where we create the staging table and load the data from datafiles.
    try this:
    load data
    infile 'C:\dest.csv'
    into table dest_table
    fields terminated by "~" optionally enclosed by '"'
    TRAILING NULLCOLS
    (name,
    owner_nm,
    description_column,
    UPDT_DT DATE 'MM/DD/YYYY')
    {code}
    you can get more info about sql loader and your error here:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch05.htm
    http://www.allinterview.com/showanswers/53766.html
    And one more quick question ...i found an example of control file , in that i see .dat format file. Is it a data file ?? can i try that option ?? But in excel i didnt see to convert the .dat format file.
    Any thoughts ???
    It is same as a delimiter text file.
    steps to create a .dat file (from a excel file):
    1. Insert a column between two columns and populate it with the delimiter (in our case, it is ~)
    2. Save the file as unicode text.
    3. Open the file in text editor and remove all the tabs (find an replace with blank)
    4. Save the file as "DEST.dat". Select encoding as UTF-8 while saving.
    5. Your .dat file is ready.
    Regards
    Imran
    Edited by: Imran Soudagar on Apr 22, 2010 10:22 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Import excel data for labview control

    I'm having some trouble importing excel data into labview. Goals: Input valve flow rates into excel, use those values to control DAQ, have user balance odor with excel defined flow rate, export balance data to excel. Here is what I have so far. Any help is greatly appreciated.
    Attachments:
    Intensity.vi ‏162 KB

    Where in the code are you reading from the Excel Spreadsheet? What VIs are you using? What are the problems are you experiencing (errors, unexpected values, etc.)?
    There is a Read From Spreadsheet File.vi in LabVIEW. LabVIEW uses ActiveX controls for .xlsx files, so saving the spreadsheet as a CSV file may be better for this VI. Try it out! See what happens.
    Here some more info on reading from spreadsheets:
    LabVIEW Manual: Read From Spreadsheet File VI
    KnowledgeBase article: How Can I Import Spreadsheet Files into LabVIEW using the .csv Format?
    Taylor B.
    National Instruments

  • How do i import excel data base into pdf form drop down field

    Hi,
    I have a table of about 2500 rows and three columns that i would like to import into a drop down window on a PDF form to be self populated when item selected rather than entering the data. How can this be done?
    Thanks!
    Richard

    Hi,
    I did not know only two entries for each option item is it. I have manually entered data in the drop down an list boxes. With 2500 lines of data I was hoping there was an easier way other than manually entering the data.
    I have no knowledge of Java Scripting.....
    I was just wondering if there was a way from an Excel spreadsheet to import that data into a PDF form to be selectable to populate PDF fields in a form. It doesn't sound like it.
    Thanks......

  • Importing Excel data

    I'm trying to import a bunch of names, phone numbers, etc. into an InDesign file from an Excel file. When I import the data, it comes in as a table. How do I get it to come in as tab-deliniated text? i.e., basically, I want the name in the first column, the phone number in the second column... etc. But I don't want that information in actual cells. Just in text columns. Thanks!
    julie
    PS I'm using InDesign CC on an iMac.

    Thanks so much! I tried converting the table to text, but that option was not available to me in Indesign. I see it... but it's grayed out. So I tried saving the Excel file as tab deliminated text. This works, but it imports tons of extra tabs. So I have to go in and delete thousands of tabs. Is there a way to just save the data as text (as opposed to the entire spreadsheet... including the blank cells...which is what I think it's doing)?

  • Importing excel data into ZAM 7.5 using SQL2005

    Hi,
    I am running ZAM 7.5 and have about 6500 workstation records in inventory. I have an excel spreadsheet that has been maintained for several years with some demographic info in it such as Site, Department, Building, etc for about 4000 of those workstations. I would like to get that information into the ZAM SQL2005 database. Can I import the data into the SQL database directly or is there a tool to do it? There are no purchase records tied to this data so using the purchase record import does not seem like an option. Any advice?
    Thanks,
    Jay

    Originally Posted by JoeyGuida
    I have found this document to very usefull.
    How to import an Excel file into SQL Server 2005 using Integration Services
    How to import an Excel file into SQL Server 2005 using Integration Services | Servers and Storage | TechRepublic.com
    Do you know what table to import this data to?

  • Help with Importing Excel Data into Formatted Tables

    This is my first post, here, so please be gentle!
    I am a relatively new user of InDesign CS4, and I am creating a 70-pg manufacturer's price book.  A very large portion of each page is going to be size and price information imported from a large Excel spreadsheet.
    I have created the table format that I'd like to use for each page, but the trouble comes when I import the Excel data into that table.  For some reason, when I import, it all dumps into one cell.  Would it be best to import as an unformatted table, and then format the table each time, or is there a way to simply import the data into my pre-formatted table?  I've seen how the former is done, but the latter seems much easier (...although that could be my inexperience talking).
    Any advice would be greatly appreciated!
    Thanks so much,
    Laura (V1500)

    Thank you both so much for your time!  This is exactly what I needed.
    Cheers
    Laura

  • Using forms 6i, to import excel data to database not a valid month problem

    Hi all,
    i am fetching data from excel dynamically to oracle table, all data is of general type
    here i am passing value V3 varchar2(100) but actual database column field is DATE.
    my insert code is given below
    [code]
    PACKAGE BODY PK_EXCEL_TO_DB IS
    PROCEDURE PR_DO_INSERT(i_vcColumn1 IN VARCHAR2,i_vcColumn2 IN VARCHAR2,i_vcColumn3 IN VARCHAR2,i_vcColumn4 IN VARCHAR2,i_vcColumn5 IN VARCHAR2,i_vcColumn6 IN VARCHAR2,i_vcColumn7 IN VARCHAR2,
      i_vcColumn8 IN VARCHAR2,i_vcColumn9 IN VARCHAR2,i_vcColumn10 IN VARCHAR2,i_vcColumn11 IN VARCHAR2,i_vcColumn12 IN VARCHAR2,i_vcColumn13 IN VARCHAR2,i_vcColumn14 IN VARCHAR2,
      i_vcColumn15 IN VARCHAR2,i_vcColumn16 IN VARCHAR2,i_vcColumn17 IN VARCHAR2,i_vcColumn18 IN VARCHAR2,i_vcColumn19 IN VARCHAR2,i_vcColumn20 IN VARCHAR2,i_vcColumn21 IN VARCHAR2,
      i_vcColumn22 IN VARCHAR2,i_vcColumn23 IN VARCHAR2,i_vcColumn24 IN VARCHAR2,i_vcColumn25 IN VARCHAR2,i_vcColumn26 IN VARCHAR2,i_vcColumn27 IN VARCHAR2,i_vcColumn28 IN VARCHAR2,
      i_vcColumn29 IN VARCHAR2,i_vcColumn30 IN VARCHAR2,i_vcColumn31 IN VARCHAR2,i_vcColumn32 IN VARCHAR2,i_vcColumn33 IN VARCHAR2,i_lData IN tDataList) IS
        vcInsert   VARCHAR2(3500);
        i INTEGER:=0;
        flag boolean:= FALSE;
      BEGIN
        i:=i_lData.COUNT;
        :BLK_MAIN.T4:= vcInsert;
        vcInsert:='INSERT INTO CRM_DELT_IMPORT (';
        if length(i_vcColumn1) > 0 then
        flag:=TRUE;
        vcInsert:=vcInsert||i_vcColumn1;
        end if;
        if length(i_vcColumn2)  > 0 then
          IF flag THEN
          vcInsert:=vcInsert|| ','||i_vcColumn2;
          else
          vcInsert:=vcInsert||i_vcColumn2;
          end if;
        end if;
        if length(i_vcColumn3) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn3;
        end if;
        if length(i_vcColumn4) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn4;
        end if;
        if length(i_vcColumn5) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn5;
        end if;
        if length(i_vcColumn6) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn6;
        end if;
        if length(i_vcColumn7) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn7;
        end if;
        if length(i_vcColumn8) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn8;
        end if;
        if length(i_vcColumn9) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn9;
        end if;
        if length(i_vcColumn10) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn10;
        end if;
        if length(i_vcColumn11) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn11;
        end if;
        if length(i_vcColumn12) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn12;
        end if;
        if length(i_vcColumn13) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn13;
        end if;
        if length(i_vcColumn14) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn14;
        end if;
        if length(i_vcColumn15) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn15;
        end if;
        if length(i_vcColumn16) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn16;
        end if;
           if length(i_vcColumn17) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn17;
           end if;
           if length(i_vcColumn18) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn18;
           end if;
           if length(i_vcColumn19) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn19;
           end if;
            if length(i_vcColumn20) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn20;
            end if;
           if length(i_vcColumn21) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn21;
            end if;
           if length(i_vcColumn22) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn22;
           end if;
           if length(i_vcColumn23) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn23;
            end if;
           if length(i_vcColumn24) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn24;
            end if;
           if length(i_vcColumn25) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn25;
            end if;
           if length(i_vcColumn26) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn26;
            end if;
            if length(i_vcColumn27) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn27;
             end if;
            if length(i_vcColumn28) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn28;
            end if;
            if length(i_vcColumn29) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn29;
            end if;
            if length(i_vcColumn30) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn30;
            end if;
            if length(i_vcColumn31) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn31;
            end if;
            if length(i_vcColumn32) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn32;
            end if;
            if length(i_vcColumn33) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn33;
        end if;      
        vcInsert:=vcInsert||') values(';
        if length(i_vcColumn1) > 0 then
        vcInsert:=vcInsert||''''||i_ldata(i).V1||'''';
        end if;
        if length(i_vcColumn2) > 0 then
        IF flag THEN
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V2||'''';
        else
        vcInsert:=vcInsert|| ''''||i_ldata(i).V2||'''';
        end if;
        end if;
        if length(i_vcColumn3) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V3||'''';
        --vcInsert:=vcInsert|| ','||''''||to_date(to_date(i_ldata(i).V3,'dd-mon-yy HH12:MI:SS'),'dd-mon-yy HH12:MI:SS')||'''';
        -- vcInsert:=vcInsert|| ','||''''|| to_date('i_ldata(i).V3','dd-mon-yy HH12:MI:SS')||''''; --to_date('18-JUN-2013 12:00:00', 'DD-MON-YYYY HH24:MI:SS')
        end if;
        if length(i_vcColumn4) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V4||'''';
        end if;
        if length(i_vcColumn5) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V5||'''';
        end if;
        if length(i_vcColumn6) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V6||'''';
        end if;
        if length(i_vcColumn7) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V7||'''';
        end if;
        if length(i_vcColumn8) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V8||'''';
        end if;
        if length(i_vcColumn9) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V9||'''';
        end if;
        if length(i_vcColumn10) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V10||'''';
        end if;
        if length(i_vcColumn11) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V11||'''';
        end if;
        if length(i_vcColumn12) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V12||'''';
        end if;
        if length(i_vcColumn13) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V13||'''';
        end if;
        if length(i_vcColumn14) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V14||'''';
        end if;
        if length(i_vcColumn15) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V15||'''';
        end if;
        if length(i_vcColumn16) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V16||'''';
        end if;
        if length(i_vcColumn17) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V17||'''';
        end if;
        if length(i_vcColumn18) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V18||'''';
        end if;
        if length(i_vcColumn19) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V19||'''';
        end if;
        if length(i_vcColumn20) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V20||'''';
        end if;
        if length(i_vcColumn21) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V21||'''';
        end if;
        if length(i_vcColumn22) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V22||'''';
        end if;
        if length(i_vcColumn23) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V23||'''';
        end if;
        if length(i_vcColumn24) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V24||'''';
        end if;
        if length(i_vcColumn25) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V25||'''';
        end if;
        if length(i_vcColumn26) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V26||'''';
        end if;
        if length(i_vcColumn27) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V27||'''';
        end if;
        if length(i_vcColumn28) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V28||'''';
        end if;  
        if length(i_vcColumn29) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V29||'''';
        end if;
        if length(i_vcColumn30) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V30||'''';
        end if;
        if length(i_vcColumn31) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V31||'''';
        end if;
        if length(i_vcColumn32) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V32||'''';
        end if;
        if length(i_vcColumn33) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V33||'''';
        end if;
        vcInsert:=vcInsert||')';
         FORMS_DDL(vcInsert);
         :BLK_MAIN.T4:= vcInsert;
       --END LOOP;
        STANDARD.COMMIT;
      END;
    END;
    [/code]
    How can i pass '13-06-13 05:54:33' to database table.
    if i put condition
    vcInsert:=vcInsert||','||''''||TO_CHAR('i_ldata(i).V3','DD-MON-RR HH12:MI:SS')||''''
    i get the error
    to_char many declaration..
    if i remove this i got error
    ORA-01843: no a valid month
    Since i am dynamically importing the excel data, every time the position of the date fild is going to change. For static its ok that i know that V3 is going to be a date.
    But for dynamic date may be  at position V22 or at any place.
    please suggest something.
    Regards
    Sam

    hii Marwin
    Thanks for the reply. Yes i understand what exactly you are saying.
    That's why i have created a test table. All fields in the table are of varchar2 type and no constraints were given to the table and import the data to test table.
    Once the data is imported to test table, then i am inserting data to my original table i.e CRM_DELT_IMPORT. I have written the following code for that.
    But when i press the button i got the error
    FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-00001
    my CRM_DELT_IMPORT have composit key on ("ROUTE_ID", "DELDATE", "DELSNO", "PROFILE_ID")
    I also inserted few records with normal insert on SQL prompt , records gets inserted in to the table.
    But when i use the form for insert and click on button of insert i get the error.
    I also check that records gets imported in test table but not get inserted into CRM_DELT_IMPORT table (with the help of form. )
    (can i use IGNORE_ROW_ON_DUPKEY_INDEX here? and how?)
    Please help me in this problem.
    Thanks again.
    Regards
    Sam
    My code on when-button-pressed is
    DECLARE
      CURSOR IMP IS
      SELECT ROUTE_ID, to_date(DELDATE,'DD-MM-RR HH24:MI:SS')DELDATE, DELSNO, DEL_BOY,
      PROFILE_ID, TRNTYPE, RECNO, EXP_FR, EXP_PA, EXP_SK, EXP_EMPTY, EXP_TIME, ACT_FR,
      ACT_PA, ACT_SK, ACT_EMPTY, ACT_TIME, LATITUDE, LONGITUDE, IS_FREE, RATE_LITER, AMT_DEBIT,
      DEVICE_ID, PROF_NAME, ADDR1, ADDR2, LANDMARK, PLAN_ID, DEL_MODE, NEW_CHANGE, NO_DEL_CODE,
      TO_DATE(DEV_DATE,'DD-MM-RR HH24:MI:SS')DEVICE_DATE, substr(DEV_TIME,12,19)DEVICE_TIME
      FROM TEST;
      IMP_REC IMP%ROWTYPE;
    BEGIN
      OPEN IMP;
      FETCH IMP INTO IMP_REC;
      WHILE IMP%FOUND
      LOOP
      INSERT INTO CRM_DELT_IMPORT(ROUTE_ID, DELDATE, DELSNO, DEL_BOY, PROFILE_ID, TRNTYPE, RECNO, EXP_FR, EXP_PA, EXP_SK, EXP_EMPTY,
      EXP_TIME, ACT_FR, ACT_PA, ACT_SK, ACT_EMPTY, ACT_TIME, LATITUDE, LONGITUDE, IS_FREE, RATE_LITER, AMT_DEBIT,
      DEVICE_ID, PROF_NAME, ADDR1, ADDR2, LANDMARK, PLAN_ID, DEL_MODE, NEW_CHANGE, NO_DEL_CODE, DEV_DATE, DEV_TIME)
        VALUES(IMP_REC.ROUTE_ID, IMP_REC.DELDATE, IMP_REC.DELSNO, IMP_REC.DEL_BOY, --to_date(DELDATE,'DD-MM-RR HH24:MI:SS')
      IMP_REC.PROFILE_ID, IMP_REC.TRNTYPE, IMP_REC.RECNO, IMP_REC.EXP_FR,IMP_REC.EXP_PA,IMP_REC.EXP_SK,IMP_REC.EXP_EMPTY,IMP_REC.EXP_TIME,IMP_REC.ACT_FR,
      IMP_REC.ACT_PA,IMP_REC.ACT_SK,IMP_REC.ACT_EMPTY,IMP_REC.ACT_TIME,IMP_REC.LATITUDE,IMP_REC.LONGITUDE,IMP_REC.IS_FREE,IMP_REC.RATE_LITER,IMP_REC.AMT_DEBIT,
      IMP_REC.DEVICE_ID,IMP_REC.PROF_NAME,IMP_REC.ADDR1,IMP_REC.ADDR2,IMP_REC.LANDMARK,IMP_REC.PLAN_ID,IMP_REC.DEL_MODE,IMP_REC.NEW_CHANGE,IMP_REC.NO_DEL_CODE,
        IMP_REC.DEVICE_DATE,IMP_REC.DEVICE_TIME); ---TO_DATE(DEV_DATE,'DD-MM-RR HH24:MI:SS'), substr(DEV_TIME,12,19)
      END LOOP;
      COMMIT;
      CLOSE IMP;
    END;

  • Retaining changes and format  of  imported excel data.. please help.

    Is there some kind of secret that Im mising out on that will allow me to make changes to the data in the excel cell range in which I import to an InDesign document?
    It was working fine, until I had to add a line of data to the import field range, and now it asks me every time I open the InDesign file to apply changes.. And now when I update said imported data, it comes up as little red dots, and I have to change all of the cell parameters to get the text to show.
    Obviously this is very annoying, and Im hoping there is an easy solution. Im thinking it must involve re-linking the data in the InDesign file, and I must be doing something wrong not to be able to get it to keep the changes I've made and the format it is in so that I do not have to the "red dot" fix every day.
    Hopefully Ive explained this well enough.. Im dying for some help :)
    Thanks in advance
    J

    Im not sure I want it to not keep the link..
    I'll explain what Im using InDesign for, maybe it will help..
    I use it to update daily information (numbers/data) for a publication. I update and save all of the info in the Excel files that contain the data, and then I use InDesign to place all of the data together in a file (which I then turn into a PDF).
    All of the other data that Im pulling into the InDesign file from the same excel file do not go all screwy and give me red dots, only the one box of info that Ive had to add a line of data to.. and like I say, now it updates and pulls into InDesign as different font size and red dots.
    If I turn of that link option like you say, will my daily info still update and pull into the InDesign file?
    Again, thanks for your help.
    J

  • How to create form or tabbed template and import excel data

    Hi there
    I am wanting to know how I can create a rather comprehensive template that will be copied a number of times on the same page but each time will include different data from an excel spreadsheet.
    The template will need to include quite a bit of layout and placement of text and images. The fields range from data type including names, phone number, email, prices, description and address.  See attached image below of what I am wanting to acheive.
    I'm just not quite sure how to set this up as a form/template in indesign and what the best and fastest way would be.
    There will be about 6-8 blocks to a page.
    Any ideas would greatly be appreciated.
    Thanks

    You need Data Merge
    OPENS VIDEO
    http://www.theindesigner.com/podcasts/tid43_theindesigner_43.mp4
    http://www.theindesigner.com/blog/episode-43-data-merge-video

  • Cannot Import from Data CD

    Hey everyone - I can't seem to find an answer to this anywhere else. Any help would be very much appreciated.
    Right before my computer crashed a few months ago, I made a data disc (DVD) of all of my iTunes music. I imported about 160 of the songs onto my new computer, and set the DVD down to finish later. Now for the past couple weeks as I've tried to return to the task, for some reason, it's not letting me import the songs. They are recognized by Explorer as iTunes format, but when I drag them to my library, nothing happens. When I tried "Adding Folder to Library," it just resulted in duplicates being made of the 160 songs that I had already imported, but no additional ones. I also get an error message whenever I insert my DVD: "An unknown error has occured (-50)" - a puzzling error message because a google search for this error turns up little, and what it does turn up has to do with MacAfee, which I don't have, and includes extra language. Below is the CD diagnostic from iTunes.
    Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)
    Hewlett-Packard HP Pavilion dv1000 (PX323UA#ABA)
    iTunes 6.0.4.2
    CD Driver 2.0.4.3
    CD Driver DLL 2.0.3.2
    LowerFilters: PxHelp20 (2.0.0.0),
    UpperFilters: GEARAspiWDM (2.0.4.3),
    Video Driver: Intel(R) 82852/82855 GM/GME Graphics Controller\Intel(R) 82852/55 GM/GME Controller
    IDE\DiskST9100822A_____________________________3.02___, Bus Type ATA, Bus Address [0,0]
    IDE\CdRomNEC_DVD+-RW_ND-6500A___________________2.81___, Bus Type ATA, Bus Address [0,0]
    If you have multiple drives on the same IDE or SCSI bus, these drives may interfere with each other.
    Some computers need an update to the ATA or IDE bus driver, or Intel chipset. If iTunes has problems recognizing CDs or hanging or crashing while importing or burning CDs, check the support site for the manufacturer of your computer or motherboard.
    Current user is administrator.
    D: _NEC DVD+-RW ND-6500A, Rev 2.81
    Data or MP3 CD in drive.
    Found 1 songs on CD, playing time 255:57 on CDROM media.
    Track 1, start time 00:02:00
    Get drive speed succeeded.
    The drive CDR speeds are: 4.
    The drive CDRW speeds are: 4.
    The drive DVDR speeds are: 4 0.
    The drive DVDRW speeds are: 4 0.
    Thanks again.

    Hey, thanks for the replies -
    Copying to C and then over to the library is the method I used a couple months ago to successfully transfer the first 200 or so songs, but, it was to no avail this time. They're on my computer, but nothing can seem to play them (despite seemingly having all the necessary properties). My guess is some sort of encryption kicked in for some reason, and I have absolutely no idea how to get rid of it.
    Importing ten by ten, one by one, all have the same result - absolutely nothing happening.
    I tried it on a different computer, and it produced the same exact result as this one, further suggesting that it has to do with the files (weird encryption maybe?)
    Any ideas??? It's driving me crazy
    Thanks again.

  • Importing excel date into InDesign

    Ok so I have a load of names badges to do, name (in blue and bold 18 pt), job title (12 point bold, black) then company (10 point regular).
    Now I am currently copy and pasting the text in and using character styles to get it in the right format, but this is taking me a long time. I know there must be a way where I have maybe three text boxes set and it pastes in and automatically does the styles for me,
    Can anyone help?
    Many Thanks,
    Dave

    Read about Data Merge in the help files.
    This might also be a way to handle the page numbering, but probably not the best. More in your other thread after I read what Eugene had to say.

  • Cannot import TDMS data into Openoffice Calc ver 2.4.0

    Is the TDMS Openoffice Calc Add-in Tool supposed to work with Openoffice ver 2.4?  I've downloaded the add-in and "installed" per the instructions on th NI web site, but "TDM Importer" never shows up in the Openoffice Calc menu bar.  Any ideas?

    I would agree with you N_Cooper, but I managed to install it on Vista as well.  Maybe you need to uninstall/reinstall OpenOffice?  Do you see TDMImporter.exe in C:\Program Files\OpenOffice.org 2.4\program?  Are you running any antivirus programs that would perhaps prevent files from installing completely?
    Peter K.
    National Instruments
    Attachments:
    vista_tdms.png ‏47 KB

Maybe you are looking for

  • How Can I Combine Podcasts from Two Computers Into One ?

    I download podcasts on two computers - my home PC and my work/travel laptop. My IPod syncs to my home PC. What I would like to be able to do is transfer all the podcasts I have downloaded from my laptop to my home PC (as my internet speed at home isn

  • Dual monitor issue with 10.8 and Windows 7 (bootcamp)

    I've a read a lot of threads here about people having nightmare-ish problems after upgrading.  Thankfully, this isn't one of them, just a frustration that I'd like advice on. My system:  2010 13" MBP, 2.4GHz Intel Core 2 Duo, 8GB RAM, 320GB HD.  Work

  • Invoice Print MR90

    Hi All I am going to take output for invoice. I have defined output type INVC by copying ERS in NACE for application type MR. Following parameters i have maintained in different views: Access Sequence: 0003 Company Code Access to Conditions : X Partn

  • Same BI query multiple times, different variable values ...

    Hi all, Im having a problem executing a BI query multiple times, passing different parameters. What I did is drag & drop the query multiple times (from the "Find Data" section) and pass different variable values from the signal-in of the nested iview

  • How to create index on xmltype column

    I have a table having only one column xmlcontent (xmltype). This table stores xml data of about 10GB size. I'm using extract value to move the data to staging tables. How can I create index on xmltype column? Create index indexname on table (column)