How to import date from pl/sql

I m using 9i database and form 6i windows 2003
I created a form and using this code to get the backup, resulting I get a .DMP file.
I want to import data from this DMP file through pl/slq .. how can I ?
I want that only data should be import from dmp file.
my export code :-+_
Declare
user_name varchar2(50) := Get_Application_Property(username);
pass varchar2(50) := Get_Application_Property(password);
Cstring varchar2(50) := Get_Application_Property(connect_string);
str varchar2(100);
Begin
str :='Exp userID='||user_name||'/'||pass||'@'||Cstring||' rows=y file='||:Path;
:EXP_BLK.PS:=PASS;
:EXP_BLK.UR:=USER_NAME;
:EXP_BLK.ST:=CSTRING;
     :Status := 'Backup Start.....Please Wait.......';
     Synchronize;
     Host(Str);
Bell;
bell;
     :Status := 'Backup Sucessfully Completed....';
     Synchronize;
End;

First of all this is not Forms forum, this is PL/SQL forum.
Next, your question and the content inside your post confused me. We are not getting one thing - where do you want to import date data type?
please explain.
Regards.
Satyaki De.

Similar Messages

  • How to import data from excel or csv files to Oracle table

    hello everybody,
    I am new here and new in Oracle. I would like to know the steps how to import data from excel or csv files to Oracle table.
    Let say I already have table inside the Oracle. Then my user give me the sets of data inside the Excel Worksheet.
    So, how can I import the excel data into Oracle table.
    Thank you in advance.
    cheers,
    shima

    Even easier. Download JDeveloper 11G from this site.
    Set up the database connection, right click on the table, select Import->Excel and specify your file to load it. On the import pop-up, you must view and update each tab indicating Columns, Data Types, and DML.
    Columns -- move the selected columns that you want to load to the box on the right
    Data Types -- select column name from second column to which the data for each column of the import file should load
    DML -- click this tab to generate the INSERT SQL
    Once done click 'Insert'

  • How to replicate data from MS SQL Server  to Oracle

    Hi,
    Can someone please help me on how to replicate data from MS SQL Server to Oracle 8i database.

    Dear,
    I'm a student.
    I do simple replication on Oracle 8.0.5 successfully. (one master site and one snapshot site). I only use the SQL*Plus and Schema Manager to do.
    But when I do advance replication (multimaster replication) I meet many problem. So I don't get the result.
    Do you show me the technology to do that ?
    Thanks !

  • *Urgent*How to insert data from MS SQL to the table that create at the adobe form?

    Hi,
    I'm using Adobe life cycle designer 8 to do my interactive form. I would like to ask how to insert data from MS SQL to the table that i have created in my adobe interactive form?
    I really need the information ASAP as i need to hand in my project by next week... i really appreciate any one who reply this post.
    Thanks

    Tou need to do a couple of things
    1. On the Essbase server, set up an odbc system connection to your MySQL database
    2. In the load rule , go to the file menu and select open SQL data source and in the data source put in your SQL statement . A couple of hints. Where it says Select, don't put in the word select and where it say from don't put in from. The system adds them for you. The easiest way ti enter a SQL statement is to do it all in the select area So if your SQL would normanlly say select * from mytable just enter the code as * from mytable in the select area
    The click ol/retrieve and enter in your connection info. Itshould bring data back into the load rule. Save the load rule and use it

  • How to import data from CSV to TCode COR6N

    Hi friends,
    Please help me. I don't know how to import data from CSV file to TCode COR6N. (time ticket for production order)
    I used function: BAPI_PRODORDCONF_CREATE_TT to fill information into TCode COR6n, but it thrown error: "Orders of the order type ZP01 cannot be confirmed". ZP01 is my Order Type.
    Thanks in advance.
    Nguyen Phuoc Toan.

    You can use the LSMW tool to do this.
    The details of LSMW BAPI method is as follows :-
    Business Object:- BUS2116
    Method:-CREATEPREDEFTIMETICKETMULTIPLE
    Message Type:- PPCC2PRETTICKET
    Basic Type:- PPCC2PRETTICKET01
    Regards
    Dhirendra

  • How to import data from CSV to TCode COR1?

    Hi SAP PP guru,
    How to import data from CSV file to TCode COR1?
    Thanks in advance,
    Nguyen Phuoc Toan.

    Nguyen,
    You have not yet confirmed what your requirement is?
    You can take the help of ABAP person to understand what BDC or LSMW is about, basically this is a tool provided by SAP that would enable you to record a transaction process and you can use the code to perform the transaction in mass. [Help on LSMW|http://help.sap.com/erp2005_ehp_04/helpdata/EN/ad/2d54a41d7011d2b42e006094b944c8/content.htm]
    Regards,
    Prasobh

  • How to import data from CSV file with columns separated by semicolon?

    I migrate database from MS SQL 2008 to ORACLE 11g
    I export data to CSV file from MS SQL
    then I try to import it to Oracle
    several tables goes fine using Import data option in the SQL Developer
    Standard CSV files with data separated by comma were imported.
    chars, date (with format string), and integer data are imported via import wizard without problems
    the problems were when I try to import table with noninteger numbers with modal part separated by comma not by dot
    comma is the standard separator for columns in CSV file
    so I must change the standard separator to semicolon
    then the import wizard have problem to correct recognize the columns data because it use only standard CSV comma separator :-/
    In SQL Developer 1.5.3 Tools -> Preferences -> Migration -> Data Move Options
    I change "End of Column Delimiter" to ; but it doens't work
    Is this possible to change the standard column separator for import data wizzard in SQL Developer 1.5.3?
    Or maybe someone know how to import data in SQL Developer 1.5.3 from CSV when CSV colunn separator is set to semicolon?

    A new preference has been added to customize the import delimiter in main code line. This should be available as part of future release.

  • How to import data from a text file into a table

    Hello,
    I need help with importing data from a .csv file with comma delimiter into a table.
    I've been struggling to figure out how to use the "Import from Files" wizard in Oracle 10g web-base Enterprise Manager.
    I have not been able to find a simple instruction on how to use the Wizard.
    I have looked at the Oracle Database Utilities - Overview of Oracle Data Pump and the Help on the "Import: Files" page.
    Neither one gave me enough instruction to be able to do the import successfully.
    Using the "Import from file" wizard, I created a Directory Object using the Create Directory Object button. I Copied the file from which i needed to import the data into the Operating System Directory i had defined in the Create Directory Object page. I chose "Entire files" for the Import type.
    Step 1 of 4 is the "Import:Re-Mapping" page, I have no idea what i need to do on this page. All i know i am not tying to import data that was in one schema into a different schema and I am not importing data that was in one tablespace into a different tablespace and i am not R-Mapping datafiles either. I am importing data from a csv file.
    For step 2 of 4, "Import:Options" page, I selected the same directory object i had created.
    For step 3 of 4, I entered a job name and a description and selected Start Immediately option.
    What i noticed going through the wizard, the wizard never asked into which table do i want to import the data.
    I submitted the job and I got ORA-31619 invalid dump file error.
    I was sure that the wizard was going to fail when it never asked me into which table do i want to import the data.
    I tried to use the "imp" utility in command-line window.
    After I entered (imp), i was prompted for the username and the password and then the buffer size as soon as i entered the min buffer size I got the following error and the import was terminated:
    C:\>imp
    Import: Release 10.1.0.2.0 - Production on Fri Jul 9 12:56:11 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username: user1
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Import file: EXPDAT.DMP > c:\securParms\securParms.csv
    Enter insert buffer size (minimum is 8192) 30720> 8192
    IMP-00037: Character set marker unknown
    IMP-00000: Import terminated unsuccessfully
    Please show me the easiest way to import a text file into a table. How complex could it be to do a simple import into a table using a text file?
    We are testing our application against both an Oracle database and a MSSQLServer 2000 database.
    I was able to import the data into a table in MSSQLServer database and I can say that anybody with no experience could easily do an export/import in MSSQLServer 2000.
    I appreciate if someone could show me how to the import from a file into a table!
    Thanks,
    Mitra

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • How to import data from all excel worksheet ?

    hi
    I want to import data from excel worksheet. There is a fm ALSM_EXCEL_TO_INTERNAL_TABLE but it read data only from "actual" sheet. How can I   
    read data from all exel spread sheets ?
    krzys

    Hi,
    check this code, this is gathered from one of the thread.
    report zole123.
    INCLUDE ole2incl.
    DATA:  count TYPE i,
           application TYPE ole2_object,
           workbook TYPE ole2_object,
           excel     TYPE ole2_object,
           sheet TYPE ole2_object,
           cells TYPE ole2_object.
    CONSTANTS: row_max TYPE i VALUE 256.
    DATA index TYPE i.
    DATA: BEGIN OF itab1 OCCURS 0, first_name(10), END OF itab1.
    DATA: BEGIN OF itab2 OCCURS 0, last_name(10), END OF itab2.
    DATA: BEGIN OF itab3 OCCURS 0, place(50), END OF itab3.
    *START-OF-SELECTION
    START-OF-SELECTION.
      APPEND: 'name1' TO itab1, 'surname1' TO itab2,
                                  'worli' TO itab3,
                'nam2' TO itab1, 'surname2' TO itab2,
                                  'chowpatty' TO itab3,
               'name3' TO itab1, 'surname3' TO itab2,
                                  'versova' TO itab3,
                'name4' TO itab1, 'surname4' TO itab2,
                                  'grant road' TO itab3,
                'name5' TO itab1, 'surname5' TO itab2,
                                  'gaon' TO itab3,
                'name6' TO itab1, 'surname6' TO itab2,
                                  'mahim' TO itab3.
    CREATE OBJECT application 'excel.application'.
    SET PROPERTY OF application 'visible' = 1.
    CALL METHOD OF application 'Workbooks' = workbook.
    CALL METHOD OF workbook 'Add'.
      CREATE OBJECT excel 'EXCEL.APPLICATION'.
      IF sy-subrc NE 0.
        WRITE: / 'No EXCEL creation possible'.
        STOP.
      ENDIF.
      SET PROPERTY OF excel 'DisplayAlerts' = 0.
      CALL METHOD OF excel 'WORKBOOKS' = workbook .
      SET PROPERTY OF excel 'VISIBLE' = 1.
    Create worksheet
      SET PROPERTY OF excel 'SheetsInNewWorkbook' = 1.
      CALL METHOD OF workbook 'ADD'.
    DO 3 TIMES.
        IF sy-index GT 1.
          CALL METHOD OF excel 'WORKSHEETS' = sheet.
          CALL METHOD OF sheet 'ADD'.
          FREE OBJECT sheet.
        ENDIF.
      ENDDO.
      count = 1.
      DO 3 TIMES.
        CALL METHOD OF excel 'WORKSHEETS' = sheet
          EXPORTING
            #1 = count.
       perform get_sheet_name using scnt sname.
        CASE count.
          WHEN '1'.
            SET PROPERTY OF sheet 'NAME' = 'firstName'.
            CALL METHOD OF sheet 'ACTIVATE'.
            " add header here
            LOOP AT itab1.
              index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name " for headings change the - 1 to + 1 to accomodate 2 extra lines
              CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
              SET PROPERTY OF cells 'Formula' = itab1-first_name.
              SET PROPERTY OF cells 'Value' = itab1-first_name.
            ENDLOOP.
          WHEN '2'.
            SET PROPERTY OF sheet 'NAME' = 'LastName'.
            CALL METHOD OF sheet 'ACTIVATE'.
    " add header here
            LOOP AT itab2.
              index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name " for headings change the - 1 to + 1 to accomodate 2 extra lines
              CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
              SET PROPERTY OF cells 'Formula' = itab2-last_name.
              SET PROPERTY OF cells 'Value' = itab2-last_name.
            ENDLOOP.
          WHEN '3'.
            SET PROPERTY OF sheet 'NAME' = 'place'.
            CALL METHOD OF sheet 'ACTIVATE'.
    " add header here
            LOOP AT itab3.
              index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name " for headings change the - 1 to + 1 to accomodate 2 extra lines
              CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
              SET PROPERTY OF cells 'Formula' = itab3-place.
              SET PROPERTY OF cells 'Value' = itab3-place.
            ENDLOOP.
        ENDCASE.
        count = count + 1.
      ENDDO.
    Save excel speadsheet to particular filename
      GET PROPERTY OF excel 'ActiveSheet' = sheet.
      CALL METHOD OF sheet 'SaveAs'
                       EXPORTING #1 = 'c:\temp\exceldoc1.xls'     "filename
                                 #2 = 1.                          "fileFormat
    Note: to make headings, change the -1 to +1 where specified in the above code and add the following where i have mentioned to add it
    index = row_max * ( sy-tabix - 1 ) + 1.
    CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
    SET PROPERTY OF cells 'value' = header1.
    Reward for helpful answers
    Thanks
    Naveen khan

  • HT1296 How to IMPORT data from iphone to pc without icloud or itunes?

    I don't understand how many article I have read and every one is talking about "how to EXPORT data from iDevice to pc but no article is available about "how to IMPORT data (Music, Videos or office files) to iDevice without using icloud or itunes?" can somebody have the answer???

    Well I wonder why that is?  Very simple answer, because YOU CAN'T!

  • How BW get data from MS SQL server DB?

    I got infomation about this from help.com, http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm.
    this web told me, when BW application server must be Win NT.BW can get data from MS SQL server DB.
    but our BW application server was AIX.
    Did you know other solution to this?

    Hi,
    you need to use the DBConnect or in BI7.0 the UDConnect features.
    regards
    Siggi
    See also: http://help.sap.com/saphelp_nw70/helpdata/EN/a1/89786c3df35c4ea930a994e884bb4c/frameset.htm
    or
    http://help.sap.com/saphelp_nw70/helpdata/EN/44/bcdce1dcaf56a3e10000000a1553f6/frameset.htm
    Edited by: Siegfried Szameitat on Aug 13, 2008 9:16 AM

  • How to import data from a text file through DTS to Sql Server

    Please don't mistake me as i'm a new comer to sql server,please help me.
    how to import the data present in a plain text file through DTS into sql server and store the data in a temporary table.
    How far the temporary table is stored in the database.
    Please reply me as soon as possible.
    Thank you viewers.

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • How to import data from SQL server to Oracle?

    Dear Sir/Madam,
    I want to move database data from SQL Server to Oracle, but don't how to do it, will you please help me do it?

    Oracle Migration Workbench is your best bet:
    http://www.oracle.com/technology/tech/migration/workbench/index.html
    Cheers, OTN

  • How to import data from MS Access before distribution of a form

    I have created a form with Acrobat Pro 9. On the other hand, I have a MS Access database with a lot of information.
    I would love to import the data from this database to my form, BEFORE distributing the form the the respondents (they only need to check whether the information we already obtained was correct, so that's why the form needs to contain the already obtained information).
    Can anyone help me with this task?

    Dear Morgan,
    Thanks for your reply.
    The data in sql server 2000 which has data in Arabic_CI_AS character set is moved to Oracle 10.2.0.3 database with characterset AL32UTF8. The table data is moved to oracle using the dataloader 3.6 standard edition licensed version.
    We cannot change the character set of Sql Server 2000. We have tried changing the data/characterset in Oracle to set the NLS_LANG at OS level to UTF_8 and tried the whole cycle of customer import, but still the customer name is displayed as square box at application level.
    How do I post this thread to Globalization Forum? Do I have to create new thread for this again?
    (Note: I am new to these OTN Forums).
    Thanks,
    Shanil

  • How to Import data from Excel to VC

    Can anyone please give me a step by step solution as to how do i import any data from an MS Excel file to Visual Composer.

    Hi Sathish
    I download Excel_JDBC30.jar from the link you gave. Than i created a JDBC driver named "Excel_JDBC30" in visual Administrator and added the jar file to it.Than i created a new connector "Excel_jdbc" and added "library:Excel_JDBC30" to it.
    Than in the portal i created a BI_JDBC system with the following connection properties:
    URL:     jdbc:excel://punitp54700d:3099/C:/EP_Installables/test
    Driver:   com.hxtt.sql.excel.ExcelDriver
    punitp54700d is the server name and "test" is a .xls file
    In the ConnectionFactoryClass: Excel_jdbc.
    after this a created a system alias and did the user mapping.
    but while checking the connection tests it fails.
    So can you guide me what i have done is valid or not.
    Thanks in advance.
    Regards
    Paresh

Maybe you are looking for

  • Credit note

    Dear All, When the customer returns goods,the basis for calculating the price in returns should be on  the billing date of the main invoice.like if customer returns goods  in the same month the price should be as in billing document (say 40,000)  if 

  • Impact of different division on Stock Transport Order

    We have a situation where we have one plant with one customer number, but we have 2 business areas of material going through it.  Example:  The material exists in divison 10 business area 15.  The customer is configured to business area 15. No proble

  • My HP Computer with Windows 8.1 won't Boot

    Yesterday it was working perfectly fine. When I attempted to turn it on this morning, it went straight to Preparing Automatic Repair. After it was finished preparing it went to "Diagnosing your PC". I let it happen. After Diagnosing my PC it sent me

  • Downcasting ViewObject

    Hello! I'm working in a Stuts DataAction, and I'm trying to grab a ViewObject from my ApplicationModule using the findViewObject() method. I need to downcast it to my own specific type to expose a custom method. However, I get a ClassCastException wh

  • Java VM Version & Date for JDev 3.0

    Hi, I skimmed through the document: "JDeveloper 3.0 Oracle Business Components for Java Technical White Paper" and could not find out which version of the VM 3.0 is going to support. 2 questions: - 1: Which version of the JVM? - 2: General availabili