How to export a view
Hi,
I am working in 10g and i want to take the export of ony one view just like one table.Is it possible.
thank in advance.
Do you want to export the view definition or the data that would be selected from the view?
For the view definition, don't use dbms_metadata as it can choke if there are not spaces between commas and columns (among other things). If you go to www.optimaldba.com you can download a zip file containing (among other things) several calls to cleanly extract view definitions. (the file location is http://www.optimaldba.com/papers/RMOUG.zip)
If you are wanting to export the data and the view is simple, you might try using the QUERY clause for export
Similar Messages
-
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 helpUsing 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?
AmyHi,
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
In simple terms, I wanted to view the photos in Windows system, similar strcture of iPhotosIf 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 -
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 -
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 to Export/Import specific/selected table columns (can database view be
All,
I like to export and import some selected columns and rows of a table from one oracle database to another database.
For example, I like to export the following SQL's result data to another oracle database.
select ename, sal from emp where dno = 100;
Can I create a database view based on the above SQL and export the view with data (I don't think data will be exported along with database view?)
I know, I can do this either with SQL*Loader or by creating DBLink between databases and using insert-select statement.
Please let me know if this is possible in exp/imp.
Appreciate your help.
Thanks
KumarHello,
You can Query and table option to export and import and i recommend you to create parameter file to use query option
parfile.par
file=myexport.dmp
tables=table1,table2,table3
query="where dno=2"
..Conventional export/import, you can also consider using datapump if you are using 10g.
exp username/password parfile=parfile.par log=myexport.log
imp username/password file=myexport.dmp tables=table1,table2,table3 log=myimport.logRegards -
How to export a clip to be viewed on a Mac
I have a short video clip, just a couple of minutes, taken with a DSLR, it is a Quicktime .mov file. I have tweaked it in PE 10, now I'd like to save it as a file that a friend can view on a Mac. "File > Export" is grayed out. "Share" offers 3 options: Adobe Flash Video: MPEG: AVCHD. Unfortunately I know nothing about Macs except that Flash is verboten. And I know even less about AVCHD. Would a Mac be able to play an MPEG file? Or an AVCHD file??
I do not want to upload it to the Web, or share it on any sort of social network, just want to send a file as an attachment, or if that isn't practical I'll mail it on an SD chip. Preumably a Mac can play a .mov file.
And one other thing. I used Premiere Pro some years ago and I'm pretty sure that I used File > Export all the time, so why is Export not an option. I imagine there must be some way to export or presumably that wouldn't be listed under the File menu. I did a search for "file export" in PE 10 Help, no results, nothing! Under what circumstances would it be an option?
Help and enlightenment much appreciated.
DavidOldRhind
I would need more information about your Timeline content - especially frame size, frame rate, interlaced or progressive. You say it is a .mov file.
So for now, I will generalize....
Do you have the latest version of QuickTime installed on the computer with your Premiere Elements 10?
Share/Computer/Quicktime should be fine for a H.264.mov file export for viewing on Mac.
(Share/Computer/AVCHD might be a possibility for a AVCHD.mp4 file export for viewig on Mac)
Premiere Elements 7 was the last of the Premiere Elements versions to offer a section named Share as well as File Menu/Export/ with more than just the Export to Title. After version 7, there is a File Menu/Export, but it is only for saving titles created in the Titler.
Please let us know more details of your project settings so that we can fine tune the export suggestion with real numbers.
Thanks.
ATR
Add On...I did not see SG's post until after I had posted mine. -
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 -
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.
TiceHi 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? 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 -
How to export the Apex web page to PDF with click of a button?
How to export the Apex web page to PDF with click of a button?
Am looking at exporting the Form view on APEX to be exported to PDF.In order to get a PDF, you need to generate a Report....in PDF format.
If you are using the APEX Listener, you can initiate the download of the PDF by calling APEX_UTILS.download_print_document() (I normally place this in a Process)
BUT -- You have to create the Report (under Shared Components) and a Template (also under Shared Components).
The white paper in my first post gives you the HOWTO "[Create] Custom PDF Reports with Oracle Application Express and the APEX Listener".
Start by creating a Report (in Shared Components, bottom right) that uses a simple SQL statement like:
Select * from emp where empno = :P15_EMPNO
You may need to hard code the parameter before you hit "Download XML" button.
The XML that you get from clicking "Download XML" satisfies the "Step 1 - Create an XML Data Source" found on Page 11 of the document.
The rest of the instructions is in that whitepaper.
MK -
Hi All,
I am new to OBIEE and was confused about why exporting report views to Excel renders them as .mhtml documents.
I am using version 11.1.1.5.0
What I have tried doing so far is this:
Open Dashboard
Click 'Export' link under my target Analysis within the Dashboard
Excel 2003+
Save As: "SampleFileName.xls" /// type: Microsoft Excel 97-2003 Worksheet
Open the saved file
Get the following warning:The fild you are trying to open, 'SampleFileName.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?
Click 'Yes'
(the file opens)
Click 'Save As'the default 'Save as type' shows "Single File Web Page (*.mht, *.mhtml)
I was told to look into using the Delivery Manager APIs to see if I could export the Analysis as a clean Excel document. Is this the right place to look? If so, how would I go about implementing? Are there certain permissions I need within OBIEE in order to implement?
If you have other suggestions, please let me know.
Thanks!I managed to dramaticaly reduce the embedded code, by changing some export settings detailed below. It appears to be the fonts embedded as base64 by default. The following works well at reducing the size although not completely eliminating it.
options.embedRasterImages = false;
//options.compressed = true;
options.includeFileInfo = false;
options.preserveEditability = false;
//options.includeVariablesAndDatasets = true;
//options.slices = true;
options.fontType = SVGFontType.OUTLINEFONT;
options.fontSubsetting = SVGFontSubsetting.None;
options.optimizeForSVGViewer = true; -
How to export an album and keep images in the same order in elements 11 mac
I made an album of my trip to Australia (lots of pictures) and changed the order of the images (not the same as shooting order) and when I export the images in the album to a folder or memorystick, the images are copied to that place but I lost the album order of the images.
How can I prevent that, without having to renumber al 500 images separatly?
Gr JosThanks for the tip, Michel
It worked like a charm…
cheers Jos
Op 28 okt. 2013, om 18:49 heeft MichelBParis <[email protected]> het volgende geschreven:
Re: How to export an album and keep images in the same order in elements 11 mac
created by MichelBParis in Photoshop Elements - View the full discussion
JosU a écrit:
I made an album of my trip to Australia (lots of pictures) and changed the order of the images (not the same as shooting order) and when I export the images in the album to a folder or memorystick, the images are copied to that place but I lost the album order of the images.
How can I prevent that, without having to renumber al 500 images separatly?
Gr Jos
The order in album is only kept in the organizer database, so the only way not to lose that order is to rename files.
If you are using the 'export' function, select your album in custom order, select all photos and in the dialog, choose to rename with a common base name.
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5794538#5794538
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5794538#5794538
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5794538#5794538. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Photoshop Elements at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
Maybe you are looking for
-
How to recover file from Time Machine ".purgeable" backup
Hello, My TimeCapsule internal drive recently almost "died". Of course, it died a few days before I lost a very important file... When I enter TimeMachine in the Finder, I can go back in time a few days in the past, but not more, I can not access Sep
-
How can I convert a dBase IV file to Excel on my MAC computer??
How can I convert a dBase IV file to Excel on my MAC computer?? I downloaded the DoxBox program which enables me to use DOS programs such as dBase in my new MAC computer and it does work nicely!!
-
Error trying to run sample jsf_cardemo
Hi all, I tried to run jsf sample jsf-cardemo on oc4j 9.0.3 I deployed the war file jsf-cardemo.war which comes bundle with jsf1.1 release The same app is running perfectly on tomcat 4.1.29 But it gives me the following error in oc4j9.0.3 java.lang.I
-
Problem with forward using RequestDispatcher
Dear All Below is my code, which trying to use the RequestDispatcher.forward to go from a Servlet to a .jsp page. and use getServletContext().setAttribute("SvBio",vBio); to set an attribute It compiles finely but stuck at the forward request to the j
-
Non-printing of maps and other website document printing.
Since an update of Firefox (I don't know which one) I am unable to print maps and other online website documents. The maps comes up onscreen with no difficulty but when I choose "print map" the "print preview" and the actual print is blank. In the pa