Best practice to export TV Guide to TXT / CSV files

Dear All,
I have working TV Guide exporting to XML using Oracle 10g. Now I have a request to allow to export it to a TXT file delemeted by commas or tabs.
Thought using of External Tables will do the work, same as I import the data, but seems that I am wrong - it excepts only ORACLE_DATAPUMP type,
so the file can't be seen in a simple notepad / text editor.
What shall I do? Is there any documents I can read about?
Many thanks in advance!

3360 wrote:
BluShadow wrote:
3360 wrote:
From 10g onwards you can write to external tables. I'd be glad to be proved wrong, I don't have 10g handy at the moment, but as I recall, you could only write to external tables in data pump format, which I think is some sort of binary wrapped xml format similar to export format, not plain text.Yes, my misunderstanding of the OP's post. (see above)
The dump file set is made up of one or more disk files that contain table data, database object metadata, and control information. The files are written in a proprietary, binary format, which can be read only by Data Pump Import.That's not strictly true. You can open them up in notepad/wordpad and clearly see the data in XML format. Ok, it's got some binary rubbish around it, but the data is clear.I think the quote from the manuals refers to systems that can read the file, rather than visually reading it on a screen. What is it with XML that people think 1) they can read it and therefore 2) computer programs must be able to read it too?I never said that. ;)
The issue was about being able to open it in notepad, not about a computer program being able to read it.
>
>>
Spooling generally seems the best option for writing plain text out of the database.Ewwww! not my best option. I prefer to keep things in the database rather than rely on external utilities like SQL*Plus. UTL_FILE generally does the job nicely.. otherwise write it all into a clob and use one of the various methods of writing out clobs to do it, but UTL_FILE is the simplest.Unless the stored procedure runs as a database job or schedule, something with an IO interface will be calling it. Compared to spooling UTL_FILE requires more code, is slower since it needs to loop and write a row at a time, can only write to the db server and needs directory objects, so it is both more complicated and limited.Spooling also has a nasty habit of adding an extra blank line on the end of the file. ;)

Similar Messages

  • Best practice for exporting a dps folio so a third party can work on it?

    Hi All,
    Keen for some thoughts on the best practice for exporting a dps folio, indd files, links and all, so a third party can carry on the work. Is their a better alternative to packaging each individual indd file and sharing the folio through adobe?
    I know there have been similar questions here in the past, but the last (that i've found) was updated mid 2011 and I was wondering if their have been any improvements to this seemingly backwards workflow since then.
    Thanks in advance!

    Nothing better than packaging them and using Dropbox to share. I caution you
    on one thing as far as packaging:
    http://indesignsecrets.com/file-packaging-feature-can-cause-problems-in-dps-
    workflows.php

  • Best practice for exporting from iMovie '08 to iDVD

    I am looking to find out what is the best practice for exporting from iMovie '08 to iDVD. I have read the other postings that give the basic howto (export to Media Browser then select the video in iDVD). However, my question is a little more technical. I have 1080i HD projects. I am interested in burning them to DVD in the best possible quality. What setting should I be using when I publish to Media Browser?
    I am wondering about quality loss due to more than one conversion/compression. I suspect that when I export to the Media Browser then this is occurring. If I am not mistaken iMovie is using something like H.264 for this. Then, when I run iDVD I suspect it will it do another conversion/compression, I think to get to MPEG2. Not only could this result in a loss of quality but also it will take extra time. I am interested to know what others think about this.
    Finally, I am looking to create DVDs for a lot of video. I am wondering if there are any USB or firewire hardware devices out there that could speed up the compression. I use the Elgato Turbo.264 when I want to encode to H.264 but I wonder if there is something similar for DVD creation.
    Thanks in advance.

    the standards for videoDVD are 720x480, and usually mpeg2 encoded..
    so, your HiDef project HAS to be 'downsampled' somehow..
    I would Export with Qucktime/apple intermediate => which is the 'format' your project is allready, and you avoid any useless 'inbetween encoding'..
    iDVD will 'swallow' this huge export file - don't mind: iDVD cares for length, not size.
    iDVD will then convert into DVD-standards..
    you can 'raise' quality, by using projects <60min - this sets iDVD automatically to highest technical possible bitrate
    hint: judge pic quality on a DVDplayer + TV.. not on your computer (DVDs are meant for TVdelivery)

  • Best Practices for Export

    I have recently begun working with a few AIC-encoded home movie files in FCPX. My goal is to compress them using h.264 for viewing on computer screens. I had a few questions about the best practices for exporting these files, as I haven't worked with editing software in quite some time.
    1) Is it always recommended that I encode my video in the same resolution as its source? For example, some of my video was shot at 1440x1080, which I can only assume is anamorphic. I originally tried to export at 1920x1080 but then changed my mind as I assumed the 1440x1080 would just stretch naturally. Does this sound right?
    2) FCPX is telling me that a few of my files are in 1080i. I'd like to encode them in 1080p as it tends to look better on computer screens. In FCPX, is it as simple as dragging my interlaced footage into a progressive timline and then exporting? I've heard about checking the "de-interlace" box under clip settings and then doubling the framerate but that seemed to make my video look worse.
    3) I've heard that it might be better practice to export my projects as master files and then encode h.264 in Compressor. Is there any truth to this? Might it be better for the interlaced to progressive conversion as well?
    Any assistance is greatly appreciated.

    1) yes. 1440 will display ax 1920.
    2) put everything in a 1080p project.
    3) Compressor will give you more options for control. The h264 from FCP is a very high data rate and makes large files.

  • Best Practices for Exporting Files??

    I'm new to Premiere (coming from FCP).  I used Premiere months ago to compress some ProRes files to h.264 files for the web.  I sent the files through Media Encoder and everything seemed fine.  However, I realized after several weeks that the audio in all of the files was a few frames out of sync.  Having not been a Premiere user at the time I did not do much research and decided to just use MPEG Streamclip from then on.
    Now that I'm learning how to use Premiere, I looked up the issue on the forums and found that many people have had similar issues with the audio being out of sync after exporting. However, there are tons of different scenerios in which it seems to be occuring.  The one common variable that I've noticed (among many of the threads, but not all) is that many of the people are exporting to a Quicktime format. 
    While I don't remember all the details of my export and sequence settings from my issue months ago (so I don't want to address that specific case), I am curious as to what are some "Best Practices" when exporting from Premiere Pro? Is there any advantage/disadvantage to use AME rather than exporting directly from Premiere Pro? In general, I will just be exporting as H.264 files for the web, MPEG-2 for DVD, and ProRes 422 for After Effects (or sometimes to bring into MPEG Streamclip). 
    I shoot almost entirely in AVCHD, and usually at 1080p 30fps.  I'm running CS5 on a Macbook Pro 15" 2.0 Quad Core i7 8GB RAM.
    While the question may seem broad, my main concern that I want to avoid is having the audio out of sync.  But also I just want to know of any important details to keep in mind to prevent other issues.
    Thanks,
    Mike

    > I'm running CS5...
    What specific version? We're up to 5.0.4 now.
    There have been bug fixes for audio/video synch in the updates. One of the fixes was for a bug in the conforming of audio and indexing of MPEG files, so you need to delete your media cache files and let Premiere Pro create new ones for this fix to take effect.

  • Best Settings for Exporting DVD Footage in a Movie File

    Hello,
    I've been trying to find the best settings for exporting DVD footage into a movie file from Adobe Premiere CS6.
    I recently have been using my Magnavox DVD recorder for recording VHS tapes that I made long ago for shows and various other things, and no matter what, my footage doesn't come out as it needs to be.
    Here's an example of what I did recently with my own settings:
    http://www.youtube.com/watch?v=qFV4sT7rHGs
    I'm not expecting HD footage, I know these are tapes, but I'm playing the raw footage on my Xbox 360, and it looks better than this. I had to directly use the VOB files on the DVD for this, as trying to rip the files into an AVI or any other format with a DVD ripper didn't do anything, in fact it degraded the quality and made the audio not play in Premiere.
    So what would be some good settings for exporting a sequence with DVD footage that is from a VHS into a movie file, preferably one that wouldn't degrade the quality?
    Thanks!

    First, read Why not edit mpeg http://tangentsoft.net/video/mpeg/edit.html to get a general idea of why a VOB makes a very poor source file (which is a renamed MPG, with some other stuff like menu screens)
    Also, Read Bill Hunt on editing a VOB/MPG file http://forums.adobe.com/thread/464549
    Once you have a DVD compliant VOB on your timeline, and understanding that a standalone DVD recorder sometimes plays fast-n-loose with "compliance" per the DVD specification, about all you can do is export to standard or widescreen DV AVI and accept the fact that re-encoding an already compressed file is just not going to give great results

  • How do i export my contacts into a csv file?

    I need to export my contacts into a csv file - Apple support says it can't be done.  Any suggestions anyone please?

    or -> http://lmgtfy.com/?q=Mac+OS+export+contacts+to+CSV

  • Exporting table data to a CSV file

    hello everyone,
    i need help on exporting table data to a CSV file.
    I have a div element containing the table which displays some data.
    there is a "Export" button just above the table, which if clicked, will export the current data in the table to a .csv file.
    can this be done in jsp? or i need to use servlet?
    also how can i submit the table data only? (as my webpage contiain other data also)
    can anyone provide with some sort of sample code?
    thanks in advance!!

    oops!!
    i just forgot..
    when the user will click on the export button, i want to greet him with a "Save As"
    popup, so that he can specify the filename and location to save the file.
    thanks!!

  • Exporting query results into a csv file using arabic and hebrew chars

    Hi,
    iv'e encountered a problem, using plsql to export a query into a csv file.. the arabic turns into question mark. Do you have any idea why?

    Usually this indicates a mismatch between client and database character set.
    How do you export this query?
    What is your database version?
    What is your client OS?
    T.

  • IPhoto 11: Best practice to export a slideshow

    Hi all,
    after reading some posts on this matter I'm almost more confused than beginning so I hope someone can help me with "latest" best practices.
    Hi have iPhoto 11 and normally I'm making slideshows for watching on HD TV.
    For DVD burning I'm using  Toast 11 (instead of iDVD).
    Then, considering that converting in DVD I'll loose in quality, which are the best export parameters I should use ?
    I've been suggested to use (I may have transalted something wrongly as I'm using the Italian version):
    Export -> Personal Setting
    Keeping "Export for Quick Time usage" -> Options
    Under Video tab:
    Compression: H.264
    Speed Frequency: 25 (for PAL) with Automatic below
    Compressor Quality: Max
    Codify: Quick (single)
    Under Dimension tab:
    Dimension: 1920x1080 HD
    Thanks in advance for your advice here.
    Regards
    Giancarlo

    OK, so let me repeat just to be sure I understood well.
    Could you confirm that all parameters I'm using are OK but dimensions?
    About dimensions:
    a. use 720x526 when I'm burning a standard DVD for 4:3
    b. use 1024x576 when I'm burning a standard DVD for 16:9 .... is this feasible or just a. is available ?
    c. use 1280x720 or 1920x1080 when I'm burning a BR (for HD watching)
    Am I right ?
    Regards
    Giancarlo

  • Best practice for exporting a .mov file for YouTube

    I am using FCPX 10.0.9 with a MacBook Pro. We are needing to upload relatively small-size high school football videos as .mov files to YouTube for my newspaper. I have been choosing the Export File option with the setting set to h.264, exporting the file to the desktop and then uploading that .mov file to YouTube. (I do not have Compressor installed on this Mac.) The other night the first of three files done like this uploaded fine, but the next two just kept processing and processing at YouTube and never finished. The following morning the files processed fine. Any thoughts about why ths might be happening?
    And would it be better to export in another file format --.mp4 files -- instead that might cause less of a problem and which of the export options would be best?
    Thanks,
    Douglas

    douglas i wrote:
    Am I correctly uploading a .mov file to YouTube by using the Export File command with the export setting set to .h264 then if I wish a reasonable size file for upload?
    Sure. There are many ways to get videos to YT and yours is a reasonable approach.
    "Reasonable size" should be thought of in terms of upload time. Again, YT will re-compress whatever you give it. So depending on how quickly you need to get it up on the Web, it's better to upload files that have more information than less information. (To that end, some folks upload very large Pro Res files; they also have a lot of patience.) 
    Just to let you know, the majority of FCPX users follow one of two workflows:
    1) Share>You Tube option and have FCP handle the uploading;
    2) Export as a Pro Res Master File; bring the master file into Compressor and apply the user's custom settings; upload using YT's uploader.
    FWIW, I prefer the second workflow.
    Russ

  • What is the best Practice to improve MDIS performance in setting up file aggregation and chunk size

    Hello Experts,
    in our project we have planned to do some parameter change to improve the MDIS performance and want to know the best practice in setting up file aggregation and chunk size when we importing large numbers of small files(one file contains one record and each file size would be 2 to 3KB) through automatic import process,
    below is the current setting in production:-
    Chunk Size=2000
    No. Of Chunks Processed In Parallel=40
    file aggregation-5
    Records Per Minute processed-37
    and we made the below setting in Development system:-
    Chunk Size=70000
    No. Of Chunks Processed In Parallel=40
    file aggregation-25
    Records Per Minute processed-111
    after making the above changes import process improved but we want to get expert opinion making these changes in production because there is huge number different between what is there in prod and what change we made in Dev.
    thanks in advance,
    Regards
    Ajay

    Hi Ajay,
    The SAP default values are as below
    Chunk Size=50000
    No of Chunks processed in parallel = 5
    File aggregation: Depends  largely on the data , if you have one or 2 records being sent at a time then it is better to cluster them together and send it at one shot , instead of sending the one record at a time.
    Records per minute Processed - Same as above
    Regards,
    Vag Vignesh Shenoy

  • Export data with Dreamweaver (TXT, CSV)

    Hi to all of the Adobe community.
    My question to me is a little hard for my level of knowledge.
    I'm using Dreamweaver using technology PHP / MySQL, in my database have a table in MySQL called mailing list, with the fields name and email.
    I have a php page that I developed using the Dynamic Table where it returns me a list of names and e-mail registrations. What I would like to make is that at the end of this table I have a link or a button called export data. I wish that when you export this data be txt or csv format.
    How?
    Export data and further define the format to be exported.
    I'm using Dreamweaver CS4.
    Rodrigo Vieira da Silva Eufrasio
    E-mail: rodrigo.mct @ gmail.com
    Mobile: +55 11 8183-9484
    Brazil - Osasco - SP

    It is doable.
    Assume for the moment that you are not paging the query results (that is, you are display ALL results at one time).
    You would need to do the following when the button is clicked (the action calling a separate file for the processing):
    Open a file on the server for writing ($ofile = fopen("data.txt","w");)
    Repeat your query but instead of echo $row_Record set.... you would use fwrite($ofile, $row_Recordset...
    In between fields you would need fwrite($ofile, "\t") to put in a tab or fwrite($ofile, ",") for a CSV,
    At the end of every line you would need a <cr><lf>: fwrite ($ofile, "\r\n");
    Close the file - fclose ($ofile);
    Then use the header function to force the download of this file like this.
    header('Content-disposition: attachment; filename=data.txt');
    header('Content-type: text');
    readfile('data.txt);
    The header function has to be the first thing sent to the user. Any white space would cause it to fail. I haven't tried this part after a DB query, but it should work. If it doesn't you will have to invoke the header routine in a separate file.
    Hope this helps.
    Barry

  • How can we export table data to a CSV file??

    Hi,
    I have the following requirement. Initially business agreed upon, exporting the table data to Excel file. But now, they would like to export the table data to a CSV file, which is not being supported by af:exportCollectionActionListener component.
    Because, when i opened the exported CSV file, i can see the exported data sorrounded with HTML tags. Hence the issue.
    Does someone has any solution for this ... Like, how can we export the table data to csv format. And it should work similar to exporting the data to excel sheet.
    For youre reference here is the code which i have used to export the table data..
    ><f:facet name="menus">
    ><af:menu text="Menu" id="m1">
    ><af:commandMenuItem text="Print" id="cmi1">
    ><af:exportCollectionActionListener exportedId="t1"
    >title="CommunicationDistributionList"
    >filename="CommunicationDistributionList"
    >type="excelHTML"/> ---- I tried with removing value for this attribute. With no value, it did not worked at all.
    ></af:commandMenuItem>
    ></af:menu>
    ></f:facet>
    Thanks & Regards,
    Kiran Konjeti

    Hi Alex,
    I have already visited that POST and it works only in 10g. Not in 11g.
    I got the solution for this. The solution is :
    Use the following code in jsff
    ==================
    <af:commandButton text="Export Data" id="ctb1">><af:fileDownloadActionListener contentType="text/csv; charset=utf-8"
    >filename="test.csv"
    >method="#{pageFlowScope.pageFlowScopeDemoAppMB.test}"/>
    ></af:commandButton>
    OR
    <af:commandButton text="Export Data" id="ctb1">><af:fileDownloadActionListener contentType="application/vnd.ms-excel; charset=utf-8"
    >filename="test.csv"
    >method="#{pageFlowScope.pageFlowScopeDemoAppMB.test}"/>
    ></af:commandButton>
    And place this code in ManagedBean
    ======================
    > public void test(FacesContext facesContext, OutputStream outputStream) throws IOException {
    > DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    >DCIteratorBinding itrBinding = (DCIteratorBinding)dcBindings.get("fetchDataIterator");
    >tableRows = itrBinding.getAllRowsInRange();
    preparaing column headers
    >PrintWriter out = new PrintWriter(outputStream);
    >out.print(" ID");
    >out.print(",");
    >out.print("Name");
    >out.print(",");
    >out.print("Designation");
    >out.print(",");
    >out.print("Salary");
    >out.println();
    preparing column data
    > for(Row row : tableRows){
    >DCDataRow dataRow = (DCDataRow)row;
    > DataLoaderDTO dto = (DataLoaderDTO)dataRow.getDataProvider();
    >out.print(dto.getId());
    >out.print(",");
    >out.print(dto.getName());
    >out.print(",");
    >out.print(dto.getDesgntn());
    >out.print(",");
    >out.print(dto.getSalary());
    >out.println();
    >}
    >out.flush();
    >out.close();
    > }
    And do the following settings(*OPTIONAL*) for your browser - Only in case, if the file is being blocked by IE
    ==================================================================
    http://ais-ss.usc.edu/helpdoc/main/browser/bris004b.html
    This resolves implementation of exporting table data to CSV file in 11g.
    Thanks & Regards,
    Kiran Konjeti

  • How to Export BW Query Report to .csv file

    I try to export BW QueryReport to .csv file using ReportAgent and URL command in WEB Template:
    <SAP_BW_URL DATA_PROVIDER='VIEW1' CMD='EXPORT' FORMAT='CSV'>
    but can't find the result file.
    Is someone have experience in exporting BW Reports to file in automatic way?

    Another way to do it would be to use transaction RSCRM_BAPI.
    Not ideal for large volumes but allows you to extract from a query.
    Regards,
    Mike

Maybe you are looking for

  • ORA-12712 error while changing nls character set to AL32UTF8

    Hi, It is strongly recommend to use database character set AL32UTF8 when ever a database is going to used with our XML capabilities. The database character set in the installed DB is WE8MSWIN1252. For making use of XML DB features, I need to change i

  • How do I print a interactive form out? It allows printing and filling.

    Hi, I'm trying to print out an interactive form that I filled out and then saved on my hard drive. The author allows printing and filling out of the PDF when it was created. I'm running Windows 7 64-bit and have Adobe Reader XI (11.0.06) installed al

  • JComboBox fires an event only after changed selection?!

    I have added a JComboBox to my application, combined with an ActionListener which is added to the combobox just after initialization. It works fine, but there is one problem left: Generally, an event for the ActionListener is initially only fired by

  • I/O error when adding quorum device

    Hi all, i'm in the process of building a two-node 3.2 Sun cluster using two HP DL380 servers. I seem to have managed to get the sun cluster 3.2 s/w installed on both nodes but i'm having problems adding a quorum device. Using either scsetup or clquor

  • Planning Result Track

    Dear, Is there any track report available for the Sales order or PIR based requirement. For example If I entered Sales Order -A . After MRP run i want see the status of my SALES ORDER- A(for material DE). I want to see the track "Is there any short f