Export from Table

Hello
I just moved the spool to the file and then selected the rows. But this is very slow and the rows r not the way i would like to have them. Is there any function in PL/Sql to export a table to a file? Any examples available?
Markus

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Bogdan Dincescu ([email protected]):
There's the utl_file package on the server-side.
Then, in forms, you may use the text_io package that works like utl_file, except it is on the client-side.
Still, sqlplus seems the easiest way to do that, provided you give the right settings:
set pagesize 0
set linesize
set feedback off
set colsep
Suit yourself.
As for the performance, when using sqlplus or any other client-side tools, it may be slow due to the network traffic. <HR></BLOCKQUOTE>
If you do it that way (your settings plus a 'select *' following), the output file will have right padded spaces in the fields. Problem w/that is if you want to sqlldr the data back into Oracle, you'll have to specify NULLIF field=blanks. Big PITA. Is there a set options to get rid of the excess spacing or do you have to resort to a much more tedious concatenation method involving rtrims?
null

Similar Messages

  • How to Export from table view to Excel (not BI query)?

    There is a 'How to' document explaining how to export from an iView using a BI query:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/47fe4fef-0d01-0010-6f87-ed8ecb479123
    However:
    This 'How-To' document is using an example of a BEx query. I am not using a BEx query, therefore I do not have an "Info port". How can I download to Excel from a table view that is not an iView of a BI query? (It is just a internal table coming from a BAPI).

    keenneth,
    i am using the query from SQL server, i am having the same problem of not having info port. so did you find a work around for exporting to excel with filters for non sap queries ?
    any body who had come across this situation , plz guide me.
    thanks in advance
    ravi

  • Export from table with SQLDeveloper 4

    My Oracle instance 10G is unicode (AL32UTF8) and I have some tables inside with multilingual content in columns (greek, polish by example)
    SQLDeveloper access to the instance trough jdbc thin
    With the previous version of SQLDeveloper (before 4) I made Table Export as xml, csv and sql files. As result I had the right charcaters in the export files and I was happy...
    Now, with SQLDeveloper version 4 all multilingual characeters are replaced by ?. That means wrong characters conversions are occured
    Bug ?

    I don't think this is a good protection: you can have these characters in VARCHAR anyway, and this way you "throw the baby out with the bath water". Not mentioning that right now also immune formats like HTML are also limited.

  • Questions regarding Excel Export from Table

    Hello,
    i've implemented the Excel Export described in this blog:
    /people/sap.user72/blog/2006/05/04/enhancing-tables-in-webdynpro-java-150-custom-built-table-utilities
    It works fine, but i have 2 question:
    - You have to add your Columns who want to get in Excel in the ArrayList. I have a table with LayoutOption (make Columns Visible/Invisible) and want to get all visible columns in my Excel list. You can i realize that?
    - My Excel List is shown in my existing Browser Window, but i want to open a new Window, how can i do that?
    Kind Regards,
    Christopher

    Hello Cristopher,
    For the first Qst:
      Lets think in this way; you have set two column fields invisible and in wdModifyView() check if the columns are visible set a flag and accordingly you can set the header at the getColumnInfo() function.
    Preferably use switch case to check the ArrayList selection and adding values to it.
    For the second Qst:
      Its all about the Browser property; where you have to set the option New window should be opened in new window. This will work.
    +in case of Mozilla; in Tools->option->Tab->new window should be open in
    new window
    new Tab
    +
    Select new window
    Regards
      -Vinod V

  • Access 2013 crashed when I export a table from the access

    Hi!
    Access 2013 always crashed when I export a table from the access to the Database Symfoware.
    1、The conditions of the Access 2013  crashed are the follows.
    1)Create a table in the Access 2013.
    2)Using the ODBC driver of the Database Symfoware to export the table from the access to the Database Symfoware.
    2、The Environments are the follows.
    1)Access 2013 X64(Version:15.0.4420.1017)
    2)Win2008R2 X64
    3)Symfoware V11.1 X64
    3、The Application log from the Win2008R2 are  follows.
    ログの名前:         Application
    ソース:           Application Error
    日付:            2014/04/18 16:21:06
    イベント ID:       1000
    タスクのカテゴリ:      (100)
    レベル:           エラー
    キーワード:         クラシック
    ユーザー:          N/A
    コンピューター:       WIN-29UTU2AIK6J
    説明:
    障害が発生しているアプリケーション名: MSACCESS.EXE、バージョン: 15.0.4420.1017、タイム スタンプ: 0x50674523
    障害が発生しているモジュール名: ACECORE.DLL、バージョン: 15.0.4420.1017、タイム スタンプ: 0x506742b7
    例外コード: 0xc0000005
    障害オフセット: 0x0000000000171f36
    障害が発生しているプロセス ID: 0xb6c
    障害が発生しているアプリケーションの開始時刻: 0x01cf5ad638668c5b
    障害が発生しているアプリケーション パス: C:\Program Files\Microsoft Office\Office15\MSACCESS.EXE
    障害が発生しているモジュール パス: C:\Program Files\Common Files\Microsoft Shared\OFFICE15\ACECORE.DLL
    レポート ID: 00e87957-c6ca-11e3-ad2c-0050568d2ced
    イベント XML:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-04-18T07:21:06.000000000Z" />
        <EventRecordID>3442</EventRecordID>
        <Channel>Application</Channel>
        <Computer>WIN-29UTU2AIK6J</Computer>
        <Security />
      </System>
      <EventData>
        <Data>MSACCESS.EXE</Data>
        <Data>15.0.4420.1017</Data>
        <Data>50674523</Data>
        <Data>ACECORE.DLL</Data>
        <Data>15.0.4420.1017</Data>
        <Data>506742b7</Data>
        <Data>c0000005</Data>
        <Data>0000000000171f36</Data>
        <Data>b6c</Data>
        <Data>01cf5ad638668c5b</Data>
        <Data>C:\Program Files\Microsoft Office\Office15\MSACCESS.EXE</Data>
        <Data>C:\Program Files\Common Files\Microsoft Shared\OFFICE15\ACECORE.DLL</Data>
        <Data>00e87957-c6ca-11e3-ad2c-0050568d2ced</Data>
      </EventData>
    </Event>
    4、When the access crashed,I got the dump file .Then I use the Windbg got some information from the dump files.
         The detailes are  follows.
    FAULTING_IP: 
    +58872faf03d6dd84
    00000000`00000000 ??              ???
    EXCEPTION_RECORD:  00000000001723c0 -- (.exr 0x1723c0)
    ExceptionAddress: 000007fee3951f36 (ACECORE+0x0000000000171f36)
       ExceptionCode: c0000005 (Access violation)
      ExceptionFlags: 00000000
    NumberParameters: 2
       Parameter[0]: 0000000000000000
       Parameter[1]: 0000000000000000
    Attempt to read from address 0000000000000000
    FAULTING_THREAD:  00000000000010b8
    DEFAULT_BUCKET_ID:  WRONG_SYMBOLS
    PROCESS_NAME:  MSACCESS.EXE
    ADDITIONAL_DEBUG_TEXT:  
    Use '!findthebuild' command to search for the target build information.
    If the build information is available, run '!findthebuild -s ; .reload' to set symbol path and load symbols.
    MODULE_NAME: ACECORE
    FAULTING_MODULE: 0000000076eb0000 ntdll
    DEBUG_FLR_IMAGE_TIMESTAMP:  506742b7
    ERROR_CODE: (NTSTATUS) 0x80000003 - {
    EXCEPTION_CODE: (NTSTATUS) 0x80000003 (2147483651) - {
    MOD_LIST: <ANALYSIS/>
    CONTEXT:  0000000000171ed0 -- (.cxr 0x171ed0)
    rax=0000000001be3598 rbx=0000000000000000 rcx=01cf5d1b0f402a5c
    rdx=0000000009cfad30 rsi=0000000006688ef0 rdi=0000000001be35d0
    rip=000007fee3951f36 rsp=0000000000172490 rbp=00000000001727a0
     r8=0000000009b409d0  r9=0000000006688ef0 r10=0000000000000000
    r11=0000000000000246 r12=0000000000000000 r13=0000000001be19f0
    r14=0000000009cfad30 r15=0000000000000000
    iopl=0         nv up ei pl nz na po nc
    cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010206
    ACECORE+0x171f36:
    000007fe`e3951f36 4d3927          cmp     qword ptr [r15],r12 ds:00000000`00000000=????????????????
    Resetting default scope
    PRIMARY_PROBLEM_CLASS:  WRONG_SYMBOLS
    BUGCHECK_STR:  APPLICATION_FAULT_WRONG_SYMBOLS
    LAST_CONTROL_TRANSFER:  from 000007fee395c095 to 000007fee3951f36
    STACK_TEXT:  
    00000000`00172490 000007fe`e395c095 : ffffffff`ffffffff 00000000`00000000 00000000`01bddaa2 ffffffff`ffffffff : ACECORE+0x171f36
    00000000`001727b0 000007fe`e388f8eb : 000007fe`e399dc10 000007fe`e399dc30 000007fe`e399dc50 00000000`000000f9 : ACECORE+0x17c095
    00000000`00172b50 000007fe`e388f590 : 00000000`06688ef0 00000000`00000004 00000000`000000f9 00000000`00000000 : ACECORE+0xaf8eb
    00000000`00172ba0 000007fe`e388f406 : 00000000`00000004 00000000`000000f9 00000000`11cb1130 00000000`000000f9 : ACECORE+0xaf590
    00000000`00172c30 000007fe`e391aee7 : 00000000`00000000 00000000`00173198 00000000`06688ef0 00000000`11cb0998 : ACECORE+0xaf406
    00000000`00172c70 000007fe`e3933a72 : 00000000`00400100 00000000`00000002 00000000`00000001 00000000`06688ef0 : ACECORE+0x13aee7
    00000000`00172e50 000007fe`e384e5b1 : 00000000`00000000 00000000`11cb0020 00000000`06688ef0 00000000`00000001 : ACECORE+0x153a72
    00000000`00172e90 000007fe`e38358d1 : 00000000`000007ff 00000000`06688ef0 00000000`01bd99f0 00000000`00000000 : ACECORE+0x6e5b1
    00000000`00173280 000007fe`e38718eb : 00000000`000007ff 00000000`06688ef0 00000000`11cb0000 00000000`00000000 : ACECORE+0x558d1
    00000000`00173340 00000001`3f3b0cd2 : 00000000`0a0945c0 00000000`000000fe 00000000`000007ff 00000000`00000000 : ACECORE+0x918eb
    00000000`00173430 00000001`3f3b0b9b : 00000000`00173730 00000000`001741e0 00000000`065e5b00 00000000`00000100 : MSACCESS!CreateIExprSrvObj+0x16af32
    00000000`00173630 00000001`3f3afcea : 00000000`00173730 00000000`00000000 00000000`00000000 00000000`065e5b00 : MSACCESS!CreateIExprSrvObj+0x16adfb
    00000000`001736a0 00000001`3f983140 : 00000000`00174401 00000000`0a3235e0 00000000`0a319aa0 00000000`00179fc8 : MSACCESS!CreateIExprSrvObj+0x169f4a
    00000000`00174290 00000001`3f3aabeb : 00000000`00000000 00000000`00000000 00000000`00179f38 00000000`00000000 : MSACCESS!FUniqueIndexTableFieldEx+0x26ab4
    00000000`00174530 00000001`3f3a9670 : 00000000`001778e0 00000000`00179f38 00000000`00000031 00000000`00000000 : MSACCESS!CreateIExprSrvObj+0x164e4b
    00000000`00177870 00000001`3f3a8c1b : 00000000`00000010 00000000`108c5990 003d0044`00570050 00000000`74ac3f69 : MSACCESS!CreateIExprSrvObj+0x1638d0
    00000000`001779d0 00000001`3f5450df : 00000000`0a0945c0 00000000`0000009c 00000000`0a0945c0 00000000`00000000 : MSACCESS!CreateIExprSrvObj+0x162e7b
    00000000`00179e30 00000001`3f64e915 : 00000000`43ed8000 00000000`00000000 00000000`3f800000 00000000`00000000 : MSACCESS!FillADT+0x5830b
    00000000`0017c450 00000001`3f33b172 : 00000000`00000000 00000000`0006075e 00000000`0017e370 00000000`00000000 : MSACCESS!IdsComboFillOfActidIarg+0xaddf1
    00000000`0017d730 00000001`3f33a9ef : 00000000`0017e0a0 00000000`00000b86 00000000`00000000 00000000`0fea0000 : MSACCESS!CreateIExprSrvObj+0xf53d2
    00000000`0017d790 00000001`3f33a20c : 00000000`06620400 00000000`00000000 00000000`00000001 00000000`0017e420 : MSACCESS!CreateIExprSrvObj+0xf4c4f
    00000000`0017e400 00000001`3f6019cd : 0071023b`007a000a 00000000`00374a30 00000000`00000005 00000000`0000000c : MSACCESS!CreateIExprSrvObj+0xf446c
    00000000`0017e850 00000000`06706fd5 : e2504700`aa00ee81 00005d1b`0f2363ea 00000000`0017e9e0 00000001`3f200000 : MSACCESS!IdsComboFillOfActidIarg+0x60ea9
    00000000`0017e8f0 00000000`0a30c378 : 00000000`00000000 00000000`00000008 00000000`067069ac 00000000`00000000 : 0x6706fd5
    00000000`0017e960 00000000`00000000 : 00000000`00000008 00000000`067069ac 00000000`00000000 00000000`00000008 : 0xa30c378
    FOLLOWUP_IP: 
    ACECORE+171f36
    000007fe`e3951f36 4d3927          cmp     qword ptr [r15],r12
    SYMBOL_STACK_INDEX:  0
    SYMBOL_NAME:  ACECORE+171f36
    FOLLOWUP_NAME:  MachineOwner
    IMAGE_NAME:  ACECORE.DLL
    STACK_COMMAND:  .cxr 0x171ed0 ; kb
    BUCKET_ID:  WRONG_SYMBOLS
    FAILURE_BUCKET_ID:  WRONG_SYMBOLS_80000003_ACECORE.DLL!Unknown
    WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/MSACCESS_EXE/15_0_4420_1017/50674523/unknown/0_0_0_0/bbbbbbb4/80000003/00000000.htm?Retriage=1
    Followup: MachineOwner
    5、Where the access crashed I used the ODBC trace to get the trace log of the ODBC API.
         The ODBC API called by Access before it crashed are the follows.
         I also ansysised the log,and I did not find any Abnormal.
    Test            1174-10f0
    EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
    HSTMT               0x0000000009F7C490
    UWORD                      
     6 
    SWORD                      
    -8 <SQL_C_WCHAR>
    PTR                 0x00000000002C1F20 [  
       12] "LENGTH"
    SQLLEN                    62
    SQLLEN *            0x00000000002C1E38 (12)
    Test            1174-10f0
    ENTER SQLGetData 
    HSTMT               0x0000000009F7C490
    UWORD                      
    10 
    SWORD                      
    99 <SQL_C_DEFAULT>
    PTR                 <unknown type>
    SQLLEN                     4
    SQLLEN *            0x00000000002C1E38
    Test            1174-10f0
    EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
    HSTMT               0x0000000009F7C490
    UWORD                      
    10 
    SWORD                      
    99 <SQL_C_DEFAULT>
    PTR                 <unknown type>
    SQLLEN                     4
    SQLLEN *            0x00000000002C1E38 (-1)
    Test            1174-10f0
    ENTER SQLFetch 
    HSTMT               0x0000000009F7C490
    Test            1174-10f0
    EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
    HSTMT               0x0000000009F7C490
    Test            1174-10f0
    ENTER SQLFreeStmt 
    HSTMT               0x0000000009F7C490
    UWORD                      
     0 <SQL_CLOSE>
    Test            1174-10f0
    EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
    HSTMT               0x0000000009F7C490
    UWORD                      
     0 <SQL_CLOSE>
    6、I also did the test with the Access 2010,and with the Sql Srever/Oracle.
         The results are the follows.
    1) With the Access 2010(X86 or X64) and Access 2013 X86,it successes when I export the table to the DB Symfoware.But only with the Access 2013 X64,the Access crashed.
    2)With the Access 2010(X86 or X64) and Access 2013(X86 or X64),using the Sql Srever/Oracle,it always successes .
    According to all the descrived above, I wonder if it a bug of the Access2013 .
    Could anyone can help me ?
    Thanks for any help.

    George Zhao
    Thank you for your help.
    I have already install
    the latest patches of the Office 2013.But it doesn't work.It is down also too. And ODBC
    drive of Database Symfoware is the newest driver of the Database Symfoware. Now I wonder that
    if it si a bug of the  ODBC
    drive of Database Symfoware,I should fix the bug,but I have analysised the odbc trace log and I do not find any wrongs ,so I think maybe it is a bug of the Access .
    I have see many situations about the Access down on the internet .

  • DM - "Export from Fact Table" works but "Export" does not work properly

    Hi,
    I'm using BPC7M.
    I found it strange that Export cannot dump data to a flat file though I'm pretty sure my selection of dimension members contain data. The existing of data was further confirmed by running Export from Fact Table successfully, where I chose the same set of dimension members. Below are the log files.
    Export log file  FAIL
    u603Bu6B65u9AA4  2
    1. Dump Data:     Failed in 32 sec.
    [u9009u62E9]
    FILE=\Shenergy\WJ2\DataManager\DataFiles\WJ2_SunnyTest.txt
    TRANSFORMATION=\SHENERGY\WJ2\DATAMANAGER\TRANSFORMATIONFILES\SYSTEM FILES\EXPORT.XLS
    MEASURENAME=PERIODIC
    (u6210u5458u9009u62E9)
    Category:
    Time:
    WED_Entity:
    B_Account:
    DataSrc: INPUT
    [u6D88u606F]
    There is no data in the selected region; select a region that has data._2_True
    Export from Fact Table log file   SUCCESS
    u603Bu6B65u9AA4  2
    1. Dump Data:          completed in 1 sec.
    2. Convert Data:       completed in 0 sec.
    [u9009u62E9]
    FILE=\Shenergy\WJ2\DataManager\DataFiles\\WJ2SunnyTest.txt
    TRANSFORMATION=\SHENERGY\WJ2\DATAMANAGER\TRANSFORMATIONFILES\SYSTEM FILES\EXPORT.XLS
    (u6210u5458u9009u62E9)
    Category:
    Time:
    WED_Entity:
    B_Account:
    DataSrc: INPUT
    [u6D88u606F]
    Record Count: 104
    Accept Count: 104
    Reject Count: 0
    Skip Count   :0
    I tried Export in another application and it worked properly. Maybe there is something wrong with the application but I don't know how I can fix this.
    Thanks!
    Sunny

    Hi Sorin,
    In order to make sure the sum is not equal to 0, I ran the "Clear" package and full optimize the application. Afterwards, I deliberately sent only 1 record. I ran the "Export from Fact Table" and I have the following contents in my output flat file.
    B_ACCOUNT,TIME,WED_ENTITY,DATASRC,CATEGORY,SIGNEDDATA
    KPI0001,2009.INP,DEP_INPUT,INPUT,ACTUAL,-500.0000000
    This confirms that the sum is not 0. Then, I ran "Export" package. Yet again, I encountered the same error.
    There is no data in the selected region; select a region that has data._2_True
    Best Regards,
    Sunny

  • What is the easiest way to export all tables data from Oracle to MS SQL Server?

    Hello MS,
    I would like to export all tables from Oracle 11.2 to MS SQL Server 2012 R1.
    Using the tool "Microsoft SQL Server Migration Assistant v6.0 for Oracle" did not work for me because there are too many warnings and errors regarding the schema creation (MS cannot know it because they are not the schema designer). My idea is
    to leave/skip the schema creation to the application designer/supplier and instead concentrate on the Oracle data export and MS SQL data import.
    What is the easiest way to export all tables data from Oracle to MS SQL Server quickly?
    Is it:
    - the „MS SQL Import and Export Data“ Tool
    - the “MS SQL Integration Services” Tool
    - not Oracle dump *.dmp format because it is a propritery binary format
    - flat file *.csv (delimited format)
    Thanks!

    Hi lingodingo,
    If you want to directly export all tables from Oracle database to SQL Server, I suggest you use SQL Server Import and Export Wizard. Because you just need to follow the wizard with GUI, this is the easiest way.
    If you want to make some modification for the tables‘ data before loading to SQL Server, I suggest you use SQL Server Integration Services package. For more details, please refer to the following similar thread:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/38b2bed2-9d4e-48d4-a33f-1d9eed1c062d/flat-file-to-sql-server?forum=sqldatamining
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Import / Export Specific tables from DB

    Hi,
    I am trying to export all 'AD_' tables from my database from another database with their constraints.
    I tried a command just for export one table from my cmd :
    "exp adempiere/adempiere@simext15:1521/compiere2 file=emp.dmp tables=(AD_ACCESSLOG)"
    it export fine but when try to import this file from using command
    "imp adempiere/adempiere@simext15:1521/compiere2 file=emp.dmp fromuser=adempiere touser=adempiere tables=(AD_ACCESSLOG)"
    it gives me so many errors:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export file created by EXPORT:V11.01.00 via conventional path
    import done in WE8MSWIN1252 character set and UTF8 NCHAR character set
    . importing ADEMPIERE's objects into ADEMPIERE
    . . importing table "AD_ACCESSLOG" 0 rows imported
    IMP-00015: following statement failed because the object already exists:
    "CREATE UNIQUE INDEX "AD_ACCESSLOG_KEY" ON "AD_ACCESSLOG" ("AD_ACCESSLOG_ID""
    " ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FR"
    "EELIST GROUPS 1 BUFFER_POOL DEFAULT) LOGGING"
    IMP-00017: following statement failed with ORACLE error 2264:
    "ALTER TABLE "AD_ACCESSLOG" ADD CONSTRAINT "AD_ACCESSLOG_KEY" PRIMARY KEY ("
    ""AD_ACCESSLOG_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(I"
    "NITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "
    ""USERS" LOGGING ENABLE "
    IMP-00003: ORACLE error 2264 encountered
    ORA-02264: name already used by an existing constraint
    IMP-00017: following statement failed with ORACLE error 2264:
    "ALTER TABLE "AD_ACCESSLOG" ADD CONSTRAINT "ADTABLE_ADACCESLOG" FOREIGN KEY "
    "("AD_TABLE_ID") REFERENCES "AD_TABLE" ("AD_TABLE_ID") ENABLE NOVALIDATE"
    IMP-00003: ORACLE error 2264 encountered
    ORA-02264: name already used by an existing constraint
    IMP-00017: following statement failed with ORACLE error 2264:
    "ALTER TABLE "AD_ACCESSLOG" ADD CONSTRAINT "ADCOLUMN_ADACCESSLOG" FOREIGN KE"
    "Y ("AD_COLUMN_ID") REFERENCES "AD_COLUMN" ("AD_COLUMN_ID") ON DELETE CASCAD"
    "E ENABLE NOVALIDATE"
    IMP-00003: ORACLE error 2264 encountered
    ORA-02264: name already used by an existing constraint
    About to enable constraints...
    IMP-00017: following statement failed with ORACLE error 2430:
    "ALTER TABLE "AD_ACCESSLOG" ENABLE CONSTRAINT "ADTABLE_ADACCESLOG""
    IMP-00017: following statement failed with ORACLE error 2430:
    "ALTER TABLE "AD_ACCESSLOG" ENABLE CONSTRAINT "ADCOLUMN_ADACCESSLOG""
    Import terminated successfully with warnings.
    I tried a lot for this I just want to export and restore all 338 tables related to Application Dictionary from one database to another database with their constraints and data.
    I tried also using datalink but it only copy the structure and data but not the constraints, I want all three should be copy in to another database.
    I know their is dependency on a table to another table but i don't know exactly it..
    tried it onces again i am able to do export and import tables but only primary key related to every table gets restore neither Unique key nor Foreign key , please help me out from this i can export and import with full table with data and its all constraints.
    Please help me out from this problem, waiting for your valuable suggestions.
    Regards,
    Manu

    ORA-02264: name already used by an existing constraint
    The constraint is already exists with the same name. So drop that before issuing the import command.
    And ,
    1. Check if all tables get imported
    2. If all tables get imported then create the constraints manually
    3. If tables do not get imported then import tables manually by specifying their name in imp statement
    Thanks

  • Export with Table Splitting : ORA-01115: IO error reading block from file

    Hello,
    We are in perfroming the last dryrun of our CU&UC conversion.
    The are now in the process of exporting the ECC6 system (Oracle 10.2.0.4.0, HPUX ia64) using sapinst features, "table splitting preparation"
    When doing so, we are facing critical errors :
    Creating file /export_uni/sapinst_splitting/ora_query3_tmp3_1.sql.
    ERROR 2010-08-11 10:27:28.881
    CJS-00084  SQL statement or script failed. DIAGNOSIS: Error message: ORA-12801: error signaled in parallel query server P002
    ORA-01115: IO error reading block from file 90 (block # 16640)
    ORA-27072: File I/O error
    HPUX-ia64 Error: 22: Invalid argument
    Additional information: 4
    Additional information: 16640
    Additional information: -1
    ORA-01115: IO error reading block from file 90 (block # 16640)
    ORA-27072: File I/O error
    HPUX-ia64 Error: 22: Invalid argument
    ORA-06512: at "SAPR3.TABLE_SPLITTER", line 775
    ORA-06512: at line 1
    I have therefore perfmed a dbverify ; no corruption has been recorded.
    When trying to perfrom the EXPORT, without table splitting ; it works fine ...but the processing time is extremely long, as you can imagine. Any help would be highly appreciated.Regards.
    Raoul

    Thank you Stefan,
    Our HPUX Release seems to be indeed 11v3,
    [root@:/root]# uname -a
    HP-UX B.11.31 U ia64 2566039091 unlimited-user license
    I'll check the installation of the  patch and keep you informed
    Thank you
    Raoul
    Edited by: Raoul Shiro on Aug 11, 2010 11:57 AM

  • How to fill and export a table from a FM

    Hi!
    I'm using the function builder, and want to export a table which is filled in the FM.
    This is from the header in my FM:
    EXPORTING
    *" VALUE(T_RESULT_EXPORT) LIKE ZT_RESULT STRUCTURE
    *" ZTKG_RESULT
    I have the parameter name for a table T_RESULT_EXPORT in the Export section. How can I fill the table with data? I get an compiler error saying "T_RESULT_EXPORT is not an internal table - the OCCURS n specification is missing".
    All I want to do is filling my export table.

    adding to the above,
    if u want to still use it in export section.
    declare ur
    internal table like this.
    data : T_RESULT_EXPORT LIKE ZT_RESULT occurs 0.
    then
    pass T_RESULT_EXPORT in the FM
    rgds
    anver
    if hlped mark points

  • Unable to take export from particular tables from the schema.

    i created a schema duser data is imported and now i want to take select tables from this schema.
    the tables are (partyhdr,partyaddressdtl,partycontactdtl,partydsdtl,partytdsexcludedtl,partycurrencydtl)
    D:\>EXP DUSER/LOG@ORCL FILE=20121221PARTY0228PM.DMP TABLES=PARTYHDR,PARTYADDRESS
    DTL,PARTYCONTACTDTL,PARTYTDSDTL,PARTYTDSEXCLUDEDTL,PARTYCURRENCYDTL;
    Export: Release 10.1.0.2.0 - Production on Fri Dec 21 14:30:21 2012
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Release 10.1.0.2.0 - Production
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table PARTYHDR 19387 rows exported
    . . exporting table PARTYADDRESSDTL 20747 rows exported
    . . exporting table PARTYCONTACTDTL 226 rows exported
    . . exporting table PARTYTDSDTL 53 rows exported
    . . exporting table PARTYTDSEXCLUDEDTL 2 rows exported
    EXP-00011: DUSER.PARTYCURRENCYDTL; does not exist
    Export terminated successfully with warnings.
    as i check in schema partycurrencydtl table is their AND SHOWING RECORDS ALSO.
    SELECT OBJECT_TYPE FROM ALL_OBJECTS WHERE OWNER='DUSER'AND OBJECT_NAME='PARTYCURRENCYDTL';
    OBJECT_TYPE
    TABLE
    i am able understand why this particualr table is not exporting.
    Kindly help out.

    Dear hitqon,
    i am facing the below problem in export only,but their is no problem in import.
    Tablespace Details
    FILE-NAME TABLESPACE_NAME BYTES BLOCKS
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\AXPERT.DBF AXPERT 8589934592 1048576
    Version:
    WE ARE USING version
    Oracle Database 10g Release 10.1.0.2.0 - Production
    PL/SQL Release 10.1.0.2.0 - Production
    CORE     10.1.0.2.0     Production
    TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
    NLSRTL Version 10.1.0.2.0 - Production
    D:\>EXP CENTRAL/LOG@ORCL FILE=20121217CENTRAL0857AMFROMSERVER237.DMP
    Export: Release 10.1.0.2.0 - Production on Mon Dec 17 08:57:47 2012
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Release 10.1.0.2.0 - Production
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user CENTRAL
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user CENTRAL
    About to export CENTRAL's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00000: Export terminated unsuccessfully
    Only export will be successfully,when we restarted the oracle services. How to over come this issue with out restarting the oracle services.
    Edited by: leen on Dec 28, 2012 12:43 AM

  • How export one table along with data from one location to other location

    Hi All,
    I'm new in export/import practice.
    Can anyone plz tell the steps along with commands to do the following:
    1. I want to export a table with data from one location(computer) to other(computer) that are in same network.
    2.Also from one user to another user.
    I'm using oracle 10g.
    regards
    Sonia
    Edited by: 983040 on Feb 19, 2013 11:35 PM

    First of all read documentation
    Oracle Export/Import : http://docs.oracle.com/cd/B19306_01/server.102/b14215/exp_imp.htm
    Datapump Export/Import : http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_overview.htm
    If you are using Datapump or Traditional Export/import you need to follow following steps
    *1) Take User dump via EXPDP on Computer A .*
    For EXP
    exp username/password owner=Test file=D:\test.dmp log=D:\test.log
    For EXPDP
    expdp username/password schemas=TEST directory=TEST_DIR dumpfile=TEST.dmp logfile=TEST.log*2) Copy that to Computer B*
    *3) Import dumpfile.*
    For IMPDP  Use remap_schema optionhttp://www.acehints.com/2012/05/data-pump-impdp-remapschema-parameter.html
    For IMP use fromuser and touser option
    one user to another user imp

  • How export one table along with daya from one location to other location

    Hi All,
    I'm new in export/import practice.
    Can anyone plz tell the steps along with commands to do the following:
    1. I want to export a table with data from one location(computer) to other(computer) that are in same network.
    2.Also from one user to another user.
    I'm using oracle 10g.
    regards
    Sonia

    Wrong forum. This is a database query not an Oracle Secure Backup issue.
    Thanks
    Rich

  • I want to export few tables from 9.2.0.2  database and import to  10.2.0.1

    Dear All,
    I am newbie to oracle, my company wants to export few tables from 9.2.0.2 database to 10.2.02. ( they are using developer 2000 4.5/ and oracle reports 6i)
    The puropose of this activity is to use forms and reports of 9i into 10g to check if it works.
    The configuration of Test machine is core2duo processor, 2gb ram, 500gb hard disk.
    I have few questions, as i am newbie am little afraid, so please help me,
    what are the precautions i have to make before running export command on 9i database?
    What are teh precautions i have to make before running import command on 10g database?
    My manager wants me too export it with user,synonyms,grants,priveleges as it is production database? how to do that?
    How to check what are the grants and privileges of a users in 9i?
    My production database is on 9i and on solaris 10 i am going to install 10g database on windows xp as test instance, is it correct to do this way??
    My manager said i should use NLS_LANG as AMERICAN_AMERICA.AR8MSWIN1256 as a character set while installing database.
    Note:- I have installed oracle 10g from OTN.
    Please help me as early as possible.
    Regards,
    user9007339

    No, that it doesn't mean. You will have to use the exact right version at the right time. From lower version to higher you need to use source db exp tool and target db imp. From higher to lower you need to use target db exp and target db imp.
    In other words:
    Always use exp from lowest version and imp from target version!
    See Metalink, Note:132904.1

  • Export to xls from table is taking too long (Around 20 min)

    Hi all,
    I am new member to this forum. I had a table with 80 columns and 20000 records. It is having primary key column. When i try to export the table data in toad from data grid it is taking 15-20 min. When i try to export from my front end java application it is saying time out. when i query the table i am getting results in 3 secs, but when tried to export it is taking more time.
    Can any one please provide me solution for exporting the data faster with in a min?
    My table structure is
    COL1     NUMBER
    COL2      VARCHAR2 (150 Byte)
    COL3     DATE
    COL4      DATE
    COL5      NUMBER
    COL6      NUMBER
    COL7      VARCHAR2 (6 Byte)
    COL8      NUMBER
    COL9      NUMBER
    COL10     NUMBER
    COL11     NUMBER
    COL12     NUMBER
    COL13     NUMBER
    COL14     NUMBER
    COL15     CHAR (1 Byte)
    COL16     CHAR (1 Byte)
    COL17     NUMBER
    COL18     NUMBER
    COL19     NUMBER
    COL20     NUMBER
    COL21     NUMBER
    COL22     NUMBER
    COL23     VARCHAR2 (200 Byte)
    COL24     VARCHAR2 (200 Byte)
    COL25     VARCHAR2 (200 Byte)
    COL26     VARCHAR2 (200 Byte)
    COL27     VARCHAR2 (200 Byte)
    COL28     VARCHAR2 (200 Byte)
    COL29     NUMBER
    COL30     VARCHAR2 (200 Byte)
    COL31     NUMBER
    COL32     NUMBER
    COL33     NUMBER
    COL34     NUMBER
    COL35     NUMBER
    COL36     NUMBER
    COL37     NUMBER
    COL38     NUMBER
    COL39     NUMBER
    COL40     NUMBER
    COL41     DATE
    COL42     VARCHAR2 (150 Byte)
    COL43     DATE
    COL44     VARCHAR2 (150 Byte)
    COL45     NUMBER
    COL46     VARCHAR2 (50 Byte)
    COL47     VARCHAR2 (50 Byte)
    COL48     NUMBER
    COL49     NUMBER
    COL50     CHAR (1 Byte)
    COL51     CHAR (1 Byte)
    COL52     VARCHAR2 (150 Byte)
    COL53     CHAR (1 Byte)
    COL54     VARCHAR2 (150 Byte)
    COL55     NUMBER
    COL56     NUMBER
    COL57     VARCHAR2 (250 Byte)
    COL58     CHAR (1 Byte)
    COL59     CHAR (1 Byte)
    COL60     CHAR (1 Byte)
    COL61     CHAR (1 Byte)
    COL62     CHAR (1 Byte)
    COL63     CHAR (1 Byte)
    COL64     CHAR (1 Byte)
    COL65     CHAR (1 Byte)
    COL66     CHAR (1 Byte)
    COL67     CHAR (1 Byte)
    COL68     CHAR (1 Byte)
    COL69     CHAR (1 Byte)
    COL70     CHAR (1 Byte)
    COL71     CHAR (1 Byte)
    COL72     NUMBER
    COL73     NUMBER
    COL74     NUMBER
    COL75     NUMBER
    COL76     NUMBER
    COL77     CHAR (1 Byte)
    COL78     CHAR (1 Byte)
    COL79     CHAR (1 Byte)

    Hi,
    I got it. But this export is happening from front end java application, Which i am simulating in back-end toad. Could you please help me any architecture level approach while creating table. Once again thanks for your input.
    Regards,
    Pavan.

Maybe you are looking for

  • How to copy folder with files and subfolders within it  to another folder

    how to copy a folder with files and subfolders within it to another folder

  • Uri-escaping in XSLT-Processor when using html-method in xsl:output

    I've a problem with the XSLT-Processor: He tries to escape non-ASCII Characters in the href-Attribute when I use the output method "html". This is correct according to XSLT 1.0 and HTML4, but the processor doesn't really escape the characters, he jus

  • Combining multi tracks into 1

    jus recently got audition..had trouble with the sound..ended up getting that ASIO4ALL..recorded multi tracks..came out sounding nice..tried 2 mixdwn the files into 1...clicked on the "mixdown to new file"  came out with nothin..now i know im not the

  • Background change by time of day. (MX)

    I'm redesigning my MySpace page and would like to have a background of the an ocean/beach view with the sky in the background. It's just like your average background yet the picture changes depending on what time of day it is. So, if someone's viewin

  • Notebook does not see mPCIe card (asm1061)

    Aloha Community, i am using an old notebook as a small server (cups/ftp/http/etc). The Notebook is an old Dell Inspiron 1520. I attached three 3,5'' HDDs to it which are powered via an external PSU. the first HDD is connected to the original sata-por