Export with expdp tables with name like 'name1%' or like 'name2%'

How can I export data and metadata only from tables with name like 'name1%' or like 'name2%'
what value must have INCLUDE parameter ?
from one match it is
INCLUDE=TABLE:"LIKE 'REF%' "
this exports tables witch name begins with REF, but I need tables REF and REF1
if I write like this:
INCLUDE=TABLE:"LIKE 'REF%' ",TABLE:"LIKE 'REF1%' "
or
INCLUDE=TABLE:"LIKE 'REF%' "
INCLUDE=TABLE:"LIKE 'REF1%' "
it says that
Total estimation using BLOCKS method: 0 KB
ORA-39168: Object path TABLE was not found.
ORA-31655: no data or metadata objects selected for job
I supose such constructions work like between them is logical AND.
I need an OR construction.

C:\>EXPDP SCOTT/TIGER DIRECTORY=DATA_DIR DUMPFILE=EXPDATA.DMP INCLUDE=TABLE:"LIK
E'REF%'"
Export: Release 10.1.0.2.0 - Production on Saturday, 07 October, 2006 9:38
Copyright (c) 2003, Oracle.  All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
FLASHBACK automatically enabled to preserve database integrity.
Starting "SCOTT"."SYS_EXPORT_SCHEMA_01":  SCOTT/******** DIRECTORY=DATA_DIR DUMP
FILE=EXPDATA.DMP INCLUDE=TABLE:LIKE'REF%'Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 192 KB
Processing object type SCHEMA_EXPORT/TABLE/TABLE
. . exported "SCOTT"."REF123" 9.406 KB 10 rows
. . exported "SCOTT"."REF12345" 9.414 KB 10 rows
. . exported "SCOTT"."REF1ABC" 9.406 KB 10 rowsMaster table "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
Dump file set for SCOTT.SYS_EXPORT_SCHEMA_01 is:
  C:\EXPDATA.DMP
Job "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully completed at 09:38
C:\>
INCLUDE=TABLE:"LIKE 'REF1%'
no need to specify "ref1%" bcoz if u specify "ref%" it means all tables after "ref" will be export.

Similar Messages

  • There are several 10-byte files with names like InstallTime20100707134218 in my Crash reports folder. Is it safe to delete them?

    There are several files, each 10 bytes in size, in my Crash Reports folder. Each of these has a name which begins "InstallTime" and then consists of a bunch of numbers which appear to be a date and time. I think that each of them contains a number representing the Unix time of a crash.
    Are they safe to delete? Some of them appear to be a good few years old by now.

    Yes, you can remove those file. They are created each time a Firefox version is updated. I have a lot of nightly builds installed that get updated each day, so I clean out that folder every now and then and only leave the crashreporter.ini file.

  • How do i find out what is behind names like"artist - track1"

    hi guys,
    i'm new to itunes and i'm using it since a week or so, its simply amazing. the bad side is that i recognized that almost 20% of my music has no id3tags. So itunes list them with names like "artist - track4 - album" and so on. but in my explorer view there are still named, so how can i find out which specific file is meant with "artist - track4 - album"??? i mean, is there any way to get a information about the place where the file was before itunes imported and regrouped it in its library??? in the moment i've about 100 tracks wich are named "artist - track4 - album" for example.
    thx and greetz
    André

    i mean, is there any way to get a information about the place where the file was before itunes imported and regrouped it in its library???
    Nope. Short of playing it and recognizing the song, that is.
    This is why it's a good idea to make sure everything is tagged before letting iTunes reorganize it all.
    You can do a Get Info on a track in iTunes and look at the first tab to see what file it's referring to (next to Location:). But that may not be useful.

  • Finding a table with a like %name% in a schema

    What is the query I should use to find a table with a like %name% in a schema?
    Thank you for any help

    select * from all_tables
    where owner = 'YOUR_SCHEMA' and lower(table_name) like '%name%'
    /Regards
    Dmytro

  • How to expdp table with a BLOB field when table is larger than UNDO tbs?

    We have a 4-node RAC instance and are at 11.1. We have a 100 gig schema with a few hundred tables. One table contains about 80 gig of data. the table has pictures in it (BLOB column). Our 4 node RAC has 4 12 gig undo tablespaces.
    We run out of undo when export a schema or just this table due to the size of the table.
    According to metalink note ID 1086414.1 this can happen on fragmented tables. According to segment advisor, we are all good and not fragmented at all.
    I also followed the troubleshooting advice in ID 833635.1 and ID 846079.1, but everything turned out ok.
    LOBs and ORA-01555 troubleshooting [ID 846079.1]
    Export Fails With ORA-02354 ORA-01555 ORA-22924 and How To Confirm LOB Segment Corruption Using Export Utility? [ID 833635.1]
    initially we tried just to export it without special parameters.
    expdp MY_SCHEMA/********@RACINSTANC DUMPFILE=MYFILE.dmp PARALLEL=8 directory=DATA_PUMP_DIR SCHEMAS=MY_SCHEMA
    ORA-31693: Table data object "MY_SCHEMA"."BIGLOBTABLE" failed to load/unload and is being skipped due to error:
    ORA-02354: error in exporting/importing data
    ORA-01555: snapshot too old: rollback segment number 71 with name "_SYSSMU71_1268406335$" too small
    then tried to export just the table into 8 files of 8G each (the failing table is about 90% of the schema size)
    expdp MY_SCHEMA/******@RACINSTANCE DUMPFILE=MYFILE_%U.dmp PARALLEL=8 FILESIZE=8G directory=DATA_PUMP_DIR INCLUDE=TABLE:\"IN ('BIGLOBTABLE') \"
    ORA-31693: Table data object "MY_SCHEMA"."BIGLOBTABLE" failed to load/unload and is being skipped due to error:
    ORA-02354: error in exporting/importing data
    ORA-01555: snapshot too old: rollback segment number 71 with name "_SYSSMU71_1268406335$" too small
    We eventually resorted to exporting chunks out of the table by using the QUERY parameter
    QUERY=BIGLOBTABLE:"WHERE BIGLOBTABLEPK > 1 AND BIGLOBTABLEPK <=100000"
    and that worked but it is a kludge.
    Since we will have to export this again down the road I was wondering if there is an easier way to export.
    Any suggestions are appreciated.

    Note that undo data for LOB is not stored in UNDO tablespace but in LOB segments. So I am not sure ORA-1555 is directly linked to LOB data.
    What is your undo_retention parameter ?
    How long does EXPDP run before getting ORA-1555 ?
    You could try to increase undo_retention parameter to avoid ORA-1555.
    Are you running Entreprise Edition ? If yes, trying to transport the tablespace storing the table could be a solution.

  • Export and import table data with Java

    I need a library for simple exporting and importing table data.
    The data should be exported to a SQL file with insert statements.
    I just want to tell the library the table name, the connection and where to store the file. The usage should be very simple.
    Are there any small libraries for this? Finished calsses and methods which I can just call?

    I need a library for simple exporting and importing
    table data.
    The data should be exported to a SQL file with insert
    statements.Every database has utilities to export/import data from tables. Take a look at your database manual.

  • I changed the captions for my family photos to include names, but when I exported the photos to make DVD's for family members, the old captions were there and not the new ones. How can I make a DVD to include the new captions with names?

    I have labeled old family photos with names that I would like to share at a family reunion via DVD. When I export the photos to make the DVD, the old photo labels are back rather than the new labels with names. Can I export the photos with the new titles?

    iPhoto shows you these Titles but the Finder shows you Filenames
    If you export (File -> Export) you'll get the Export dialogue. Note the option at FileName to use the Title as filename for the exported photo

  • Links associated with a table of names/ids

    Is there a better way to do this in faces?
    My page has a table of names, I wish to associate a modify/delete actions with each one, allowing the user to just click say the modify link on one and end up in a page to modify that entry. I ended up generate the links as something like:
    <table>
    <tr>
    <h:form>
    <input name="scoutId" type="hidden" value="${scoutBean.scoutId}"/>
    <h:commandLink action="#{scoutListActionBean.doModify}" value="Modify Scout"/>
    </h:form>
    </td>
    <td>
    <h:form>
    <input name="scoutId" type="hidden" value="${scoutBean.scoutId}"/>
    <h:commandLink action="#{scoutListActionBean.doRemove}" value="Remove Scout"/>
    </h:form>
    </tr>
    </table>
    Then in my action routine, I find the value associated with the request paramter "scoutId" to prepopulate the next modify/delete page.
    This seemed pretty clumsy to me, anybody got a better way?

    Yes. Try DBA_TRIGGER_COLS (or the USER, ALL variants)
    APC

  • Exporting index with partition export using expdp

    Hi,
    I am using EXPDP export In 11.1.0.7, is there a way i can export indexes along with the partition export of a table. With full table export, indexes are exported, but i don't see this with only a single partition export because i don't see indexes creation in following scenario.
    1. Export a partition from the production table.
    2. In development environment, drop all indexes on this table.
    3. Drop same partition in development before importing it afresh from the export file created at first step.
    4. Import the partition exported n first step (this does not automatically create indexes dropped in step 2.
    5. Manually recrease indexes again.
    Thanks

    when you do a table mode export, indexes are included, unless you said exclude=index. Please list your expdp and impdp command and the log files to show that indexes are not included.
    Thanks
    Dean

  • Performance on searching a name field with the like clause

    Hi.  We run 2012 std and I suspect we'll be running into challenges as my user has expressed an interest in searching data based on a like clause across a contact name column that is varchar(80).  The like clause is shown below.  The
    question is whether or not an index on this column will (if we make one) even be used when a like clause is introduced?  And any other advice the community may offer.  I'll ask my user if they could limit the search to patterns that match starting
    in position 1 but suspect they'll say no.  Currently the table has 1.5 million rows , one pk, and is approx 1100 bytes wide if varchars are fully used.
    where ltrim(rtrim(e.[ContactName])) like '%' +IsNull(@contactName1,'') + '%'

    Hi.  We run 2012 std and I suspect we'll be running into challenges as my user has expressed an interest in searching data based on a like clause across a contact name column that is varchar(80).  The like clause is shown below.  The
    question is whether or not an index on this column will (if we make one) even be used when a like clause is introduced?  And any other advice the community may offer.  I'll ask my user if they could limit the search to patterns that match starting
    in position 1 but suspect they'll say no.  Currently the table has 1.5 million rows , one pk, and is approx 1100 bytes wide if varchars are fully used.
    where ltrim(rtrim(e.[ContactName])) like '%' +IsNull(@contactName1,'') + '%'
    Hi db042190,
    >> The question is whether or not an index on this column will (if we make one) even be used when a like clause is introduced?
    A simple index use an exact value in order to compare it (it orer the tree according to the value). For most cases it will not be a good solution for filtering by "like" (in some cases it can help you use "index scan", but it will not
    be able to use "index seek"). There are several options that can help in this issue dapending on your interface and the way you use the data:
    (1) Full Text Index as Olaf mentioned
    (2) Another option, which is very useful in some cases, based on using an external table, which store list of searching words (if the user try a new search then you can scan the original table, which this is one-time-job for each new word). This is actually
    work on the same idea of using FTS, but it is more flexible and give you direct control if you need to use word searching and not phrase/free-text searching. This table is indexed and the search is done on this table, and not the original table. Those two
    tables have relations many-to-many, and you use a simple JOIN to get the results 
    >> limit the search to patterns
    This can be a game changer!
    There is a simple solution that might help you in this case which is very useful! you can create a computed column that store the value according to your patterns, and then create index on that
    column. For example if the your pattern is filter by "starting with 10 specific char" then you can use simple LEFT function like in this code:
    CREATE TABLE t (LongText nvarchar(MAX), MyPatSearch as convert(nvarchar(10),LEFT(LongText,10)));
    GO
    CREATE NONCLUSTERED INDEX IX_MyPatSearch ON t (MyPatSearch);
    GO
    * using computed column with string like in this example, you have to use CONVERT since Data type is requirements for index computed column.
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • How do I stop Illustrator automatically adding numbers to file name when exporting with artboard?

    I need to export with artboard. Illustrator automatically adds a number to my original file name. It won't even let me replace the old file. It is extremely annoying and makes flow with other programs really hard because they can't auto update, since the file name  changes. When you have multiple files, you can't be manually renaming all the time. Anyone knows how to fix this? Thanks.

    This has been discussed a few times, and here is a summary of the usual solutions.
    http://forums.adobe.com/message/2989508#2989508
    What is it EXACTLY you are trying to do. Are you trying to export a single page from filename.ai  and make it filename.psd, (without any number afterwards). In that case you could delete the extra artboards prior to export, and then you won't have to checked use artbaords as there is only one page. Otherwise I would plan ahead so your end result will be filename-01.jpg,  filename-02.jpg, and then everytime you use export artbaords those names will replace.
    I am happy with the function as is, and would prefer to have a serial number automatically after the name when checking use artboards. But sounds liek you and others desire more options and thte ability to turn off adding to the filename.

  • I have copied many photo's from another laptop to my Mac.  The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder

    I have copied many photo's from another laptop to my Mac.  The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder but my new photo's are all in iPhoto.  I want to use directories for storing and iPhoto for viewing.  Is this possible or do I need to have all my photo's in iPhoto??
    Mitch

    iPhoto is not a Photo Viewer. It's a Photo Manager and designed for looking after the files while you organise the Photos. It really works much better if you let it manage those files. If you use iPhoto you never go near those files because iPhoto is your start point for anything you want to do with your Photos - the point of the pplication.
    You can run iPhoto in Referenced mode, where it does not copy the files to the Library, but I caution you that you are making life a lot more difficult for yourself by doing that.
    How to, and some comments on why you shouldn't, are in this thread
    https://discussions.apple.com/thread/3062728?tstart=0
    Regards
    TD

  • Export of a table with BLOBS

    I have an application on our/your hosted environment.
    in two of this tables are stored some documents (pdf,doc) and pictures. For deploying my application to a local environment I can use application-export, image-export (for some global pictures), Create-DDL for views, sequences, tables and text-export for text-table-content.
    But how to get an export from BLOB like it is done by your Workspace-Image-Export.
    I know to use oracle exp/imp (needs sql*net) in a normal database environment, but I can't use it on the hosted environment.
    For some small Tables it could be a challenge to have such a way ( I think it should be possible similar the way of Workspace-Image-export) for developers data.
    Thanks Lutz

    I just knocked up a little page process to see if I could export a blob image to a text file -
    declare
      v_blob_locator BLOB;
      l_amt number default 57;
      l_offset number default 1;
      l_raw raw(80);
      resultString VARCHAR2(80);
      resultClob CLOB;
    begin
      OWA_UTIL.MIME_HEADER( 'application/octet', FALSE );
      HTP.P('Content-Disposition: attachment; filename="blob.txt"');
      OWA_UTIL.HTTP_HEADER_CLOSE;
      DBMS_LOB.CREATETEMPORARY(resultClob,FALSE,DBMS_LOB.CALL);
      SELECT BLOB_CONTENT
       INTO v_blob_locator
       FROM wwv_flow_files
       WHERE name = 'F2015933220/myimage.gif';
      LOOP
        DBMS_LOB.READ( v_blob_locator, l_amt, l_offset, l_raw );
        l_offset := l_offset + l_amt;
        resultString := UTL_RAW.CAST_TO_VARCHAR2( utl_encode.base64_encode(l_raw ) );
        resultClob:=TO_CLOB(resultString);
        HTP.PRN(resultString);
      END LOOP;
      EXCEPTION
        WHEN NO_DATA_FOUND THEN
          NULL;
      DBMS_LOB.FREETEMPORARY(resultClob);
      HTMLDB_APPLICATION.G_UNRECOVERABLE_ERROR := True;
    end;It appears to work...perhaps something like this could be adapted to export the blobs in a table?
    p.s. I apologise for the horrendous NO_DATA_FOUND, let's call it an early prototype ;)

  • Best way to export clips with effects, like project manager

    First of all I would like to say hello to everybody, cause this is my first post, thanks in advance for your help.
    The problem:
    I'm running adobe premiere pro cs06 on a mac and what I want to do seems simple but is very difficult. I import material from an Alexa camera, putting all the clips to the timeline and add some effects to the clips, too.
    Now I want to export all changed clips with the same codec, filename and timecode, just like I can do, when I use the project manager to consolidate my files.
    So the goal is an easy way to add effects and export same as source?!
    Again thank you very much
    Cheers
    Bird

    Thank you for your answers so far,
    First I dont want to export to the arriraw format, what I want to export to is prores444. The reason why is simply because there are some effekts that might speed up my workflow, let me explain:
    Most jobs I do the following, I work as a DIT and colorcorrect footage from lots of cameras on set and export them to any kind of codec using davinci resolve.
    The most time consuming progess is the neutralizing of all the different camera models..
    With plugins like re:match from re:vision it could save me some time, due to its good auto correction, which would give me a good starting point for my further colorcorrection.
    But in order to be faster than my normal way, I need to have some auto or same as source export funktion. Although when the clips match the original metadata I will have no problems in the later stages of my workflow.

  • The table with Name of 'Table Name' does not exist.An error occurred when loading the Model.

    The table with Name of 'Table Name' does not exist.An error occurred when loading the Model.
    We get this error when we try to check the properties of an analysis server using SQL Server Management studio(right click the instance name
    and check properties). We have resolved this issue twice by Stopping the SQL Server analysis service,removing db folders from Analysis Server Data folder and starting the services back on. The db folder that we removed was advised by the BI team.
    The SQL Server Analysis Server is 2012 SP1

    Hi RB_ORIPW,
    The table with name of 'XXX' doesn't exist.
    An error occurred when loading the model(Micorsoft.AnalysisServices)
    If I understanding correctly, you encounter the error randomly, now what you want it that avoid this issue completely, other than stop the services, detele the db filder and restart the services, right?
    The error might be caused by that the data file is corrupted. However, we cannot give you the exact reason that cause this issue. You can troubleshoot this issue by using the Windows Event logs and msmdsrv.log.
    You can access Windows Event logs via "Administrative Tools" --> "Event Viewer".  SSAS error messages will appear in the application log.
    The msmdsrv.log file for the SSAS instance that can be found in \log folder of the instance. (C:\Program Files\Microsoft SQL Server\MSAS10.MSSQLSERVER\OLAP\Log)
    Here is a blog about data collection for troubleshooting Analysis Services issues, please see:
    Data collection for troubleshooting Analysis Services issues
    Besides, here is fix that describe the similar issue, and it was fixed in Cumulative Update 7 for SQL Server 2012 SP1, please refer to the link below to see the details.
    http://support.microsoft.com/kb/2897263/en-us
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

Maybe you are looking for

  • Anybody else not a Verizon customer getting nowhere w/Verizon identity theft unit

    I am not a Verizon Wireless customer.  I was, but I changed over in 2011 because the coverage with another carrier was better than where we previously lived for 17 years.  We are middle aged, fiscally very conservative and sound, and expected no prob

  • Application Builder and Corrupt VIs

    Howdy All, I'm developing a Medium-sized application in LabVIEW 7.0 used for instrument control. This application has grown over-time, and currently contains approximately 400 VIs. The basic structure of hte appliation is one main VI that has an inst

  • Dow to put on iTunes gift cards

    Hello it's my 40th birthday today and I got £5,000 spending money in my bank and and a new car (Renault Clio) :) I buy an iPad 3 64 giga bites and its got cellyula or something on it. But it's what all they had in stock. I set it up and it took me a

  • Listener cannot solve service name

    Our server has 2 databases (8i) on AIX 4.3.3. I created a new one (newdb) for trainning. I modified listener.ora at /etc and $ORACLE_HOME/network/admin folders. Also modified tnsnames.ora on server side. On my workstation, there are 2 Oracle home. On

  • Result and league table

    I need to set up a fixture list/ results and linked league table in Numbers. I know it is possible in excel and open office, but I want to stay Apple friendly. I have tried to import the excel spreadsheet and Numbers 09 states it can not open it. Are