Exporting text files in earlier editions of Oracle

I'm not familiar with Oracle, but hope someone might be able to help me out. I have filed an access to information request with a public agency for data that I'm told is in an Oracle database.
I have asked for the information to be released in flat text files but was told by the agency that they have an old edition (I'm not sure which one) and cannot export the information in that format as a result. As part of conditions for releasing any data to me, certain fields in their database will have to be severed to strip out personal information etc.
The agency says it can only provide the data in pdf, which I don't believe I will be able to use.
I'm wondering if this sounds like a valid argument - if there are earlier versions of Oracle that cannot export raw data in the format I requested. Or are there add-ons or aspects of each edition of Oracle that should make the severing and export possible?
Thanks for any help you're able to provide...

Any version of Oracle going back at least into the 1980s has the ability to output text files while simultaneously stripping out confidential/personal data.
Not one of them is capable of producing that output as a .PDF file.
Keep in mind that the people you are talking to may not know enough about Oracle to spell it correctly. If they need help they can contact me.
Refer them to:
SPOOL and UTL_FILE.

Similar Messages

  • Export text files

    Hi
    I need to export text files delimited by '|', but our data is very large, i want to know if i can use some database utility.
    would you help me with this problem ?
    Felix Ramirez.

    The quickest and easiest approach is to use SQL*Plus.
    spool "someFile.txt"
    SELECT col1 || '|' || col2 || '|' || col3
      FROM someTablewill generate a pipe-delimited text file called someFile.txt. Depending on the size of your data and the nature of the query (i.e. do you need to do this with a bunch of different queries), and the timing constraints, you could also write a simple JDBC or OCI application to dump the data. I seem to recall Tom Kyte having a script on asktom.oracle.com that will use utl_file to dump a delimited text file, but that's going to be the slowest option.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Exporting text files with wide row lengths

    Post Author: stingray454
    CA Forum: Exporting
    I'm using Crystal Reports v 9.2, and I'm trying to export a report to an ASCII text file that needs to have very wide rows of data, up to 420 characters long (wide) on each row.  This report will never be physically printed, only used to export an ASCII text file. 
    When designing the report, Crystal's page width is dependent on the printer driver used and the page width.  I obviously needed something wider than 8.5 x 14 in landscape mode to fit all the fields in a 420 character wide row.  I found by using an Adobe PDF generating printer driver, like CutePDF as the printer, I could go into the driver advanced setting, and set a customized PostScript page size up to 200 inches wide.  That works for creating a wide enough Report layout to place all my fields.  However, when I go to export the report to the TXT file, it cuts off at 22.5 inches or 180 characters wide when viewed in Notepad or any other text reader, even though the data is showing in Crystal Reports' preview mode. 
    My question is:  is there any way I could export an ASCII text file using Crystal Reports that has up to 420 characters wide in a single row?  Are there any characters per inch settings in Crystal? 
    Thanks!

    Post Author: mzellner
    CA Forum: Exporting
    Have you tested the limits of a csv? What you're doing sounds like creating a fixed length ascii record. I thought about writing a program to build fixed length records from a csv file. Maybe there's one out there somewhere, who knows?

  • Exporting text files with song names and artist names only

    I need help exporting a playlist as a text file. I know how to do this already,(right click playlist and select "export song list...") but when i open it up in notepad, it is unorganized and is very hard to read. I am burning a disc for my mom and pasting the playlist on the back of the cd cover. I dont want to type out every artist and song name. Help is appreciated.

    do you have a copy of Excel (or a different spreadsheet) on the PC, kevin? if so, try opening the text file with that. then it's relatively easy to remove information by deleting the columns of info that you don't want.

  • Fetching a text file into CLOB column in Oracle!

    Can anyone please help me to find out how to fetch a text file present on the network on to the CLOB column in Oracle 8i?
    I dont want to use BFILE for this.
    Please help its urgent.
    Love
    Prathab
    null

    Prathab,
    This is an example from the SQL package doc for DBMS_LOB, that reads from a bfile, and store in a lob.
    CREATE OR REPLACE PROCEDURE Example_l2f IS
    lobd BLOB;
    fils BFILE := BFILENAME('SOME_DIR_OBJ','some_file');
    amt INTEGER := 4000;
    BEGIN
    SELECT b_lob INTO lobd FROM lob_table WHERE key_value = 42 FOR UPDATE;
    dbms_lob.fileopen(fils, dbms_lob.file_readonly);
    dbms_lob.loadfromfile(lobd, fils, amt);
    COMMIT;
    dbms_lob.fileclose(fils);
    END;
    Hope it helps.
    Eric
    null

  • Removing unwanted control characters in exported text files

    I am currently evaluating Crystal Reports 2008 to determine applicability to our requirements. I need to export data files to continuous text to be read by other application software. I have successfully created the files but have what I believe to be page feed or end-of-page control characters (small rectangles) in the output. Can someone enlighten me as to how I can suppress or remove these control characters?

    In the export to text options enter 0 for the number of lines per page. This will produce an unpaginated text document without the page control markers.

  • Loading Data From a Text File Through an Application into Oracle

    Hi There,
    I have a web application that allows the user to upload a text file. This file is then processed by my application. Each line in the file is a new row I need to insert into my table.
    Currently, I batch 200 updates together and insert them into the DB.
    For about 3 million records this is taking much longer than I would like it to.
    Any suggestions for optimization?
    thanks.

    I put here a simplest demo (file has whitespace)
    I think it may help to start.
    --Structure of your file test1.dat (put in your directory)
    a1 b1
    a2 b2
    a3 b3
    a4 b4
    CREATE OR REPLACE DIRECTORY
    test_dir AS
    'C:\oraclexe\DIR' --or anywhere
    --GRANT READ, WRITE ON DIRECTORY  test_dir TO your_user
    --external table:
    DROP TABLE test_ext
    CREATE     TABLE test_ext
       (col1      CHAR(5),
        col2      CHAR(5)
    ORGANIZATION EXTERNAL
       (TYPE oracle_loader
        DEFAULT DIRECTORY test_dir
        ACCESS PARAMETERS
          (RECORDS DELIMITED BY NEWLINE
           FIELDS TERMINATED BY WHITESPACE)
           LOCATION ('test1.dat')
    SELECT * FROM test_ext
    COL1  COL2 
    a1    b1   
    a2    b2   
    a3    b3   
    a4    b4   
    Insert into another_table(another_col1, another_col2) (select col1, col2 from test_ext) if needed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Exporting Illustrator file in photoshop, editing doesn't work

    Hi there,
    I had created my web site layout in illustrator but realized how bad of an idea it was and would like to continue my layout in photoshop (CS5). I exported my .ai files into .psd. Only problem is I can't edit anything now. If I try to edit the text, move things around, crop... nothing works. Why?
    Thanks for your help!

    Illustrator is a vector editor.  Photoshop is a bitmap editor.
    By importing an Illustrator file into Photoshop it is converted into a bitmap and therefore individual components are no longer editable.
    A partial solution is to export/import each colour component separately and re-do all text.

  • Loading multiple text files from a folder into oracle clob field

    I would like to load about 300 word documents into a oracle clob field with each document inserted as a separate record.
    I'm not quite sure how to go about doing this. Is there a utility in oracle that would do this?
    I've looked at sql loader and utl_file but both require the name of the file. Is there a way I can do this?
    If its not possible using just oracle, does anyone know how I can do this in combination with perl?
    Many Thanks
    Sam

    I have no experience with this, but pl see if MOS Doc 73787.1 (How to Read A Binary File into BLOB Using PL/SQL) can help.
    Essentially, you will have to write code to loop thru all 300 files to load them into the database
    HTH
    Srini

  • Export to word/text file

    How to i export a html db report into .doc or .txt file.
    Once exported this file should be editable.
    Thanks a lot
    sudha.

    "Last Name","First Name","MI","Phone","Email","Location","Department","Office" "What","Ever","","123456789","mymailstop","Myloc","Mydep","Myoffice" "Shehan","Ashlee","","518 777 7777","mailstop","Location","Department","Office" "RAI","Aishwarya","","910090909090","bollywood","Bombay","Department","Office" "NASH","ELLIOT","","123456789","mailstop","Location","Department","Office" "Byrne","Rose","","1010101010","aroseisaroseisarose","Location","Department","Office" "Burnham","Lester","","0000000000","mymailstop","Myloc","Mydept","Myoffice"
    This is the output i got when i clicked on .doc link...
    In the output (though each line of data starts on a new line) the data is not separated into columns properly.My report has a description column which spans multiple lines so the columns are all mixed up and confusing to read.
    MS word asked me "the file conversion --text encoding --option(windows,msdos,other) --- I chose"windows".
    Do i have to change my word options or browser options to something else?
    Thanks a Lot,
    Sudha.

  • How do I move text files from my desktop to my iPod Touch?

    How do I transfer (export) text files from my Mac (word processor files) to the Notes app on my iPod?

    WesternGuy wrote:
    I am going to assume that I can move individual profiles, or even delete profiles that I no longer need.
    Just be aware that if you delete or don't move profiles that are currently assigned to images LR will (without warning) reassign those images with the Adobe Standard profile.
    You can use AnyFilter, Data Explorer, or DevMeta plugins to determine if any images are assigned to a profile you want to delete. You can then reassign the profile of your choice. Once that's completed you can safely delete the camera profile.

  • Text file to database

    hi all.
    please i need to read data seperated by coma from a text file and insert it in oracle database. how can i do this
    thanx

    Use this function (with Forms : TEXT_IO)
    (Change PIPE-delimited line with comma -delimited )
    create a FUNCTION in Program Unit
    FUNCTION TOKEN (LINEBUF IN OUT VARCHAR2) RETURN VARCHAR2 IS
    /* Returns the first token from the PIPE-delimited line */
    /* passed as linebuf. Linebuf then has that token stripped */
    /* so that subsequent calls return the second, third, etc. */
    FIRST_TOKEN VARCHAR2(70);
    PIPE_POS NUMBER;
    BEGIN
    PIPE_POS := INSTR(LINEBUF, ',');
    IF PIPE_POS = 0 THEN
    FIRST_TOKEN := LINEBUF;
    LINEBUF := null;
    ELSE
    FIRST_TOKEN := SUBSTR(LINEBUF, 1, PIPE_POS - 1);
    LINEBUF := SUBSTR(LINEBUF, PIPE_POS + 1);
    END IF;
    RETURN FIRST_TOKEN;
    END;
    Or If you are using 10gR2
    Look
    http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
    or
    http://www.oracle.com/technology/sample_code/products/forms/index.html
    or Francois Degrelle Blog(There is a example)
    http://fdegrelle.over-blog.com/
    Regards

  • Why is the History Brush only painting white on my picture instead of the colors from my text file?

    I am working on a project for my online class and am having difficulties with the History Brush.  Note that both files are identical in size etc.
    1.  I created a color text file and saved it with a specific name.
    2.  I copied an existing photo from iPhoto, as I couldn't import into PhotoShop,  and pasted it in a new file.  I then removed the white background layer and then saved it with its now specific name and closed the file.
    3. I re-opened the Color Text File.
    4.  I then re-opended my photo.
    5.  I performed a "Select All" from the menu bar of my active Photo then selected Edit - Copy and then closed my Photo file.
    6.  From my Color Text File I selected Edit and then Paste from the menu bar.
    7.  I selected Layer and Flatten Image from the menu bar.
    8.  I right clicked the background image from the Layers Panel and created a snapshot (which is my photo)
    9.  I selected the History brush and verified that this also displayed in the gray box associated with the Color Text file within the History Panel.
    10.  I verified that my photo image was displayed in my work area.
    11.  I start to fill the photo with my History Brush and the only color I get is White.
    Any assistance would be appreciated.

    You seem to think that a History State equals a Layer.  That couldn't be farther from the truth.
    aswencak wrote:
     …We are then suppose to click the History brush from the Tools Panel and verify that the little box next to the Tie-Dye image is selected and displays the History Brush.  Now the document area should display the photo, at this point we are suppose to paint the photo with 1 stroke.  The painted colors would be that from the Tie-Dye image…
    That's not clearly phrased, but it sounds totally wrong.  Again, a History State will not just show you what you just pasted, but your entire image, with ALL its layers.
    Normally, to use the History Brush one goes back one step in the History Panel AFTER you have created your snapshot, so that you'll be selectively applying the changes to your image as it was before the filter.  Here's an example:
    You've finished editing an image.  Fine.  Now you apply an Unsharp Mask filter (to the whole image, of course) and immediately create your Snapshot.
    Now you step back in the History Panel to the state BEFORE you applied the sharpening.  You make sure your History Brush is targeting the sharpened Snapshot, but you start painting on the History State BEFORE you applied the sharpening.
    Now you can start applying selective sharpening with your History Brush in whatever blending mode you wish.  For selective sharpening, the History Brush in Luminosity blending mode gives you fantastic results.
    Just remember:  History States are not like layers at all.
    In my opinion that's a lousy instructor who would make you use the Clipboard to illustrate the use of the History Brush.  … but that's just me.

  • Need to send the text file using webservice

    Hi,
    I want to send the text file with contains data through oracle pl/sql using webservice. How can i handle this program?
    Kindly share with your details.
    Thanks in advance,
    Maran

    user8732035 wrote:
    I want to send the text file with contains data through oracle pl/sql using webservice. How can i handle this program?Web services supply XML structured data. Not text files.
    PL/SQL supports web services (XML output) and web procedures (text and binary output).
    You need to clarify your requirements.

  • How can I get rid of "Jagged Edges" in FCP from .psd/.tif/.tga text files?

    Hi guys,
    I posted this once before but don't know if anyone looked at it or not.
    I am getting "Jagged Edges" in .psd/ .jpg/ .tif/ .tga text files
    when I edit them in FCP5.1.4.
    What is going wrong?
    It is getting very frustrating for me at this point.
    Can someone help me out please?
    Thanks,
    Zia

    The usual questions...
    Have the clips you're looking at been "fully" rendered?
    Are you looking at the computer monitor or an external broadcast monitor?
    You can't judge what you've got unless you look at FCP output on a broadcast monitor.
    rh

Maybe you are looking for