Export and Import data in APEX

I would like to know how to export the data from a table (6000 rows) and then I would like to import the data to another table. So I need to know how to do that process.. it's like to take a picture of the data in the old table and put them into the new table which it has new data.... so I can't just copy and paste...
Thanks for your help... regards

Dates do not have formats in the database(they are NOT saved as strings in the DB), but when you display them as string or export them then it has a format(coz its just a bunch of characters).
The problem that you are facing is that the _date string in the csv file could not be converted by the database automatically into a date with its current date format settings(of the session).
You need to set the date format of the session before you do the csv file import to the date format of the any date column strings in the file OR better match it with the date format of the client with which you exported the data.
Set the same Date format before exporting as well as before importing.
If its SQL Developer, you should be able to set it in Preferences(think its shown in that demo video)
Do the same before importing too.
Make sure that the datafile date column strings match the format of the importing session.
If you want to pro grammatically set the date format use something like
ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YY HH24.MI.SS';By the way, I think you should have asked this question in the SQL PLSQL forum, since it isn't particularly related to the Apex.
Pls update your forum handle to something more friendlier than "user13344939"

Similar Messages

  • Best way to export and import data from an iPhone app?

    How do people here prefer to export and import data from an iPhone app?
    For example, suppose your app creates or modifies a plist. It might be nice to provide that plist to the user for separate backup and later allow them to re-import it.
    How do people do that? Email the plist to an address? If so, how would one later get it back in?
    Is there a common way people do this kind of thing?
    Thanks,
    doug

    Or maybe the best approach for this is some sort of file synchronization feature? Is there a way of having files from the app's filesystem automatically get stored on the computer's filesystem when synchronizing and vice-versa?
    doug

  • Language Problem while exporting and importing data

    hi,
    I have Oracle version 8.1.7.0.0 installed on one server and 9.2.0.1.0 installed on new server.
    I'm copying and pasting my version info from SQL*Plus:
    SQL*Plus: Release 8.1.7.0.0 - Production on Mon Aug 22 10:46:31 2005
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    SQL>
    SQL*Plus: Release 9.2.0.1.0 - Production on Mon Aug 22 12:30:06 2005
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL>
    I created new user on my new server from enterprise manager.
    Exported user from the old server and imported in the new server.
    i.e: from Oracle8i Enterprise Edition Release 8.1.7.0.0, I did
    c:\>exp system/manager file=abc.dmp owner=abc
    Then on the new server Release 9.2.0.1.0, I did
    c:\>imp system/manager file=abc.dmp fromuser=abc touser=abc
    I'm using Arabic Language on my both servers. NLS_LANG parameter on both the servers is AMERICAN_AMERICA.WE8MSWIN1252.
    On both the servers I'm able to insert and select data in arabic.
    However, after I export the data from old server to the new server, the arabic data comes in question marks.
    If I create new table and insert arabic data on new server's user abc it is displaying well. Only the data which I exported and imported is not showing arabic.
    On both old and new servers operating system is Windows XP.
    I'm stuck with this problem. Anybody having any idea about how to solve this problem please help.
    Thank you all in advance.
    Regards

    Let me be clear here. Storing Arabic data in a WE8MSWIN1252 database is not supported by Oracle and will lead to problems. You are incorrectly using the NLS_LANG to prevent proper conversion and your data appears to be okay when you use utilties like SQL*PLUS to view your data. When you write applications that don't rely on the NLS_LANG like JDBC thin driver for instance you will realize your data is in fact invalid. To learn more about the NLS_LANG you can take a look at this FAQ: http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    To migrate your database to a proper character set you can refer to this paper:
    http://www.oracle.com/technology/tech/globalization/pdf/mwp.pdf
    But please do not ask for help in supporting your current configuration in this forum.

  • Guide me for exporting and importing data from oracle 10g to oracle 9i

    I have been trying export and import options in oracle but m not very clear about the procedure..
    Also when i am logging in as Scott/tiger i am facing an error
    ORA 1542 - tablespace 'USER' is offline and cannot allocate space in it.how to resolve it

    Hello,
    I see two questions.
    ORA 1542 - tablespace 'USER' is offline and cannot allocate space in it.how to resolve it About the error ORA-01542 you have to bring the Tablespace USERS online:
    http://www.error-code.org.uk/view.asp?e=ORACLE-ORA-01542
    If you cannot bring it online you may have to Recover it first.
    I have been trying export and import options in oracle but m not very clear about the procedure..About the Export in 10g and Import in 9i (9.2 or 9.0.1 ?), you have to export with the Export utility of the Target Database (the lowest Database version here: 9.0.1 or 9.2) then, you have to Import to the Target Database using its Import utility (in 9.0.1 or 9.2).
    The following Note of MOS may guide you:
    Compatibility Matrix for Export And Import Between Different Oracle Versions [Video] [ID 132904.1]
    NB: You cannot use here the DATAPUMP.
    Hope this help.
    Best regards,
    Jean-Valentin

  • How Schema can be exported and imported in Oracle Apex?

    Hi,
    I am very new to oracle apex. I had installed Oracle XE database and apex successfully. I want to import an application to my apex. The application was created using workspace -Ver and Schema- Ves. I had imported the application and workspace into my apex. But, I am not able to run the application because, I had specified my default schema(HR) for the application. How can I import the schema 'Ves' ,in which the application is developed, into my apex?..so that I can run the application in the same schema..Please Help. Thanks

    hari wrote:
    Hi,
    I am very new to oracle apex. I had installed Oracle XE database and apex successfully. I want to import an application to my apex. The application was created using workspace -Ver and Schema- Ves. I had imported the application and workspace into my apex. But, I am not able to run the application because, I had specified my default schema(HR) for the application. How can I import the schema 'Ves' ,in which the application is developed, into my apex?..so that I can run the application in the same schema..Please Help. ThanksI am concerned that perhaps you and Jeffrey are working at cross purposes here. If you wouldn't mind confirming a few things first:
    1. You make references to "import[ing] the application and workspace into +my+ apex - how many instances of oracle/apex do you have?
    2. You say that you "specified [your] default schema (HR) for the application." I am assuming that you are referring to the "parsing schema"? If so, you can change this you know - it isn't 'set in stone' at the time you install.
    3. With the above in mind, does the schema "Ves" exist at all in the 'target' Oracle instance /apex installation? If so, it may not be necessary to re-create it.
    If you really do require to export/import the "Ves" schema, bear in mind that the DDL script will only create the schema objects - it won't load the data with it; you'll need to do that separately (or at least, code that element yourself into the script, if it's on the same DB instance). This might not be a problem for you but if your app relies on metadata from look-up tables and the like, it may not behave the way you expect, or even run at all...

  • Exporting and importing data from memory

    Hi Gurus,
    Written 2 programs.
    1st program executes and submits 2nd program in background.
    Now the output in internal table which we get in 2nd program has to be displayed in 1st program.
    My taught is to use Set ID and GET ID to retrieve the data.
    How can we achive this?

    Hi,
    You can pass the internal table by using
    export to memory id
    and import that internal table in the called program.
    Use SUBMIT ....AND RETURN.

  • Export and import data to an external accounting software

    I have to make a link between SAGE accounting and B1 for a frnch customer.
    I want to export sales and prurchase invoices to SAGE
    and import customer and supplier payments.
    I would like to know what would be the consequence in B1.
    Ould it be "transparent" for the users ?
    For example do I have to make the Year End Closing ?
    Is there other things that I have to do except make the setiings as if I use the B1 accounting
    Thanks for your help
    Christophe FLAMENT

    Hi,
    What happens if we don't use accounting functionalities ?
    Every sales, purchase and inventory transactions that are executed in Business One automatically generate an accounting document. So, there is will be no impact as such on the system.
    Is there any probleme acting like this ? And what kind of problem ?
    In the very first place, i would never suggest using of any other ERP when SAP B1 is implemented. As SAP B1 itself is very robost and can handle almost all the requirements of SMB.
    Also, I am really not sure about the functionality of SAGE accounting software.
    In general, we dont suggest any customer using multiple systems, as it not only causes dulipcation of work, sometime it may also result in not recording of some of the data. As a result there is every chance that neither systems will have complete set of information.
    Do we have to do something in the accounting ?
    Depends on what kind of transactions you want process thru B1.
    In case if you're processing Sales, Purchase and inventory related transaction, you have to process payments and receipts related to the same. also, ensure proper monthly (if necessary) & yearly closing.
    Assign points if useful
    Thanks,
    Srikanth

  • Exporting and Importing Data of Application Log

    Hello,
    We do migrate an application from SAP System A to SAP System B.
    Despite the application logic, we do need to migrate some data, too.
    For this we do write an export report in System A that writes the data of some tables to  files on the app server..
    Another report in system B takes the files and fills the respecting tables.
    So far so good:
    One table (which reports certain actions)  contains the handle to the application log, which was created for this action.
    I do want to extract this application log and later import this log in the other system, but do not know how this can be done in the best way.
    Do you have any suggestion ?
    Best regards
    Michael

    In my experience, it's an unrealistic expectation.
    SAP doesn't provide a straight path to migrate logs the way you plan to do. It's kept in a combination of tables and index files on the system. So even if you were to successfully extract it, when you load the data into system B you will lose the date and time stamp. When you create a log entry, it picks up system date and time. That's what an auditor would look for.
    An alternate solution would be to read the application log and store it in a new custom table in system B.
    Any reporting should be done off that as of a specific date.

  • Export and Import data or Matadata only

    Aloha,
    I need to update an instance, update data only with a full dump. What parameter should i use on import. How can i drop the schema without touching the metadata and database objects?
    Thanks in advance.
    Hades

    TheHades0210 wrote:
    Hi,
    Yes, i will import a full dump export but data only that i need to import and existing db_objects and metadata on the instance should not be touch.
    Regards,
    Hadeseasy as pie
    [oracle@localhost ~]$ impdp help=yes
    Import: Release 11.2.0.2.0 - Production on Mon Feb 4 19:57:10 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    The Data Pump Import utility provides a mechanism for transferring data objects
    between Oracle databases. The utility is invoked with the following command:
         Example: impdp scott/tiger DIRECTORY=dmpdir DUMPFILE=scott.dmp
    You can control how Import runs by entering the 'impdp' command followed
    by various parameters. To specify parameters, you use keywords:
         Format:  impdp KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
         Example: impdp scott/tiger DIRECTORY=dmpdir DUMPFILE=scott.dmp
    USERID must be the first parameter on the command line.
    The available keywords and their descriptions follow. Default values are listed within square brackets.
    ATTACH
    Attach to an existing job.
    For example, ATTACH=job_name.
    CLUSTER
    Utilize cluster resources and distribute workers across the Oracle RAC.
    Valid keyword values are: [Y] and N.
    CONTENT
    Specifies data to load.
    Valid keywords are: [ALL], DATA_ONLY and METADATA_ONLY.
    DATA_OPTIONS
    Data layer option flags.
    Valid keywords are: SKIP_CONSTRAINT_ERRORS.
    DIRECTORY
    Directory object to be used for dump, log and SQL files.
    DUMPFILE
    List of dump files to import from [expdat.dmp].
    For example, DUMPFILE=scott1.dmp, scott2.dmp, dmpdir:scott3.dmp.
    ENCRYPTION_PASSWORD
    Password key for accessing encrypted data within a dump file.
    Not valid for network import jobs.
    ESTIMATE
    Calculate job estimates.
    Valid keywords are: [BLOCKS] and STATISTICS.
    EXCLUDE
    Exclude specific object types.
    For example, EXCLUDE=SCHEMA:"='HR'".
    FLASHBACK_SCN
    SCN used to reset session snapshot.
    FLASHBACK_TIME
    Time used to find the closest corresponding SCN value.
    FULL
    Import everything from source [Y].
    HELP
    Display help messages [N].
    INCLUDE
    Include specific object types.
    For example, INCLUDE=TABLE_DATA.
    JOB_NAME
    Name of import job to create.
    LOGFILE
    Log file name [import.log].
    NETWORK_LINK
    Name of remote database link to the source system.
    NOLOGFILE
    Do not write log file [N].
    PARALLEL
    Change the number of active workers for current job.
    PARFILE
    Specify parameter file.
    PARTITION_OPTIONS
    Specify how partitions should be transformed.
    Valid keywords are: DEPARTITION, MERGE and [NONE].
    QUERY
    Predicate clause used to import a subset of a table.
    For example, QUERY=employees:"WHERE department_id > 10".
    REMAP_DATA
    Specify a data conversion function.
    For example, REMAP_DATA=EMP.EMPNO:REMAPPKG.EMPNO.
    REMAP_DATAFILE
    Redefine data file references in all DDL statements.
    REMAP_SCHEMA
    Objects from one schema are loaded into another schema.
    REMAP_TABLE
    Table names are remapped to another table.
    For example, REMAP_TABLE=HR.EMPLOYEES:EMPS.
    REMAP_TABLESPACE
    Tablespace objects are remapped to another tablespace.
    REUSE_DATAFILES
    Tablespace will be initialized if it already exists [N].
    SCHEMAS
    List of schemas to import.
    SERVICE_NAME
    Name of an active Service and associated resource group to constrain Oracle RAC resources.
    SKIP_UNUSABLE_INDEXES
    Skip indexes that were set to the Index Unusable state.
    SOURCE_EDITION
    Edition to be used for extracting metadata.
    SQLFILE
    Write all the SQL DDL to a specified file.
    STATUS
    Frequency (secs) job status is to be monitored where
    the default [0] will show new status when available.
    STREAMS_CONFIGURATION
    Enable the loading of Streams metadata
    TABLE_EXISTS_ACTION
    Action to take if imported object already exists.
    Valid keywords are: APPEND, REPLACE, [SKIP] and TRUNCATE.
    TABLES
    Identifies a list of tables to import.
    For example, TABLES=HR.EMPLOYEES,SH.SALES:SALES_1995.
    TABLESPACES
    Identifies a list of tablespaces to import.
    TARGET_EDITION
    Edition to be used for loading metadata.
    TRANSFORM
    Metadata transform to apply to applicable objects.
    Valid keywords are: OID, PCTSPACE, SEGMENT_ATTRIBUTES and STORAGE.
    TRANSPORTABLE
    Options for choosing transportable data movement.
    Valid keywords are: ALWAYS and [NEVER].
    Only valid in NETWORK_LINK mode import operations.
    TRANSPORT_DATAFILES
    List of data files to be imported by transportable mode.
    TRANSPORT_FULL_CHECK
    Verify storage segments of all tables [N].
    TRANSPORT_TABLESPACES
    List of tablespaces from which metadata will be loaded.
    Only valid in NETWORK_LINK mode import operations.
    VERSION
    Version of objects to import.
    Valid keywords are: [COMPATIBLE], LATEST or any valid database version.
    Only valid for NETWORK_LINK and SQLFILE.
    The following commands are valid while in interactive mode.
    Note: abbreviations are allowed.
    CONTINUE_CLIENT
    Return to logging mode. Job will be restarted if idle.
    EXIT_CLIENT
    Quit client session and leave job running.
    HELP
    Summarize interactive commands.
    KILL_JOB
    Detach and delete job.
    PARALLEL
    Change the number of active workers for current job.
    START_JOB
    Start or resume current job.
    Valid keywords are: SKIP_CURRENT.
    STATUS
    Frequency (secs) job status is to be monitored where
    the default [0] will show new status when available.
    STOP_JOB
    Orderly shutdown of job execution and exits the client.
    Valid keywords are: IMMEDIATE.

  • Export and import data

    hi all,
    i have a req't tht i need to update the data frm one prog periodically ,..som where,
    when data req i run anothr prog and get tht data frm memory and display it.
    how can i do this.
    two prog's run in diffrnt times.
    1st prog
    EXPORT itab to memory ID 'XX' .
    2nd prog
    ans IMPORT itab from MEMORY ID 'XX'
    these are useful whn both prog's run same time , i.e 2nd prog calld frm 1st one.
    but i wnt 2nd prog run separatly.
    how can i do this..   any other alternatives
    Thanks in Advance
    Regards,
    Chandu

    thank's for u'r replay .
    i have huge amnt of data ..
    is thr any other way thn applicationaserer write and thn read...???
    i think it's possible through SHARED Memory concept.. using this we can use globle memory
    but i don't know how to do tht...
    any help..........
    if any one knew tht plz help me ..
    Regards,
    Chandu

  • Exporting and importing data

    I have two tables, one is a recreation (and rename) of the other. What is best/easiest way to transfer the data over to the new table? I am thinking 'insert into <new table> ( select * from <old table> [ where clause] )
    Do I need to build a loop?

    It always depends of your data but maybe this sollutions will comes handy for you:
    First solution:
    To insert rows use:
    [email protected]> insert /*+ APPEND */ into t10 select * from hr.employees nologging
    2 /
    107 rows created.
    Elapsed: 00:00:00.01
    When you need to populate table with new data:
    truncate table t10;
    Then insert all rows once more:
    [email protected]> insert /*+ APPEND */ into t10 select * from hr.employees nologging
    2 /
    Second solution:
    Elapsed: 00:00:00.03
    [email protected]> insert into t10 select * from hr.employees where rownum < 50
    2 /
    49 rows created.
    Elapsed: 00:00:00.01
    [email protected]> insert into t10 select * from hr.employees where employee_id not in (select employee_id from t10)
    2 /
    58 rows created.
    There just two very simple one, for sure not optimal, but you did not specify to much details.
    I hope this will help you somehow
    Best Regards
    Krystian Zieja / mob

  • How to create the Export Data and Import Data using flat file interface

    Hi,
    Request to let me know based on the requirement below on how to export and import data using flat file interface.....
    Please provide the steps involved for the same.......
    BW/BI - Recovery Process for SNP data. 
    For each SNP InfoProvider,
    create:
    1) Export Data:
    1.a)  Create an export data source, InfoPackage, comm structure, etc. necessary to create an ASCII fixed length flat file on the XI
    ctnhsappdata\iface\SCPI063\Out folder for each SNP InfoProvider. 
    1.b)  All fields in each InfoProvider should be exported and included in the flat file. 
    1.c)  A process chain should be created for each InfoProvider with a start event. 
    1.d)  If the file exists on the target drive it should be overwritten. 
    1.e)  The exported data file name should include the InfoProvider technical name.
    1.f)  Include APO Planning Version, Date of Planning Run, APO Location, Calendar Year/Month, Material and BW Plant as selection criteria.
    2) Import Data:
    2.a) Create a flat file source system InfoPackage, comm structure, etc. necessary to import ASCII fixed length flat files from the XI
    ctnhsappdata\iface\SCPI063\Out folder for each SNP InfoProvider.
    2.b)  All fields for each InfoProvider should be mapped and imported from the flat file.
    2.c)  A process chain should be created for each InfoProvider with a start event. 
    2.d)  The file should be archived in the
    ctnhsappdata\iface\SCPI063\Archive directory.  Each file name should have the date appended in YYYYMMDD format.  Each file should be deleted from the \Out directory after it is archived. 
    Thanks in advance.
    Tyson

    Here's some info on working with plists:
    http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/Introduc tion/chapter1_section1.html
    They can be edited with any text editor. Xcode provides a graphical editor for them - make sure to use the .plist extension so Xcode will recognize it.

  • Export and Import of repositories

    Hello all,
    I was trying to import a repository and reports created on a different BI server.Can anyone help me with the proper steps to do so?
    When I try to do the same and open up one of the imported report...it asks me for a dsn name and a driver....It is very well understood that the dsn name and the driver is missing coz the db's in the physical layer are in the oracle db...
    But how do I connect when I don't have the table in my oracle db???
    Plz help and let me know if its possible....
    Any suggestions would be considered helpful...
    Thanks
    Susane

    Dear Pushpesh,
    Please, try this
    How Schema can be exported and imported in Oracle Apex?
    If this question is answered, please mark the thread as closed and assign points where earned..
    Best Regards
    Mahmoud

  • Export and Import of Access DB tables in Apex

    Hi,
    i need help.
    I wanna export an MSACCESS DB Table into an ORACLE DB 10g2.
    but every time i get an error course my ODBC driver which isnt compatible to my tns service name.
    what could i do?
    i only want to export a table..not the whole database.
    if i want to export and import a Table over a XE Version, there are no errors and i could see the table in APEX.
    ...thx for help :)

    Hi Timo,
    If you open your table in Access, and click the "select all" (the empty grey box at the left of the header row), you can copy the entire table and paste it into Apex as though you were copying from Excel - the structure of the copied data is the same. The only thing is that you will be limited to 32,000 characters.
    Obviously, though, getting hold of, and setting up, the correct ODBC drivers is the more proper solution but the above may solve your immediate problem.
    Regards
    Andy

  • Export and Import of Configuration Data

    Hi All,
    I have created a number of custom properties, structures, groups, renderers, layout sets etc and would like to move them from Dev to Test system.
    I have found the following in the help doco:
    "Export and Import of Configuration Data"
    http://help.sap.com/saphelp_nw04/helpdata/en/e1/029c414c79b25fe10000000a1550b0/content.htm
    However I am unable to see its functionality in our portal systems (namely the Actions->Export and Actions->Import functions).
    Our version of Portal is: 6.0.9.6.0
    KM: 6.0.9.3.0 (NW04 SPS09 Patch3)
    Therefore we should be able to see it? no?
    Are there any special settings to see these buttons?
    Cheers,
    Vic

    Thanks for your replies.
    OK, so in otherwords, it is not available in SP09 and only in SP12+.
    So, to "transport" this information I will have to manually reapply thes settings in the Test system!
    Message was edited by: Victor Yeoh

Maybe you are looking for

  • Can't update my IPod Touch because I have to enter in a passcode but it wont let me on my Ipod

    Okay so I turn on my IPod Touch today and their is a message saying I need to plug it into ITunes. I plug it in but ITunes says that I need to enter in a passcode to my IPod because it is locked. I can't do this because the screen is still up on my I

  • Error message Translational currency is too high when posting GR for a PO

    Hi, I am trying to post a GR for a PO,with document currency say in GBP and local currency in EUR,when i tried to post a GR the system gives the message with-"Translational currency is too high" and also the value updated for previous GRs(for a qty 1

  • Video from Encore has ghosting of images & skips, but not in files on computer

    I am having an issue with Encore that I have no idea how to fix. I am capturing footage from a Sony HDR-FX1 and capturing it with Premiere Pro. The footage is 1440X1080 coming from MiniDV tapes. I am shooting high school football games, so there is a

  • IDoc error on outbound side

    Hi. I'm setting up a communication with (JMS adapter -> XI -> IDoc adapter). No w to the problem. When we send the message with the IDoc adapter we get the following error. Message has error status on outbd. side We can see this message when I put my

  • Issue while updating

    I have a table which has a column containing text with multiple lines.while i am trying to update that column i am facing the issue "Dear User, Enclosed is the attachment. Please direct problems at 209876534 or [email protected] Regards, Developement