How to export view

can exp/imp export the view in the user schema? If it can, how to write parfile?
please help...

Impdp/expdp is available with 10g+, you can see Note 341733.1 Export/Import DataPump Parameters INCLUDE and EXCLUDE - How to Load and Unload Specific Objects for complete information, here an example:
SYS@orcl > create directory scott_dir as '/oradata';
SYS@orcl > grant read, write on directory scott_dir to scott;
SYS@orcl > create user scott_vw identified by tiger default tablespace example;
SYS@orcl > grant create session, create view, create table to scott_vw;
$ expdp scott/tiger directory=scott_dir dumpfile=scott_vw.dmp include=view (all views)
$ expdp scott/tiger directory=scott_dir dumpfile=scott3.dmp include=view:\"\=\'EMP_VW\'\" (only emp_vw)
$ impdp system/*** directory=scott_dir dumpfile=scott_vw.dmp remap_schema=SCOTT:SCOTT_VW (import all the views into schema scott_vw)
$ impdp system/*** directory=scott_dir dumpfile=scott_vw.dmp include=view:\"\=\'EMP_VW\'\" remap_schema=SCOTT:SCOTT_VW (import only emp_vw into schema scott_vw)Enrique

Similar Messages

  • How to export view definitions

    I'm having following issue:
    I have created my own view definitions in Endeca Studio, via View Manager UI, and export them by following the recommendations found at https://wikis.oracle.com/display/endecainformationdiscovery/Export+View+Configuration.
    Such recommendations are to create a graph that connects to Endeca Data Store and saves all view configuration in the required format for the LoadViewDefinitions graph.
    Actually, I was able to create the graph and run it. After that, the xml file with the view definitions was created.
    However, when I tried to run the LoadViewDefinitions graph, to import the definitions of the xml file to other data store, the following error came out:
    Interpreter runtime exception in function substring on line 5 column 26 - 'String index out of range: -161'
    By looking at the xml file and comparing it with other xml files, I could see that it contains only one long line with all the code, and I think this is the cause of the import failure.
    Could anyone help me with this?
    Thanks

    Hi,
    Not sure if I understood when you said to delete that white space from xml file. The thing is that the xml file contains only one long line with all code, like this:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><listEntitiesResponse xmlns="http://www.endeca.com/endeca-server/sconfig/1/0"><semanticEntity key="LandedCost" displayName="LandedCost"><definition>DEFINE LandedCost AS SELECT...
    While other files that work are like this:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <listEntitiesResponse xmlns="http://www.endeca.com/endeca-server/sconfig/1/0">
    <semanticEntity key="LandedCost" displayName="LandedCost">
    <definition>
    DEFINE LandedCost AS SELECT ...
    What should I do with the one that does not work? Which white space are you referring to?
    Thanks

  • How to Export Snapshots and Materlized View in Oracle 9i

    Hi,
    How to Export Snapshots and Materlized View in Oracle 9i .
    I require to Migrate from 9i to 10g with either Export or Script.
    Please help

    Using exp-imp for snapshots generally causes problems, at least for me. I would prefer taking their creation scripts and running them on the new database.
    By the way, what do you mean by "migrate from 9i to 10g"? Are you trying to create the same snapshots in another (10g) database or are you trying to upgrade your 9i database to 10g? If it is the latter then you can just upgrade the database automatically with the upgrade assistant or manually using upgrade scripts.

  • How to export all the views in one schema?

    Hi,
    I have more than 1000 views in one shcema.
    How to export all the views in one schema?
    Amy

    Hi,
    It's not a very easy question, I have develop a script wich create a script to create view from old database to new database :
    /* &1: Oracle SID Source
    /* &2: Oracle Schema Source
    SET HEAD OFF
    SET VERIFY OFF
    SET PAGESIZE 0
    SET LONG 40000000
    SET LONGCHUNKSIZE 2000
    SET LINESIZE 2000
    SET FEEDBACK OFF
    CREATE TABLE RECREATE_VIEW(VIEW_NAME VARCHAR2(30), TEXT LONG);
    /* Selection du texte de la vue */
    DECLARE
    w_text long;
    w_text_debut long;
    w_text_column long;
    w_view varchar2 (30);
    w_schema varchar2 (8):='&2';
    CURSOR w_cursor IS
    SELECT a.view_name, a.text
    FROM dba_views a
    WHERE a.owner = w_schema;
    CURSOR w_column IS
    SELECT DECODE (ROWNUM,
    1, 'CREATE OR REPLACE FORCE VIEW ' || '&' || '1..'
    || a.table_name || chr(10)
    || '('
    || a.column_name
    || DECODE (ROWNUM, nbcolumns, ')' || chr(10) || 'AS' || chr(10), ',' || chr(10))
    FROM (select column_name,table_name
    FROM dba_tab_columns
    WHERE owner = '&1'
    AND table_name = w_view
    order by column_id ) a,
    (SELECT COUNT (1) nbcolumns
    FROM dba_tab_columns
    WHERE owner = '&1'
    AND table_name = w_view
    GROUP BY owner, table_name) b
    order by rownum;
    BEGIN
    OPEN w_cursor;
    LOOP
    FETCH w_cursor INTO w_view, w_text;
    EXIT WHEN w_cursor%NOTFOUND;
    w_text_debut := NULL;
    w_text_column := NULL;
    OPEN w_column;
    LOOP
    FETCH w_column INTO w_text_column;
    EXIT WHEN w_column%NOTFOUND;
    w_text_debut := w_text_debut || w_text_column || ' ';
    w_text_column := NULL;
    END LOOP;
    CLOSE w_column;
    w_text := w_text_debut||w_text||';';
    insert into RECREATE_VIEW(VIEW_NAME, TEXT) VALUES (w_view, w_text);
    COMMIT;
    w_text := NULL;
    w_view := NULL;
    END LOOP;
    CLOSE w_cursor;
    END;
    SPOOL scripts_views_&1..sql
    PROMPT SPOOL scripts_views_&1..log
    PROMPT
    SELECT TEXT
    FROM RECREATE_VIEW;
    PROMPT
    PROMPT SPOOL OFF
    PROMPT
    SPOOL off
    PROMPT /* Formattage du fichier SQL */
    !sed 's/[ ]*$//' scripts_views_&1..sql > aprilia.tmp
    !rm scripts_views_&1..sql
    !mv aprilia.tmp scripts_views_&1..sql
    DROP TABLE RECREATE_VIEW;
    EXIT
    I hope that help you.
    Nicolas.

  • How to export iPhoto Album in iMAC and have similar folder structure(with Timestamps) which can be viewed in finder

    How to export iPhoto Album in iMAC and have similar folder structure(with Timestamps) which can be viewed in finder
    In simple terms, I wanted to view the photos in Windows system, similar strcture of iPhotos

    If you want to copy all of your photos to a Windows machine and have them in folders representing the iPhoto Events the were in quickly and easily just do the following:
    1  - open the library with the Finder as shown in this screenshot:
    2 - COPY the Originals/Masters folder to the Desktop.
    3 - copy the Originals/Masters folder to the Windows machine.
    This will give you all of your original image file in their Event folder on the Windows machine.
    NOTE:  With iPhoto 8 or newer the Event folders in the Masters folder will be titled by date (EXIF) if imported from a camera.  If imported from a folder the event folder will have the same title as the source folder.  If imported singularly or in a group without a folder the title will be a date, either the EXIF date or import date.
    With iPhoto 7 (08) and earlier the Event folders in the Originals folder will have the same title as the Event has in the library.
    This method would be quicker but not provide the additional metadata you might have added in iPhoto like keywords, titles, descriptions that exporting out of iPhoto with Format=JPEG and the checkboxes selected to include keywords, titles, places, etc, checked.
    OT

  • 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

  • How may I view fonts in the watermark menu without having to export the image first?

    How may I view the fonts in the watermark menu without having to export the image first?

    Go to the Mac App Store main page and click on Support under Quick Links.
    (82704)

  • How can I view the size of a particular event in iPhoto '11?

    How can I view the size of a particular event in iPhoto '11? The 'Get Info' option is not displaying the size of the event like it used to in iPhoto 8.

    But the event does not really have a size - you can export the photos and make the size pretty much what you want - while it is in iPhoto it is an event
    I guess that iPhoto could report the size of the original photos as imported - or the size of the modified photos if exported as JPEGs - or the size of the modified photos if exported with a maximum dimension of 1080 - but the event simply is photos and does not have a "size" until you export it
    Obviously you want to know the size but the question was
    what is your puprose for knowing the size?
    WIth that information maybe there is a way to get you what you want
    But the basic answer is simply that an event does not have a size - an event is a collection of photos and each photo has either two or three versions in the iPhoto library and each photo can be exported for outside use in several formats and at any size
    LN

  • How do we view a list of the temporary and free sites we are using?

    Adobe Web Host - Free Sites /
    How do we view a list of the temporary and free sites we are using?
    When logged into Creative Cloud we used to be able to see the temporary and hoe many of the 5 free sites we were using. 
    Can’t find a list on my Creative Cloud account or when linking to "Manage" from within Muse /
    No mention of the free sites in the FAQs. Has there been a policy change ? Are free sites still included in the Subscription ?
    // from - Adobe Muse Help | Adobe Muse / Common Questions //
    When I publish in Adobe Muse CC, do I have to pay for hosting with Adobe?
    Adobe Muse CC allows you to publish your temporary website on the Adobe hosting platform at no charge for a 30-day trial period. This gives you the opportunity to send a live URL to your client for review. All sites in trial mode with Adobe will include the domain “businesscatalyst.com” in it. If you decide to take the site live by paying for the monthly hosting, you can transfer your own domain and remove the businesscatalyst.com subdomain. Or you can export the HTML and host the final site with a hosting provider of your choice.

    Yeah, not sure why they took it out of the cloud interface.
    But if you go to http://www.businesscatalyst.com/partnerportal and login with your cloud ID you will have access to all your cloud sites and many other features.

  • How to export photo to external hard drive?  (time capsule 3t)?

    cant find photo in hard drive. where does iphoto store photo? i looked for the foler everwhere....

    how to export photo to external hard drive?  (time capsule 3t)?
    Simple - launch iPhoto, select the phtoos and export (file menu ==> export) to the destination of yoru choice - see the user tip onexporting for details on the export optiopns - https://discussions.apple.com/community/ilife/iphoto?view=documents
    However is the Time Capsule being used for Time Machine backups? If it is do not use it as an external drive too - it needs to be dedicated to one use only
    cant find photo in hard drive. where does iphoto store photo? i looked for the foler everwhere....
    And this is a totally different question - by default in your iPhoto library - and to access then see the user tip on accessing yoru iPhoto files - https://discussions.apple.com/community/ilife/iphoto?view=documents
    You never access them directly - always using the supported access methods
    LN

  • How to restore views and procedures after drop user command?

    How to restore views and procedures after drop user command?
    We have 817 EE on NT and one developer created a lot of procedures, functions and vews. DB was not backuped and archived and export has not been done - our fault and we understand it. Sorry for this.
    Ok, now the story: another developer dropped this db user and we lost everything: procedures, functions and vews. The new user with trhe same name was created and new schema was imported in this user, but all old objects are lost. We don't have export and backup and archive log files.
    Question: may we can restore this lost stuff from some other sources. We are looking for lost codes, not data. May be we can use redo logs or shared pool or any other things. Any idea will be appreciated.
    Thanks.
    Victor
    [email protected]

    The switch has occurred after user was dropped, the data has been overwritten and there is be no way to use redo log files.
    I would like to explore another opportunity. Is possible to use Shared Pool or any Data Dictionary internal information to restore texts of the lost SQL and PL/SQL scripts executed in this DB before user was dropped? Not too many scripts are executed in this DB and the lost ones may still be in stack. I remember that Shared Pool (cash) should keep last executed scripts in order to improve performance. They probably are kept in some special format. Can we restore these scripts? Of course they also might be pushed out by Import that had been done after user was dropped.
    Thanks for your help,
    Victor

  • How to export "original" w/o Lr adjustments?

    I've searched this "6 ways from Sunday" and can't find an answer. Often I will start the edit process in Lr (making various adjustments including cropping, changes in white balance, etc.) and decide for variety of reasons that I need to work on the ORIGINAL file without Lr's adjustments. The export dialog has "export to hard drive" and under file settings: Image format "Original." Despite selecting this and requesting no other changes exporting ALWAYS includes Lr edits. I've worked in preferences and in the export options and as I said done a lot of searching but can't seem to get to the original (as in unaltered) file. The only way to do this is to go to the edited file in Lr and reset or delete all adjustments, then export. Note this also happens with "Edit in Ps." Why, you ask, would one want this? Example: I have to provide a team photo to the newspaper in a specific format. I then want to use the same original photo to create a poster for possible sale. (Do you have any idea how hard it is to get 15 kids to all have their eyes open at the same time? ) Of course the cropping and treatment of a poster is significantly different than that necessary for paper submission.
    Again, I've looked and doubtlessly overlooked, but can't find an answer. Any assistance is greatly appreciated.
    Robert
    Lr 5.3, Mac OS X 10.8.5 (all current updates) Original files are .CR2 though I can't see how this would be relevant.

    Thanks for the quick responses. Suzanne, the "Create Virtual Copy" is a great idea. I actually had no clue what Adobe meant by "virtual" in this case. Seems as if it's missed named as what one is doing is marking the original in place.
    Bob your explanation that it depends on how the the viewing program interprets the metadata makes sense. I can see an argument from Adobe that obviously you'll want to use the work you've done if you export it. On the other hand nearly all of my plugins provide a choice that says something like "Open with Lightroom changes?" Would be trivial for Adobe to add this both to "Export as Original" and to "Edit in Ps." I would argue that very few people would interpret "Export as Original" to mean "Export in original format, but include all the changes you've made."
    I came to Lr from a competing program that allowed one to set whether or not they wanted virtual copies created when an adjustment was made. I always chose this approach and while one might end up with several intermediate "views" they were easy to stack and easy to delete any you didn't want to retain. I note that there is stacking in Lr but haven't figured out what it does other than to take a selection of pix and put them in a pile.
    Again, thanks. I'll experiment.
    Robert

  • Anyone know how to export a PDF from InDesign so it is "click to go to next page" instead of "scroll to go to next page"?

    Anyone know how to export a PDF from InDesign so it is "click to go to next page" instead of "scroll to go to next page"?

    I don't use the latest InDesign, but in the past ID's options for exporting to PDF did not allow setting how a PDF should be viewed once exported.  However, these settings can be adjusted in Acrobat through Preferences: check out Page Layout and Zoom under Page Display.
    David

  • RE: How to export keywords tied to images

    Can someone give me a step by step as to how to export keywords from one computer so that they will be linked to images in an identical folder in another computer? Haven't been able to find a clear answer in this forum.
    Thanks.
    Tice

    Hi Jerome,
    I figured out that a change has to be done to load in the configuration, specifically in the Prepare View Stream component.
    Have you reviewed my comment on this post?
    https://wikis.oracle.com/display/endecainformationdiscovery/Export+View+Configuration
    Hope everything is fine on your side :)
    Thanks
    Matthieu

  • I have finally figured out how to export an iphoto album so that I can maintain the proper order of the photos after burning the file. How do I keep each individual photo title and description after exporting and burning?

    I have finally figured out how to export an iphoto album so that I can maintain the proper order of the photos after burning the file. How do I keep each individual photo title and description after exporting and burning?  Presently after exporting and burning each photo is identified by the file name rather than each individual title description.  

    File name and Title are not the same thing.
    Filename is attached to the Jpeg file in the Finder.
    Title is attached to the photo within the Jpeg file - as is the description. These are written to the Exif and IPTC metadata on export.
    So: File -> Export. Kind: Jpeg or Tiff and Check the box at 'Title and Keywords'. This will write the Title, keywords and descriptions (though not explicitly stated) to the metadata. This can then be viewed in any app that understand this material.
    You can choose, if you wish, to also use the Title as a Filename - that's an option at File Name
    Regards
    TD

Maybe you are looking for

  • My i tunes wont delete older version to download newer version

    my i tunes downloads new version 3/4 of the way then says it cant delete older version. Someone please help

  • I need a few beta testers

    I have the title creation macro working. This macro is run from a Microsoft Word document. I wrote it on Office 2003 but it should work on newer versions. It runs on 2003 because I have the compatibility pack. Here is how it works: You create a title

  • How to install crystalfox_qute-3.7-fx.jar

    I don't know how to install this add-on "crystalfox_qute-3.7-fx.jar", usually the extension for add-on is ".xpi" Firefox version 3.6.10 OS windows XP sp2

  • CS3 Pro ~ clickTAG help

    I am still new with Flash in general. I am creating advertisements to place on Google Adwords for my website: http://www.oldwestdvd.com . I read the other threads and I am still having problems with the "clickTAG" function. 1) This is what my current

  • NO AUDIO IN LEFT CHANNEL:What is the quickest/easiest way to troubleshoot?

    Can someone tell me how to troubleshoot the left audio channel? No sound in speakers nor headphones no matter what the source. Could this have been caused by the case being recently opened for the hard drive replacement (by an Apple authorized shop)?