Append new records for a spool file

Hello,
I am running a query and sending the output to a spool file.
The query never returns the same data because it is run every 2
hours
How can I make the spool to append the new records and not
overwrite the old records?
Thanks
Carlos

SPOOL.SPO[OL] [filename[.ext]|OFF|OUT]
Oracle documentation provides no indication that any append
functionality exists for the sql*plus command SPOOL.
I can recommend two solutions:
1. Spool to a temporary file in sql*plus, then perform a
concatenation using the OS. Automate the process with a shell
script (or batch file, as the case may be).
2. Write the file using DBMS_OUTPUT.
-Kevin

Similar Messages

  • I have added a new field in IT0006 ,Now when try to create a new record for

    Hi Experts,
    I have added a new field in IT0006 ,Now when try to create a new record for a employee.
    1,If I give the SUBTY in the PA30 screen getting an error "Don't Specify a subty error"
    if and remove the subty and press CREATE button popup's comes and list the subty values.......It was allowing me to enter the subty in the PA30 screen prior to my new field addition in IT0006... is't a problem with the new field addition?
    2, After I choose the subty value from the pop-up I am able to see the next screen....BUT GETTING AN INFORMATION MESSAGE THAT "Assignment to feature P0006 did not take place"?
    3,, In the next screen after I have passed all mandatory fields while attempting SAVE I am getting an error called " Time constraint table in T777D is incorrect" what could be the cause?

    How are u adding fields to table using append in se11 or pm01.
    if you are adding fields using se11 delete it and add it0005 in transaction pm01 and generate object.
    add fields to structure CI_XX_R0005 and generate screen and maintain entry and screen in maintance view add entry and activate program.

  • Append New Records

    How to append new records to already existing BDB file. I am using BDB 4.5 version.
    Example:
    i have created 1.bdb and inserted 10 records and closed the environment.
    now i have to append few more records into 1.bdb.

    Open the environment again, the db again and go about inserting records following the usual path in the code. Hope I understood the question right.

  • HELP: Appending new records to File containing 1 Record

    Hi, im transferring records to a file, the first line of the file contains the headers (used 'NO END OF LINE'). The problem is that when I write the data records to the file, the first record continues from the end of the Headers line, hence i have a record missing in my statement. I want to append the records below the Headers line. I tried opening the dataset 'for appending' instead of 'for output' but I get the same result.
    lv_ds_name_ex  = Filename
    Code:
    Getting field descriptions to use as headers and tranferring to file
      open the dataset
      OPEN DATASET lv_ds_name_ex FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    CLEAR: lt_dfies.
      " Get field descriptions from settlement table
      CALL FUNCTION 'DDIF_FIELDINFO_GET'
        EXPORTING
          tabname   = 'zrl_generic_record'
        TABLES
          dfies_tab = lt_dfies.
    write column headers to the file
      LOOP AT lt_dfies.
        IF lt_dfies-scrtext_m = 'Char15'.
          IF lv_counter < 1.
            lt_dfies-scrtext_m = 'Remuneration Amount'.
            lv_counter = lv_counter + 1.
          ELSE.
            lt_dfies-scrtext_m = 'Commission Amount'.
          ENDIF.
        ENDIF.
        TRANSFER lt_dfies-scrtext_m  TO lv_ds_name_ex NO END OF LINE.
        TRANSFER ';' TO lv_ds_name_ex NO END OF LINE.
      ENDLOOP.
    Close  DATASET lv_ds_name_ex.
    Transferring data records to file
    open the dataset
      OPEN DATASET lv_ds_name_ex FOR APPENDING IN TEXT MODE ENCODING DEFAULT.
    write records to the file
      LOOP AT lt_generic_record_csv INTO ls_generic_record_csv.
            TRANSFER ls_generic_record_csv TO lv_ds_name_ex.
      ENDLOOP.
      "close the dataset
      CLOSE DATASET lv_ds_name_ex.

    Solution: TRANSFER " " TO lv_ds_name_ex. (This simply adds an empty line/record with an end of line) see code before closing the dataset 
    open the dataset
    OPEN DATASET lv_ds_name_ex FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    CLEAR: lt_dfies.
    " Get field descriptions from settlement table
    CALL FUNCTION 'DDIF_FIELDINFO_GET'
    EXPORTING
    tabname = 'zrl_generic_record'
    TABLES
    dfies_tab = lt_dfies.
    write column headers to the file
    LOOP AT lt_dfies.
    IF lt_dfies-scrtext_m = 'Char15'.
    IF lv_counter < 1.
    lt_dfies-scrtext_m = 'Remuneration Amount'.
    lv_counter = lv_counter + 1.
    ELSE.
    lt_dfies-scrtext_m = 'Commission Amount'.
    ENDIF.
    ENDIF.
    TRANSFER lt_dfies-scrtext_m TO lv_ds_name_ex NO END OF LINE.
    TRANSFER ';' TO lv_ds_name_ex NO END OF LINE.
    ENDLOOP.
    TRANSFER " " TO lv_ds_name_ex.
    Close DATASET lv_ds_name_ex.
    open the dataset
    OPEN DATASET lv_ds_name_ex FOR APPENDING IN TEXT MODE ENCODING DEFAULT.
    write records to the file
    LOOP AT lt_generic_record_csv INTO ls_generic_record_csv.
    TRANSFER ls_generic_record_csv TO lv_ds_name_ex.
    ENDLOOP.
    "close the dataset
    CLOSE DATASET lv_ds_name_ex.
    Edited by: Daniel Lebotse on May 15, 2008 5:42 PM

  • How I can append new node in existing  XML file

    I've just begun learning DOM XML , so I'm currently at a very beginner level.
    I have an existing XML file that I would like to add an additional node to before saving it to another variable.
    how I can append new node in this file.
    now this code is overwrite new data over old data
    The code looks like this:
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.Result;
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.TransformerFactoryConfigurationError;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Attr;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    public class VerbXMLWriter
        static String EVerb3;
        static String englishTranslate3;
        public void VerbXMLWriter(String EVerb, String englishTranslate )
             EVerb3 = EVerb;
             englishTranslate3=englishTranslate;
        File xmlFile = new File("VerbDB.xml");
        DocumentBuilderFactory factory =  DocumentBuilderFactory.newInstance();
        try
         DocumentBuilder builder = factory.newDocumentBuilder();
         Document document = builder.newDocument();
        Element root = document.createElement("Verb");
         document.appendChild(root);
         Element verb = document.createElement(EVerb3);
         verb.setAttribute("EnglishTranslate",englishTranslate3);
         root.appendChild(verb);
         Source xmlSource = new DOMSource( document );
         Result result = new StreamResult( new FileOutputStream(xmlFile) );
        TransformerFactory transformerFactory = TransformerFactory.newInstance();
        Transformer transformer =
        transformerFactory.newTransformer();
        transformer.setOutputProperty( "indent", "yes" );
         transformer.transform( xmlSource, result );
      catch(TransformerFactoryConfigurationError factoryError )
        factoryError.printStackTrace();
       catch (ParserConfigurationException pc)
           pc.printStackTrace();
       catch (IOException io)
          io.printStackTrace();
       catch(Exception excep )
           excep.printStackTrace();
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <Verb>
    <Play EnglishTranslate="playing" />
    </Verb>Edited by: itb402 on Mar 9, 2008 6:05 AM

    in your code you are already appending new nodes to the root node. so what exactly is your problem? The following steps are usually taken for appending a new node:
    1. Read the XML document
    2. Build a DOM tree
    3. Navigate to the node under which you want to insert the new node
    4. Create a new node.
    5. Insert the new node to the node selected in point #3.
    ~Debopam

  • Ctx.SaveChanges() creates new records for related tables

    Ok, this is my first stab at EF Code first, so forgive me if this sounds stupid.
    I have a simple database and want to add a record in the main trans table. It has 2 foreign keys to 2 reference tables. I wire up the data entry screen in WPF (MVVM) and populate the entity. This entity has the correct references to existing records in the
    reference tables. 
    However when I call save changes it adds the trans record, but also ADDS new records to the reference tables (producing duplicates). I do not want to add records to the reference tables, but rather use the existing records.
    I'm sure it's a simple thing, but I am stuck.  Any help would be appreciated...
    Thanks,

    Thank you for the response. I probably didn't phrase it clearly...
    I have a simple Warehouse attendance app that will record when people are absent and the reason. I have 2 fixed reference tables. One is a list of employees, the other is a list of reasons (s - Sick, V - Vacation, etc...)
    User enters a date, then selects a employee from a drop down and a reason from a drop down.
    01/08/2015      Joe Smith     S - Sick
    Both the employee object and reason object (in my record class) point to valid existing records from their reference tables.(i.e employee Joe smith has an Id of 57) 
    When I call ctx.SaveChanges();
    it adds the record to the attendance file, but also adds a record to the employee and the reason table. I now have 2
    Joe Smiths in the employee table as well as 2 S - Sick Reason codes.  Joe Smith was added again and now the employee object points to Joe Smith with an Id of 58.
    Here is the record class:
    public class Record
        public int Id { get; set; }      
        public virtual Employee Employee { get; set; }
        public virtual Reason Reason { get; set; }
        public DateTime Date { get; set; }
        public string Notes { get; set; }
        public Record()
            Date = DateTime.Now;
        public string DayOfWeek
            get { return Date.DayOfWeek.ToString(); }

  • "A new folder for every project file"

    Aha!!  Right, from now on ... (thanks Steve)
    From the Muvipix.com Guide to Adobe PE11 by Steve Grisetti
    (p 36) [on starting and saving a new project]
    2     Click the Browse button to choose a location to save your new
    project file.
    We at Muvipix recommend always selecting the Browse option and,
    wherever you choose to save your file, creating a new folder for every
    new project file.
    This little bit of housekeeping keeps all of your new project's files in
    one neat, little folder. And, when your project is done and you want to
    clear it from your computer, you can then remove not only the project
    file but all of the temp, render and scratch disk files Premiere Elements
    has created for that project simply by deleting that single folder!
    This makes post-project clean-up a much easier and neater process.
    OK, hope I've got it this time (at last)
    cheers
    Brian

    Oh no!  I thought I’ll re-work that Canal video again, but this time saved the project from the very start in a new folder on an ext HD (500 GB) connected USB3.0.  Tried all sorts of things on it, saved each time in the same folder.   Cleared all 14 clips from Project Assets (which of course emptied the timeline).   Shut down PE11.   Checked via Windows Explorer that the project files were all on the ext HD – and by the way, there are no other files on it, just the PE files.  My understanding is that Advanced System Care Pro (Iobit) regularly defrags all my drives if necessary (tho’ I haven’t done this manually for months with this drive).
    OK, opened PE, went to Open Recent Projects, it shows the above .prel file and the entire path, I click on it and – 
    Weird, just weird
    Nil desperandum
    Brian
    Edited --- and another weird thing, my email isn't sending the complete message I type to this forum.   I sent a whole message once and it never appeared, but this time it's cut off half a sentence above (it did this before, earlier today).
    That sentence should read,
    OK, opened PE, went to Open Recent Projects, it shows the above .prel file and the entire path, I click on it and – nothing happened!   (You'll have gathered that's what happened, but I wrote it in my Windows Live Mail, sent via BT-Yahoo ISP ......... )  Hey wait, there was a whole lot more.
    Here's a copy / paste from Windows Live Mail outbox
    It’s so odd, because as I said previously, most of the time it works so well, does all the things it’s supposed to do.   I followed Steve’s instructions here to the letter.   By the way, as you know, it’s not just the ext HD, this has been happening all along with allowing PE to save everything in its default Folder 11.
    I would be – now – very sorry indeed to have to abandon PE11 simply on this account, but it’s causing me to waste such a lot of time.   (Let alone the expense of buying it, plust one Lynda.com course, plus 2 books – not forgetting that I’d previously tried the Corel software and bought a book and DVD for that too!!)
    Might just use – what’s that simplicity-itself thingy everyone uses who just want to get any old kind of thing up on You Tube ..........   Oi vey!! <<more weary sigh>>
    Weird, just weird
    Nil desperandum

  • HELP NEEDED: Use a new record for a customized table as a workflow trigger

    Hi SAP Workflow Gurus,
    Good day!
    One of our requirements is to have the creation of a new record in a custom database table trigger a workflow. I read and followed the steps as indicated in this link
    http://www.****************/Tutorials/Workflow/Table/events.htm
    As a summary, here is what I did:
    1. Created a subroutine for the custom table ZPA2003 for the create event
    2. Defined this event as a trigger for the custom workflow WS90000019
    3. Maintained and activated the event linkage via SWETYPV
    Basically I tried following the instructions indicated on the link
    Note that the entries for the custom table are created via a function module.
    Now during testing of the workflow, the system was able to complete the notification message. However, when I triggered the event via creation of the entry in the custom db table nothing happened
    1. Is there a way to debug/find out whether the link between the subroutine in the table and event itself are connected?
    2. I also tried running the event trace to check the activities executed but found nothing.
    Can you guys help me check on what I may have missed out?
    Regards,

    Hi All,
    Basically these are the requirements for the work schedule substitution:
    1. Employee enters the request via ESS (custom portal transaction)
    2. Upon saving of the entry (request) in a custom  table, this should trigger the workflow at the backend
    3. The Manager should then receive a work item in his Universal Worklist at the MSS side of the portal
    4. Upon clicking on the work item, a new screen will pop up showing the work schedule substitution details as well as an interface which will allow him to enter his/her usage decision
    5. Depending on the decision, the workflow must execute the necessary notifications as well as changes in the custom and PA2003 tables
    Now, we have accomplished step 1 and I am currently in the process for step 2. Now I have some queries:
    1. For the Manager to view and approve the substitution details, I used two methods for each process (view and approve) since our ABAPer mentioned that this cannot be done in 1 function module. Is there a way to simplify this step or is it really valid that they need to be executed in 2 different methods?
    2. As per our ABAPer, function Modules only import and export variables; they do not have the facility of say having tags on the details being displayed. Hence, if the details are 10001 (Employee Number), 10/20/2011 (Start Date), 10/25/2011 (End Date) the output would be 10001, 10/20/2011, 10/25/2011. Is there a way within the function module (or dynpro interface) to show it like this: Employee Number: 10001
                               Start Date: 10/20/2011
                               End Date: 10/25/2011
    3.  Speaking of dynpro applications, do I need to still develop one to allow the Manager to view and approve/reject the request via the MSS portal upon accessing the work item via the UWL? How would the work item go about calling the dynpro application? or is this even possible?
    It would have been easier if the facility would not pass through workflows since it will be just direct web dynpro/ABAP calls. Having to include it as a work item in the UWL puts a certain twist to it
    Your inputs are well-appreciated.
    Regards,

  • 0 down vote favorite        I would like to ask the following question. I am using mac os x 10.9 maverics me quicktime player version 10.3. Can I trim a video recording without having to press the pause or save it as a file? Or can I add a new recording t

    0 down vote  favorite  
    I would like to ask the following question. I am using mac os x 10.9 maverics me quicktime player version 10.3. Can I trim a video recording without having to press the pause or save it as a file? Or can I add a new recording to a video file? Thanks in advance

    Well,
    I tried the "Internet Recovery" option and finally saw Mac OS X Mountain Lion's install page but after waiting 7 hours when I just thought its going to start installing, I got another progress bar with 36 hours remining time to download "Additional Components" then after progressing 2-3 hours, it shows "Unable to write installation something..., Contact Apple Care"
    Then I accidently rebooted the machine and now it seems Internet Recovery don't work anymore, it shows "support.apple.com - 40 something!" error, and finally when I tried to reboot using Recovery HD, I found it's gone as-well!
    To be honest, I don't know what to do now, I am and dissapointed... also I do not have any Apple Store nearby, there is an authorized country reseller almost 650/km far away from my residents and they even charges too high (like $250) for doing such repairs (as per phone conversation)
    If anyone have any idea or anything to help me with, please do share- I'd be eternally grateful!

  • Putting date and time in a spool file name for output

    I have bee trying to find this answer but don't know where to look: I want to take all or part of the date and/or time to create a unique filename on the fly for a spool file. Can someone point me in the right direction? I am using SQL*Plus.

    undefine curDateCol
    column curDateCol noprint new_value curDateCol
    select to_char(sysdate,'YYYYMMDDHH24MISS') curDateCol from dual;
    undefine fileName
    define fileName=/myFileName_&&curDateCol..csv
    prompt creating &&fileName ...
    set echo off
    set termout off
    set showmode off
    spool &&fileNamehth

  • Acrobat 9 Std-how to append new pages to existed/opened pdf file

    i am using Acrobat 9 standard version.
    when i used the scanner to create a pdf, but the file had many pages so i could not finish it before lunch. Therefore, i had to append new pages to the opened file.
    In past, 7 standard i could choose append to the opened file but 9 standard i don't have this function. Finally, i found the
    DOCUMENT / SCAN TO PDF / CUSTOM SCAN / TICK THE APPEND TO .....
    But, only 1 scan is allowed , what can i do now ????

    You can scan to different files, the you should be able to insert the
    second group of files into the first file using Documtent->Insert Pages.
    Mike

  • Make Record for folder and multi-selected files

    Hi,
    'Make Record' item disappeared in MENU for folders not for files.
    And it can't make record for multi-selected files.
    I can only make Record by one and one.
    How to make Records for folder and multi-selected files?
    Regards
    Kitae

    Programatically, only a single document at a time can be made a record :-
    makeRecord
    public Item makeRecord(long parentId,
    long docId,
    NamedValue[] attrs,
    AttributeRequest[] attributes)
    throws FdkException
    You could potentially through a custom workflow triggered on UserRequest allow multiple submitted documents to be made records through a custom BPEL process calling Content DB Web Services.
    Matt.

  • How to get the number of rows written to the header of the spool file.

    Hi
    I need to create a header line for the spool file .
    the header line should include fixed length values .
    The header should include the number of records found in the table with a maximum begin date (begin_date is the column of the table)
    To get the header in the spool file , i wrote a select query has :-
    --SPOOL 'C:\Documents and Settings\abc\Desktop\output.TXT'
    select 'W'||to_char(sysdate,'MM/DD/YYYYMi:HH:SS')||lpad(max(rownum),9,'000000000') ||'R'||max(to_char(school_from_date,'MM/DD/YYYY')) ||
    rpad(' ',76,' ')
    from dad.school
    group by sysdate;
    SPOOL OFF
    which gets me all the rows in the table , but i only want the rows with the latest school_begin_date .
    how can i achieve that ...
    I know that a subquery should be written in the from clause to get the number of rows found with a maximum school_begin_date.
    select 'W'||to_char(sysdate,'MM/DD/YYYYMi:HH:SS')||lpad(max(rownum),9,'000000000') ||'R'||max(to_char(school_from_date,'MM/DD/YYYY')) ||
    rpad(' ',76,' ')
    from dad.school where
    select rownum from dad.school
    where school_begin_date = max(school_begin_date) ;
    the error i get is
    ORA-00934: group function is not allowed here
    I NEED HELP ..IN GETTING THE ROWNUM JUST FOR THE LATEST BEGIN_DATE ?
    PLS HELP ME IN WRITING THE QUERY .
    THANKS IN ADVANCE .

    Try this:
    select 'W'||to_char(sysdate,'MM/DD/YYYYMi:HH:SS')||lpad(max(rownum),9,'000000000')||'R'||max(to_char(school_from_date,'MM/DD/YYYY')) || rpad(' ',76,' ')
      from dad.school
    where school_begin_date = (select max(school_begin_date)
                                  from dad.school);

  • Spool file of a background job

    Hello Friends,
    In an SAP system, there is a background job which creates a spool file.
    If there is no printer configuration done on the SAP server, how to find the location of this file in the filesystem?
    Thanks & Regards,
    Kunal Patel.

    Hi,
    Thanks for your reply.
    I was able to locate the file in the filesystem.
    Actually I changed a setting in the printer LOCL so that the spool is stored in Global directory.
    But now there is a new problem.
    The spool file in the filesystem is in a very different format as below:
    Could you let me know how to change the format of the spool?
    Command executed:       more : /usr/sap/DHS/SYS/global/100SPOOL/00010000026674 :
    Target host:            unix0006
    COL0N COL0H05.03.2008
    4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
    4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
    5
    5      5Lene
    5      5Gitte
    5      5Orla Bech
    5      5Janni                                    5We
    4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 3 -  P                                              COL0N COL0H05.03.2008
    4 4 4 4 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4
    4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
    5 ú    5
    5 ú    5
    5 ú    5
    Rgds,
    Kunal.

  • Spool file contains spool off; statement and a / in it .how to remove these

    Hi ,
    I am new to using forums.
    I am a basic beginner user of oracle .
    I need to spool the output of 2 select queries into a file.
    I could achieve it.
    But the file also contains ,
    SPOOL OFF;
    in it . How to avoid these in the file.
    Any help is appreciated .
    thanks

    user11768287 wrote:
    Hi
    I checkout and created a .sql file .
    But the spool file , contains an empty line after every record is printed. These are the heading i am using.
    SET HEADING OFF
    SET ECHO OFF
    SET TERMOUT OFF
    SET VERIFY OFF
    SET FEEDBACK OFF
    The spool file starts with a blank line followed by the record and then blank line after every record .
    What to do to get all records one after the other without blank lines in between the records in the spool file.
    In addition to Toni's mention of PAGESIZE and TRIMSPOOL, look at LINESIZE. Also, what are you using to view the spooled file? Are you sure you aren't just seeing line wrap within that application - like Notepad?
    Thanks ...

Maybe you are looking for

  • RFC - XI - SOAP ERROR.

    I get a difficult error now, following is the error. my scerio is rfc -> xi -> soap. http://90.3.9.11:7001/axis/DocumentService.jws?wsdl   <?xml version="1.0" encoding="UTF-8" ?> - <wsdl:definitions targetNamespace="http://90.3.9.11:7001/axis/Documen

  • How to prevent changes to SOLD TO in sales order

    Hi, Can someone remind how to stop users from changinf the address of the SOLD TO in a sales order? We allow users to change the SHIP TO address but sometimes they select the wrong partner and update the SOLD TO and then the delivery is made to the w

  • Phone will not sync to new pc. dont want to sync and loose data on phone

    I loaded software on my pc – pc was stolen – all info is on my phone but not new pc.  New pc has a different name and now phone will not sync and keep current info, I don't want to lose my data on phone.  I have changed my password many times – if I

  • Color Swatch changes when opened in Photoshop CC 2014

    I'm not sure if anyone else has encountered this, here is the scenario: I create a CMYK color swatch in Kuler and save the swatch, download it as a .ase file, and then load the swatch in Photoshop CC 2014.  When the swatch is loaded all of the colors

  • Listing objects in a tablespace

    Hi All, I am planning to drop some of the tablespaces from DB and I want list and need to know what are the objects present in the tablespaces, is this possible? I tried with dba_tables, dba_tablespaces but couldn't proceed with it. Please help me ou