Data Import Wizard from Excel on DATE column

I have exported data to a csv in Oracle SQL Developer and one of the columns are of an Oracle Date datatype. In opening up Excel I see the Date column represented as 15-MAY-01 12.00.00.000000000 AM.
I am now going through the Data Import Wizard to create a new table and import the data. When I get to Step 3 of 4 it reads the data and assigns it a VARCHAR2. I want the column to be Date or Timestamp. In this case I choose timestamp and for format entered DD-MON-YY hh.mi.ss.fffffffff AM.
When I go to Step 4 of 4 to and click the Verify button I get:
"Verifying if the Date columns have date formats" Date columns DOT_LOGN_EFDT, have invalid or null date formats.
I am using Oracle SQL Developer 2.1.0.63 Build 63.73.
Any idea what I put in the format window to read the excel value of 15-MAY-01 12.00.00.000000000 AM correctly?

I am not able to reproduce your problem. When I export a date column, I do not get the time portion. This is the expected behavior. When re-importing the date, I therefore have no problem. I have tried manipulating the tools->preferences->database->nls->date format mask to include the time (and fractional seconds), but export still only exports the date portion. The fractional seconds is not valid for a date field, which explains the import error you are getting. The question remains as to why the exported data has the time. Can you describe your exact steps for doing the export?

Similar Messages

  • Text data import wizard

    I need to add a text data import wizard much like Excel has to import data. I am wondering if there is a library that has these features somewhere. I do not want to write the whole thing from scratch since it will be time consuming and expensive for my client.
    Thanks

    LOL!! Yes, he's crazy!... No, actually, we are developing a cross platform application to begin with. And also, this client has desktops with Windows 2000 and ALL machines are locked (you cannot install or change anything in the machine, much less change the registry), except for a drive that is in the network. So, what we do is package custom Java applications with the JRE and all the libraries we need into a CD or that drive in the network and they run what they need. We have accomplish that with .NET as well. Anyway, that's why :)
    If anyone knows about the library, please, let me know ASAP.
    Thanks!

  • Cannot open "data import wizard" in DTW

    Good Afternoon B1 Experts,
    I have prepared BP data to import from DTW, however, after I logged into DTW and clicked on the Import button, it did not have any response and the Data Import Wizard screen did not open.  Has anybody encountered the same problem?  When I clicked on Log FIles button, it worked fine and a screen popped up.
    I am wondering if re-installation would help solve the problem above  (Would prefer not to because our SAP B1 is installed on the Regional Head Office's server and it would be quite troublesome to reinstall DTW again)
    Thanks and I appreciate your time in providing a response.
    Sunny

    Good Morning Gordon,
    The current version that we are using is 2007A (8.00.180) SP:00 PL:45
    Although it is the first time that I am using DTW, our US branch have used DTW last year to import data to their company file before and they had no such issue.  So it seems I am the only user that is getting the problem right now (new problem perhaps?).
    Sunny
    Edited by: Sunny Rock on Jan 14, 2010 7:35 PM

  • I am creating a catalog and need a way to mass import tables from excel into indesign.  Any ideas?

    I am creating a catalog and need a way to mass import tables from excel into indesign.  Any ideas?

    Third-party plugins for InDesign can automate the process. Here's a thread from InDesignSecrets.com forums:
    http://indesignsecrets.com/topic/plugins-for-automating-catalog-production

  • Upload data from excel where one column has text of 3000 characters

    Guyz,
    I have a query. One of my requirments is to upload data from excel sheet & create a material. In the excel sheet one of the columns has text for BASIC DATA TEXT under ADDITIONAL DATA of a Material. This is a text of running length.
    the selection screen has feature of file upload & the users will upload excel files from their respective presentation servers.
    Now my problem is that I need a function module which can convert this column in excel sheet into an internal table & later call the BAPI for MM creation.
    I have used TEXT_CONVERT_XLS_TO_SAP & when i read my internal table to check this column length, it shows only 255 characters where as data in the excel sheet has 3000 characters (say for eg.)
    Can anybody throw some light on this.
    Thanks in advance
    GPK

    Hi,
    You can try using this function module and see that whether all your data is coming into the internal table properly.
    MS_EXCEL_OLE_STANDARD_DAT
    For the other part you needed to convert the internal table data into the structure as need by the BAPI and then call the create BAPI to create the materials in the SAP System.
    Hope this helps.
    Thanks,
    Samantak.

  • Importing data to table from excel

    hi,
    Is it possible to import data from excel to an oracle table using a stored procedure?
    database used : Oracle 11g
    Joseph

    Hello Joseph,
    the database (server) usually has no access on your PC (client).
    I recommend that you transfer the file to the server via FTP and then you can use heterogeneous services to read directly from the file.
    If your server is running on Windows too you can use ODBC to connect
    Re: Read CSV/XLS file to insert into Oracle database.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206
    http://jiri.wordpress.com/2010/01/04/load-ms-excel-file-to-oracle-database/
    If this does not help you, then please show us your requirements as detailed as possible.
    Regards
    Marcus

  • Importing Data to PDF from Excel

    I need to store data from 1000 unique records of a single form. Acrobat has a good export feature that puts all the data nicely in an excel sheet. However, there doesn't seem to be an equally easy way of repopulating the form with that data, generating a new file for each record.
    The reason I'm doing this is because there doesn't seem to be a way of modifying how a signature field is handled Adobe Default vs Silanis. The type is cemented by what the setting was when the field was created. So my thought is to temporarily store the data in excel. Recreate the Signature fields with the correct setting. Then generate the 1000 files again with the data from Excel.
    Thoughts?

    That is correct - Acrobat does not have that feature.
    I don't understand the issue with Silanis, since PDF Digital Signatures are part of the ISO 32000-1 standard as well as the ETSI TS 102778 (PAdES) standard.
    Signature fields required certificates and passphrases - I don't see how you could "recreate" them...

  • How to catch failed rows from excel export data conversion

    I am pulling data from SQL Server and exporting to Excel file.  Using SSIS 2008, sending to Excel 2003.  The process is working fine, and I want to grab any data conversion failures, specifically I want to grab any data that fails or is to be truncated.
    I add a flat file destination to the data conversion error line (red) and pointed it to a txt file.  This caused an error, saying some of the columns were the wrong data type to go in a text file.  So I added a data conversion to the first data
    conversion error line, but the data types wont change.  
    The wierd thing, is the error says the columns are DT_NTEXT and need to be DT_TEXT, but they aren't, they are DT_WSTR.  Anyway, I tried to convert to DT_TEXT and it caused the data conversions in my original conversion to change, whcih broke the whole
    package.
    My intention is to grab the erroring row so it can be manually converted. So how do I do that without adding 100 more errors?

    Hi teahou,
    do you really use two accounts to post on the MSDN forums?
    I think the data types were not guessed correctly by the Flat File Destination component and thus you need to adjust them using the advanced editor, then naturally the data conversion transformations become obsolete.
    Arthur
    MyBlog
    Twitter

  • Uploading data from Excel into data dictionary

    Hi all,
    I am new to ABAP.  I have a huge excel spreadsheet and I want to develop some graphs and reports using ABAP ALVs.  I want to know if I can import an excel spreadsheet into data dictionary, create a table and then develop an ALV report. 
    Plz let me know. 
    Thank you.
    Krish.

    Refer to this sample code
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36f08758-0a01-0010-c291-c03004aeb1af">Function Module To Upload Data From</a>
    or
    Use ALSM_EXCEL_TO_INTERNAL_TABLE function module to upload.
    Example programs added
    http://www.sapdevelopment.co.uk/file/file_upexcel.htm
    excel upload program
    UPLOADING FROM EXCEL TO Z TABLE
    Regds
    Manohar
    Message was edited by: Manohar Reddy

  • How to create a data load file from Excel !!!

    Hi All,
    I'm new to HFM and would like to load data into an HFM application. As I have an Excel file with all the data. When I'm directly loading the data it throws an error saying "No section has been specified to determine if this is data, description or line item detail". How can I convert this excel file into proper format (.dat) file understandable by HFM ?

    There are several ways to get this data into HFM.
    1) FDM - best option if you have it
    2) Webforms/Data Grids
    3) HsSetValue formulas in Excel
    4) DAT file loads
    5) JVs, etc
    If you wish to use DAT files created via Excel, you will likely want to use Excel VBA macros to create your DAT file to load. We do this on occasion for special projects and it works quite well. What you can do is set up an Excel file with your data inputs to look however you want, then link your POV members and amounts to another tab (we commonly call this the Export tab and it is set up in an HFM-friendly format).
    Create a macro to write a DAT file to a specified location using data from the Export tab. The DAT file will need to be formatted as below. For a specific sample, you can extract data from your HFM app and see the format.
    !Data
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
    Brush up on Replace, Merge, or Accumulate load options in the HFM Admin and User Guides, then upload your new DAT file.

  • Error while uploading data to ztable from excel file

    Hi,
    I have a requirement where i have to upload data from excel file to ztable.I have used the fm 'ALSM_EXCEL_TO_INTERNAL_TABLE' for reading the excel file.After reading the excel file i have used INSERT zrb_hdr from table t_zrb_hdr for updating the ztable with data .
    here it is giving error as the data base table zrb_hdr and the internal table t_zrb_hdr should be declared of same type .
    I got this error b'coz i have changed the date and time fields in t_zrb_hdr table to char type.so the structure of zrb_hdr and t_zrb_hdr are not same.If i don't change the date and time fields,in the o/p i am not getting proper date and time formats.
    now how can i upload data into ztable?

    Hi,
    Try this.
    Data: itab type standard table of ztable,
             wa_itab type ztable.
    loop at t_zrb_hdr into wa_t_zrb_hdr.
       wa_itab-date = wa_t_zrb_hdr-date.
       wa_itab-time = wa_t_zrb_hdr-time.
       like  move all the fiedl to wa_itab...........
       append itab with wa_itab.
    Endloop.
    now insert the records from itab to the database table ztable.
    Thanks,
    Muthu.

  • Matching Primary key from Excel to DB Column before import

    Hello Experts, 
    I am trying to achieve the task related with updates into my destination table via store procedure using dynamic sql. Basically I am importing the
    excel file into sql server.
    For further step, I want to update only the records that do not exist already in the table with reference to primary key. For this the user will provide
    as an input for procedure the column (or columns) that compose the primary key in excel.
    Example of EXEC command to run the store Procedure
    EXEC
    [ImportExcelFile_Error_Handling]
    'D:\test\test.xlsx','sheet1','testDB',
    'create','[Test Column1]’
    So in this case the [Test Column1] from excel contains now my Primary Key and if I execute my procedure then code should check the values of the
    [Test Column1] in the existing table in database, against the
    [Test Column1]
    in database.  
    If [Test Column1]
    value match with db
    [Test Column1]
    then skip rows and if not match then insert row entry.
    Below is my code, which needs to be update.
    if
    @TypeOfUpdate='Update'
    Begin
    declare
    @PrimaryLeyColumn NVARCHAR(max)
    set
    @PrimaryLeyColumn=''
    exec('Insert into ['
    + @DestinationTable
    + '] select * from openrowset(''Microsoft.ACE.OLEDB.12.0'', ''Excel 12.0;HDR=YES;IMEX=1;Database='
    + @TABLENAME
    + ''', ' +
    ''' select * from '+@SourceSheet
    + ''')')
    end
     thanks in advance.
    Looking for support.
    SharePoint_Consultant_EMEA

    Hello,
    Here is my complete code:
    --------------------Declaring variables------------------------------
    CREATE
    PROCEDURE [dbo].[ImportExcelFile_Update_Error_Handling]     
    (@TABLENAME
    varchar(1000)
    ,@SourceSheet
    varchar (100)
    ,@DestinationTable
    varchar (100)
    ,@TypeOfUpdate
    varchar (100)
    ,@PrimaryLeyColumn
    VARCHAR(255))
    as
    declare
    @retval int
    --Remaing Value
    EXEC
    master..xp_fileexist
    @TABLENAME,
    @retval output
    -- check if file exists
    if
    @retval = 0
    begin
    print 'file does not exists.'
    return
    end
    if
    @SourceSheet is
    null or @SourceSheet
    = ''
    set @SourceSheet
    = '[Sheet1$]' -- assume that the Sheet name on excel file is the default name
    else
    set @SourceSheet
    = '[' +
    ltrim(rtrim(@SourceSheet))
    + '$]'
    if
    @DestinationTable is
    null or
    @DestinationTable =
    set @DestinationTable
    = substring(@SourceSheet, 2,
    len(@SourceSheet)
    - 3)
    + convert(varchar,
    getdate(), 126)
    if
    @TypeOfUpdate='Update'
    Begin
    Begin
    try
    --if @PrimaryLeyColumn =''
    set
    @PrimaryLeyColumn =
    '[]'--here i think need to add the value or updates
    exec('Insert into ['
    + @DestinationTable
    + '] select * from openrowset(''Microsoft.ACE.OLEDB.12.0'', ''Excel 12.0;HDR=YES;IMEX=1;Database='
    + @TABLENAME
    + ''', ' +
    ''' select * from '+@SourceSheet
    + ''')t WHERE NOT EXISTS (SELECT 1 FROM ['
    + @DestinationTable
    + '] WHERE ['
    + @PrimaryLeyColumn
    + '] = t.[' +
    @PrimaryLeyColumn +
    declare
    @Appendcount INT
    declare
    @SQLStringCount nvarchar(500);
    declare
    @ParamDef nvarchar(500);
    declare
    @TabName nvarchar(500);
    SET
    @SQLStringCount =
    N'SELECT @COUNT=COUNT(1) FROM '+
    @DestinationTable;
    SET
    @ParamDef =
    N'@TABLE varchar(30),@COUNT BIGINT OUTPUT';
    EXECUTE
    sp_executesql @SQLStringCount,
    @ParamDef ,@Table=@TabName,
    @COUNT=@Appendcount
    OUTPUT;
    --Getting the rowcount as a output parameter from the sp_executesql.
    if
    @Appendcount != 0
    PRINT
    'Database is "Updated" with total number of Records= '
    + Cast(@Appendcount
    AS VARCHAR(200))
    end
    try
    Begin
    Catch
    if @DestinationTable is null or @DestinationTable = ''
    DECLARE
    @ErrorNumberUT INT
    = ERROR_NUMBER();
    DECLARE
    @ErrorMessageofUpdateTable
    NVARCHAR(max)
    = ERROR_MESSAGE();
    PRINT
    'Error, Table not exists in the database'
    PRINT
    'Actual error number: ' +
    CAST(@ErrorNumberUT
    AS VARCHAR(10));
    PRINT
    'Actual Error Message: '
    + CAST(@ErrorMessageofUpdateTable
    AS VARCHAR(max));
    end
    Catch
    end
    To execute this code I am using this script
    EXEC
    [ImportExcelFile_Update_Error_Handling]
    'D:\TestFiles\Test_Updates.xlsx','sheet1','Error_Handing','update','[SUPLR_DUNS_NBR]';
    [SUPLR_DUNS_NBR] is the column where I have "ID to match" with new and old content in my excel and if this content same in my sql table then skip else insert the row.
    Any support in this would ge really helpful to achive my tasks goal. 
    thanks
    SharePoint_Consultant_EMEA

  • How can I transfer dates and locations from excel file to iCal?

    I received an Excel file with dates and locations to visit for 45 days. Is there a way to transfer over to iCAL and then to iPhone?

    how to input all those addresses into my Garmin as well.
    I can't help you with that one.
    Could have I also input somehow from excel to entourage and then ical??
    I don't think Entourage has the data detectors feature.
    AK

  • Export actuals to / import actuals from Excel, ID, GUID, xlsx

    Hi all,
    I'd like to do the following:
    Export tasks to Excel
    Edit the actuals in the Excel file
    reimport the changed tasks to Project
    I used the wizard saving the the data to an excel file
    After updating the fields 'actaul start', '% completed' I opened the excel file and used the wizard again, using following options:
    merge the data into the active project 
    tasks, import included headers
    set merge key = ID
    merging is ok
    set merge key = GUID
    the tasks are imported as new tasks in the existing project
    We want to be shure that the import doesn't put actuals into wrong tasks, even when in the original project new tasks were created. Thats why we need to use the GUID, not the ID.
    Does somebody know this issue?
    Shure, I can use a user defined field, but how can the key inserted automatically, something like a key creater?
    Peter
    p.s. tried Project 2010/2013, Excel export/import Format xlsx, xls, english, german versions

    Glad that you find by yourself the trick. I've come to the same conclusion.
    Thank you to have kept us informed.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Import file from Excel and ignoring the headers

    Hi all,
    is it possible to import files(spreadsheets) from Excel and ignoring the first row that contains the headers? Since headers might contain special characters such as "\n", "&" and "/", i wonder if you can tell me how to load .xlsx files while ignoring the first line that contains description regarding the header.
    Thanks

    Put a filter on one of the fields on the source data store in your interface. It is likely that your header row will have some unique identifying attribute so filter on that e.g. if you are importing nmeric amount data it is unlikely that your header line contains a numeric value in the amount field but a decription such as "amount", put a filter testing if the value of that field is numeric or not

Maybe you are looking for