I want to convert date from Microsoft Access to Oracle.

I want to convert date from Microsoft Access to Oracle.
My Oracel date format is 21-Jul-2004 02:24:09 AM
I use sqlldr in Oracle 9i Database and I
write control file
load data
infile 'test.txt'
into table test
fields terminated by "," optionally enclosed by '"'
trailing nullcols
name,
birthday
data file 'test.txt' for input
"dao","21-Jul-2004 02:24:09 AM"
why did error? ORA-01843: not a valid month
Thank.

replace birthday with
birthday "to_date(:birthday, 'DD-Mon-YYYY HH:MI:SS AM', 'NLS_LANGUAGE=''american''')"Of course, if your monthes are in German, then set the language to german (JUL=JUL but DEZ<>DEC)
Regards
Laurent

Similar Messages

  • Upload data from microsoft access to oracle form(in data block)

    Hi all,
    Any one can help me, how we can upload data from access file to developer form(in data block).
    as
    we upload data from text file to developer form(in data block) using some packages.
    Thank's in advance

    Hi Zuhair,
    If you give details of the problems you are still having then we should be able to get SQL*Developer to work.
    However, if you don't want to use SQL*Developer then the following options are taken from note 393760.1 available in Metalink if you have access to that -
    1. Use a gateway that supports the non-Oracle database or generic connectivity if a third party ODBC driver is available to do a -
    'create Oracle_table as select from non_oracle_table@database_link'
    for each table. You would then have to manually create all the other objects (views, indexes, stored procedurs etc) and permissions etc that existed in the non-Oracle database.
    2. Use the SQL*Plus COPY command to copy data from the non-Oracle database to the
    Oracle database using a gateway or generic connectivity. The syntax is as follows:
    COPY FROM username/password@oracle_sid -
    INSERT destination_oracle_table -
    USING query;
    The following example selects all rows from the EMP table in the non-Oracle database and
    inserts them into the local Oracle EMP table:
    COPY FROM SCOTT/TIGER@ora10 -
    INSERT EMP -
    USING SELECT * FROM SCOTT.EMP@gateway;
    where "gateway" is the database link created for the gateway.
    3. Load the non-Oracle data into flat files and use SQL*Loader to put the data into Oracle tables. Again manual
    work is required for the other objects.
    4. Contact the Oracle Product Technology Services (PTS) group for assistance. See the webpage -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    5. Use a third party migration tool. See -
    http://www.oracle.com/technology/tech/migration/isv/third_party.html
    6. Use JDBC to connect to the non-Oracle database and Java in the Oracle database. This method will work but it is not suppported by the JDBC team.
    =========
    The amount of work involved will depend on the number and size of Access tables that you want to migrate.
    Regards,
    Mike

  • Trying to Import data from Microsoft Access in POWERPIVOT

    Hello,
    I am trying to import data from Microsoft Access into Powerpivot. In my Access database I have several query's.
    When I go to the Table Import Wizard in powerpivot, I only see one source table. Why can't I see the other query's?
    Thanks in advance for your help.
    Soraya

    Hello Soraya,
    Which Version of MS Excel / Power Pivot are you using? Do you try to Import from a MDB or from the new Format ACCDB? Are these common queries in MS Access or pass-through queries?
    In common it should work, if I Import from a MDB I can see & select both, tables & views (queries):
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • HOW TO FILTER DATA FROM MICROSOFT ACCESS

    HOW TO FILTER DATA FROM MICROSOFT ACCESS BASED ON DATE AND TIME AND GIVE THE RESULT TO A TABLE ?
    I need some example files , can anybody please help me ?
    Solved!
    Go to Solution.

    Just be sure to get examples specific to the Jet DBMS. It is rather "idiosyncratic" when dealing with time and date values.
    One question: the timestamp is being saved in a datetime field, right?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Retrieving data from Microsoft Access using JDBC

    I noticed that when i tried retrieving data from Microsoft access using JDBC, I realised that it was throwing SQLException when the column names were two word with spaces between them, e.g. Date Birth. But after i removed the space from the column names, my SQL queries were retrieving data. Was it because of the space in between the column names of the table?

    Yeah, as far as I know having two word column names isn't allowed in SQL. There might be some way to escape it, but generally it's sensible to avoid it.

  • Data from Microsoft Access ?

    Hi,
    When I deploy report that takes data from Microsoft Access, I got error: Unable to retreive object.
    How do we set the data source for this ? I tried to put the MS access file in the same folder as the published rpt file, it didn't work.
    Thanks

    There are a couple of issues here for you to look at.
    1.  How are you connecting to the database from your development machine?  If you're using an ODBC connection, that same connection must be set up on the computer where the report is deployed.  Where you're using ODBC or another connection method, your deployement computer will also need to have installed whatever drivers are necessary for connecting to Access (they aren't installed by default with Windows!)
    2.  If the database resides on the network (I know, you said it was in the same folder as the report, but you may not always be able to do that!) the user who is logged in to the machine where your app is deployed will have to have valid network access to the folder where the database is located.
    -Dell
    - A computer only does what you told it to, not what you <em>thought</em> you told it to!

  • How to migrate data from MS Access to Oracle???????

    how to migrate data from MS Access to Oracle???????

    You can use heterogeneous services (HS) connection to MS-Access from Oracle and still use the same PL/SQL (or even a single CTAS statement) or SQL to load directly to Oracle tables. It's transparent, quick and clean as opposed to writing complex control files.
    You might have to set the ODBC connection to your Access database and add the details to Oracle listener.
    Please let me know if you are not sure how to set up the connection.

  • Importing/Exporting data from Microsoft Access

    Hello to everybody!
    I have to create a management software (client-server).
    CLIENT SIDE: ClientS insert data into forms and these data are stored into a database Access (client database). Every month clients send to the server some of the data stored (data of the month!).
    SERVER SIDE: "Server man" receive from clients those data by email end need to store them into the main server database.
    Note: Data to be send have not a big dimension and, naturally, clients and server databases are identical (same structure)!
    My questions are:
    1) What is the best way to export data from database access to a file? (I imagine I need to use .XML file). Do I need to use particular package or software??
    2) What is the best way to import data from a file (maybe .XML) into a database access (of server)?? Do I need to use particular package or software??
    This is my first software of this kind.
    Please HELP ME!
    Thanks in advance, Liuk.

    1) What is the best way to export data from database
    access to a file?That depends on many things.
    (I imagine I need to use .XML
    file). NO! That's not what XML is for
    Do I need to use particular package or
    software??Again, that depends on a lot of things.
    2) What is the best way to import data from a file
    (maybe .XML) into a database access (of server)?? Do
    I need to use particular package or software??Look at Java IO packages for reading data from files. Then look at JDBC for writing data to databases. Avoid XML, you don't need it.

  • Importing data from MS-Access into Oracle 9i

    I want to import data from access into oracle 9i. I already contain the same data in Oracle but these Access files contain updates and additional data to the existing data . So i need help to import in such a way that origional data remain same just addional data and updates come from MS-Access.

    Hi,
    You can achieve this by using the SQL Loader, which will help you out to load the data.
    For further reference check the below link
    http://lbd.epfl.ch/f/teaching/courses/oracle8i/server.815/a67792/ch05.htm#1261
    As you said that you have existing data in the table and you have Update's too. you have the Options like
    APPEND which you will useful to add the new records.
    - Pavan Kumar N

  • Data Migration from Microsoft Access to Oracle 9i

    Dear All
    This is my first request in your forum,My problem is that I have installed SQL developer but unable to migrate my MDB (Microsoft access file) into Oracle 9i,I have done the following activities in order to migrate data.
    open sql developer
    under migration,click quick migration
    quick migration wizard diaglog box appear,click new,
    in the oracle tab, input the following information
    input connection name 'zuhair',give user name and password (sys/s),check save password option,give role "sysdba" ,give connection type "basic",didnt check any any check box like os authorization and others,give host name 'zkhan-dfml',port '1521',sid 'dba' and then push the test button and then status show "success"
    in the access tab, input the following information
    input connection name ,input mdb file name by using browse button,after this step click test button then the following message display 'test fail odbc microsoft access driver not a valid password
    I have tried to create odbc link but i think i have done some thing wrong,kindly help
    Regards
    Zuhair

    Hi Zuhair,
    If you give details of the problems you are still having then we should be able to get SQL*Developer to work.
    However, if you don't want to use SQL*Developer then the following options are taken from note 393760.1 available in Metalink if you have access to that -
    1. Use a gateway that supports the non-Oracle database or generic connectivity if a third party ODBC driver is available to do a -
    'create Oracle_table as select from non_oracle_table@database_link'
    for each table. You would then have to manually create all the other objects (views, indexes, stored procedurs etc) and permissions etc that existed in the non-Oracle database.
    2. Use the SQL*Plus COPY command to copy data from the non-Oracle database to the
    Oracle database using a gateway or generic connectivity. The syntax is as follows:
    COPY FROM username/password@oracle_sid -
    INSERT destination_oracle_table -
    USING query;
    The following example selects all rows from the EMP table in the non-Oracle database and
    inserts them into the local Oracle EMP table:
    COPY FROM SCOTT/TIGER@ora10 -
    INSERT EMP -
    USING SELECT * FROM SCOTT.EMP@gateway;
    where "gateway" is the database link created for the gateway.
    3. Load the non-Oracle data into flat files and use SQL*Loader to put the data into Oracle tables. Again manual
    work is required for the other objects.
    4. Contact the Oracle Product Technology Services (PTS) group for assistance. See the webpage -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    5. Use a third party migration tool. See -
    http://www.oracle.com/technology/tech/migration/isv/third_party.html
    6. Use JDBC to connect to the non-Oracle database and Java in the Oracle database. This method will work but it is not suppported by the JDBC team.
    =========
    The amount of work involved will depend on the number and size of Access tables that you want to migrate.
    Regards,
    Mike

  • Send and take back data from Microsoft Access 2007

    Hi everybody,
    I wish you could help me with my application that is very urgent. I have some characters read by OCR and i want to send them to a database in Microsoft Access 2007 and compare if there is a match or not of the data i sent from labview. I want a true or false as a result of comparison in access and send this response back to labview.
    The thing is that the characters read by OCR in labview are characters from a license plate and i want to compare those in a database in Microsoft Access and this has to tell me if there is a match or not and send a response to labview to use it for letting a car enter or not to a parking lot. I dont know how to do all i have explained.
    And another question, how can i create a database in microsoft access which i could modify while i am running the application i told you before.
    Thanks a lot....
    Cristi@n
    Hola a todos,
    Espero puedan ayudarme con mi aplicación que es de suma urgencia. Tengo varios caracteres leidos de una placa vehicular mediante OCR y quisiera mandarlos a una base de datos en microsoft Access y compararlos con la base de datos de placas vehiculares para saber si esta o no en la base. Esta respuesta quisiera enviarla de nuevo al labview para mostrar si el vehiculo ingresa o no al parqueadero. Además no se si se pueda ir ingresando datos a la base de datos mientras estoy corriendo la aplicación en labview. y como hago una base de datos asi en microsoft access..
    Gracias de antemano

    Hola
    Usted puede utilizar el database connectivity toolkit
    Sigue algunos links para su consulta:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/209060
    http://digital.ni.com/public.nsf/allkb/EDA4CCE5EBE0D295862577650029D501?OpenDocument
    http://www.ni.com/pdf/manuals/371525a.pdf
    Saludos.
    Diogo
    Diogo Aparecido
    Engenheiro de Aplicação
    National Instruments Brasil

  • Problem pulling data from Microsoft Access into Excel

    Using Office 2010 pro, Windows 7:
    I'm trying to pull in data from a password protected Access Database into Excel but I am having all kinds of problems..
    In Excel im using:-
    Data Link Properties> "Provider"> MS Office 12.0 Access database Engine OLE DB Provider
    "Data Source": the full path and filename to the access database
    "Enter information to log onto your server" - "use NT integrated security" is greyed out so I select username "Admin" and password <the database password>.
    When clicking on "Test connection" I get the following error message:
    "The test connection failed because of an error in initializing provider. Cannot start your application. The workgroup information file is missing or opened exclusively by another user."
    Any help would be very much appreciated!
    With thanks, NECoder

    a similar issue:
    http://social.technet.microsoft.com/Forums/en-us/5779d18b-a41e-416e-9001-8bbc73670591/test-connection-failed-because-of-an-error-initializing-provider?forum=sqldataaccess

  • MOVING DATA FROM MICROSOFT ACCESS, EXCEL, PUBLISHER AND WORD TO AN IMAC G5

    I HAVE INHERITED AN IMAC G5 RUNNING MAC OSX. CAN I CONVERT MY MICROSOFT ACCESS, EXCEL, PUBLISHER AND WORD FILES FROM MY HP PAVILION RUNNING WINDOWS 98 SE TO RUN ON THIS IMAC?

    Please do not post in ALL CAPITAL LETTERS.
    It looks like you are SHOUTING AT EVERYONE.
    That said... you can purchase Microsoft Office for Mac and use your Word and Excel files as you normally would on any Windows PC.
    Microsoft Access and Publisher will require you to use Microsoft Windows and Microsoft Office for Windows. You'd need to install Virtual PC for Mac on your G5 to use Windows and Office for Windows.
    It'll likely be slow and painful.

  • Retrieving ESSBase data from Microsoft Access

    Hello
    Can anyone advise on how to pull data from Essbase directly into MS Access rather than via Excel?
    Thanks

    There are several ways...
    1. Report Script
    2. Date Export Calc
    I can't remember if the HAL adapter can pull from essbase and load right into access via an ODBC adapter. If so, that would be rather clean approach.
    hope this helps you get started.

  • Fastest way to load data From MS Access to Oracle DB

    Hi All,
    We get an Access DB every week which we need to load to an Oracle DB, currently we have been using SQL loader but the process is slightly painful and horribly boring, so m trying to do some automation kind of stuff. I was thinking of doing the whole thing using a java application and then schedule it to run it at some pre-decided time. The approach I took was to read the access file and then load it using PreparedStatements to the oracle DB. But going through various threads in the forum, i found that its going to b a bit too slow (and the record count in my tables is around 600,000). Can there be a better way to do this? anyone done something similar b4.

    Well the only reason I want to use Java (i may go for C#) is that i dont want to spend time manually creating those CSV files from Access. Can that be done using something else?So use java to create the CSV files.
    And have you actually tried going straight to Oracle? What exactly is your time constraint?
    And another issue is that I sometimes have to make some adjustments (rounding off) to the data which is usually through query, but that is usually done after the data has been loaded in the DB.Which would make it irrelevant to actually moving the data then. If you are cleaning the data with SQL already then it is simple to wrap that in a proc and do it that way. Presumably you are loading to temp (non-production in-lined) tables first, then cleaning and moving.

Maybe you are looking for

  • USB-6009 labview 7.1

    Hi can anybody tell me if they have had any problems running USB-6009 with Labview version 7.0? I can't get it to recongnise my device and it's behaving as if there is nothing there. Do I need version 7.1 or is there a more sinister problem afoot? Ky

  • Reading Opaque data from jms queue  and decoded  in java embedding

    Hi , Objective:Fetch text message from queue and print it from java embedding in BPEL I am fetching text message from a jms queue using JMS adapter in BPEL.Then converting the opaque data(Base64 binary)to string using java embedding.My build got succ

  • External Display Problem w/10.6.5

    Hi, all. I'm having an odd external display issue that I can't figure out how to solve. I teach a class using my MBP, and as such have to plug it into the (VGA) projector in the classroom. Up until last week or so this worked perfectly. Now, when I p

  • Why is the battery so short on the iphone 5, why is the battery so short on the iphone 5

    Why is the battery so short on the iphone 5, why is the battery so short on the iphone 5. Is there a solution coming guys? I am getting a day at best from mine is that normal?

  • Schema Design for Worklist Application - best practice?

    Hello, we are designing the Schema for a workflow application now. I'm wondering what kind of XML Schema would be best suited for the JSP generation of the Workflow Wizard. So far I've found out with some tests (please correct me if I'm wrong): - Onl