How can I get size of fetched data size when run a SQL ?

Hi,
When I run a SQL how can I get fetched data size?
regards,

We can get it using some calculations:
1. SQL%ROWCOUNT attribute will fetch you number of rows returned in a SQL statement.
Problem-->Now you need to get the size of 1 row.
Solution-->
Step 1.We can get size of table from dba_segment data dictionary.
Select block_size from dba_segemnts where segment name like '%YOURTABLE%';
Step2 . Get count of rows in your table
Select count(*) from YOUR_TABLE
Step 3.
Get size of 1 row--> Divide result in Step1 by result in Step 2.
Required result--> multiple result in step3 with SQL%ROWCOUNT..
I hope this is what u want.

Similar Messages

  • How can we get Dynamic columns and data with RTF Templates in BI Publisher

    How can we get Dynamic columns and data with RTf Templates.
    My requirement is :
    create table xxinv_item_pei_taginfo(item_id number,
    Organization_id number,
    item varchar2(4000),
    record_type varchar2(4000),
    record_value CLOB,
    State varchar2(4000));
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
    select * from xxinv_item_pei_taginfo;
    Item id Org Id Item Record_type Record_value State
    493991     224     1265-D30     USES     fever     TX
    493991     224     1265-D30     HOW TO USE     one tablet daily     TX
    493991     224     1265-D30     SIDE EFFECTS     XYZ     TX
    493991     224     1265-D30     DRUG INTERACTION     ABC     TX
    493991     224     1265-D30     OVERDOSE      Go and see doctor     TX
    493991     224     1265-D30     NOTES     Take after meal     TX
    Above is my data
    I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
    In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
    its a BI Publisher report.
    please suggest

    if you have data in db then you can create xml with needed structure
    and so you can create bip report
    do you have errors or .... ?

  • How can i get acsess to my data if my iphone is shut and can´t open any more??how can i get acsess to the memory card, how can i get acsess to my data if my iphone is shut and can´t open any more??how can i get acsess to the memory card

    how can i get acsess to my data if my iphone is shut and can´t open any more??how can i get acsess to the memory card????please help

    You can't. There is no memory card. It uses flash memory that's soldered to the logic board. If you didn't back it up, your data is gone.

  • IOS 8.1 - after update how can I get my lost calendar data back?

    Hi, after the update to iOS 8.1 is my calendar empy. All my appointements are gone and there is no way to safe new appointments in it. I tried to use the backup  of the data, but it did not work. Any clou how can I get my lost calendar data back? And or get the calendar working again???
    Thanks!

    You sign into whatever iCloud or Mail account the calendar was synced to, and enable the Calendar option for those accounts.

  • How can i get report between two dates?

    Hi
    how can i get report between two dates?
    for example i want get reports between 20/4/2002 & 27/4/2002.
    my table has date column and i can get first date( exam : .... where date:=a and/or ....i don't know this part)
    thanks alot.
    Regards
    The Oracle Reports Team
    http://otn.oracle.com/

    where exam_date between :from_date and :to_date
    from_date and to_date are user_parameter

  • HT1212 my niece's device is locked fro 23 million minutes!!!! How can i get round without losing data as at 8 she hasnt backed up!

    my niece's device is locked for 23 million minutes!!!! How can i get round without losing data as at 8 she hasnt backed up!

    If you restore you will have to restore to latest Apple's software, that frankly *****. I did it and I completely regret. On iOS 6.1.5 NOTHING works.

  • How can I get a small window to open when a link is clicked (AS2)

    Hi i,m developing a HTML site and used one animated flash button(AS2) I want a small sized window to open when a user clicks on a button.
    The window will contain information that i want to display.It dosnt require a normal 800x600 window to open. I just want a 1/4 size of 800x600 etc. Is this possible and if so how.
    I havnt done this before
    Thanks
    Manoj

    HELLO NED,
    I WAS RECEIVING MANY MAILS FROM YOU, BUT I DON'T UNDERSTAND WHY DOESN'T RELATED WITH MY PETITION, I SEND
    TO YOU AGAIN MY QUESTION, AND IF YOU CAN HELP ME I APPRECIATED VERY MUCH LET ME KNOW.
    THIS IS MY QUESTION....."ABOUT DATAGRID AS3
    Hello Ned, I appreciate very much your soon answer, I believe you have understand me, but how can I do that? could you give some help? This is part of the code and this is the function that I use
    var url: String = "xmls/rests.xml";
    var req:URLRequest = new URLRequest(url);
    var myLoader:URLLoader = new URLLoader();
    myLoader.addEventListener(Event.COMPLETE, completeHandler);
    myLoader.load(req);
    function completHandler(event:Event):void {
           var myLoader:URLLoader = event.currentTarget as URLLoader;
           var xmlDP:XML = new XML (myLoader.data);
           XML.ignoreWhitespace = true;
           dp = new DataProvider(xmlDP);
           dp = sortOn("name", Array.CASEINSENSITIVE);
           dDg.dataProvider = dp;
           aDg.addEventListener(Event.CHANGE, changeHandler);
           function changeHandler(event:Event): void {
                var thisItem:Object = eve.target.selectedItem;
                descripTa.text = thisItem.description;
                aUI.source = (thisItem.image);
                preloader_mc.visible = true;
    My intention is that when a button from a main (swf) loads the swf it displayed the first selected item with a image (UILoader) and the description (TextArea)
    Thanks in advance Ned
    Joselyn             .................."
    THANKS AGAIN NED
    REGARDS
    JOSELYN
    Date: Thu, 13 Oct 2011 07:49:02 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I get a small window to open when a link is clicked (AS2)
    Re: How can I get a small window to open when a link is clicked (AS2) created by Ned Murphy in Flash Pro - General - View the full discussion
    Look at the Methods section and choose whichever suits your needs, the first one listed does not.
    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/3969302#3969302
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3969302#3969302. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Flash Pro - General by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How can i get the small sircul contact pic when I receive or make calls instade of the full screen pic ?? Cannu help me plz

    How can i get the small sircul contact pic when I receive or make calls instade of the full screen pic ?? Can u help me plz

    Settings you make in ACR for a Raw file are written to the separate XMP side car file. (The Camera Raw preferences has this set by default and to my opinion it should stay so, but the other option is to save them in a central database)
    However, opening the same file in ACR and make new adjustments the previous settings are overwritten by the new ones. You can save them separately but that would be a hell of a job. If you want to be on the safe side you should make a proper back up of the whole folder (be sure to have the XMP files included, by default those are hidden files in Bridge) before someone else starts playing with the settings. However, you can always go back to the default version using the option in the little menu icon next to the name op f the panel (first panel is Basic). click on the icon and from the provided menu choose 'Reset Camera Raw Defaults' to go back to the originals.
    I don't use jpeg in ACR very often but I believe ACR settings for jpeg and tiff are written in the XMP data in the file itself instead of a separate XMP file. You can revert to default or make new settings that also overwrite the older settings.
    Making adjustments in ACR shows the results in Bridge (it uses the XMP data for the preview) but to make it visible in other apps you also have to save them in Photoshop itself to make the changes persistent so that mail and print reflect your settings.
    So basically, let her play with the files and either chose the option to save the files (bottom left in ACR Window and choose the wanted provided options or open and save them in Photoshop to get the proper result. And if you want to be on the safe side let here use her own copies and keep the originals to your self.

  • How can i get my Ipad to download videos that run on flash

    how can I get my IPad to download videos that run on flash

    You don't.
    Adobe does not make a flash player for ipad.
    Do a forum search as this is discussed over and over and over and over and over again on these forums.

  • How can I get the cd that was provided when I bought the book dummies for bass guitar to play on my ipad thanks

    How can I get the cd that was provided when I bought the book bass guitar for dummies from iTunes to play on my ipad.probably someone should provide me with a file or download?thanks

    You need to import the CD into iTunes on your computer and then sync the tracks to your iPad.
    Regards.

  • How can I get firefox to shut down automatically when not in use for an hour

    How can I get firefox to shut down automatically when not in use for an hour

    Sorry, there is no feature for that built into Firefox, and I haven't seen an add-on to add that feature to Firefox.

  • How can I get rid of a 1202 error when downloading products from itunes

    How can I get rid of an 1202 error when downloading products from itunes?

    You have probably downloaded the Norton program which is one of the least desirable helpmates you can invite in.
    Read this thread and follow the suggestions by Thomas R, one of our gurus in this field.
    https://discussions.apple.com/message/20005609#20005609

  • How can I get my LT monitor to sleep when I have an external display connected, If I close the lid both displays go out

    How can I get my LT display to sleep when I am using another external display, right now if I close the lid both of them go to sleep?

    This is called Clamshell mode,  to operate with the lid closed you need:
    Requirements for closed display mode:
    Power adapter
    External keyboard, mouse, or trackpad
    External display
    Here are the details:
    http://support.apple.com/kb/ht3131
    Regards,
    Captfred

  • How can I get my instructional text to display when I open the pdf?

    I have some fields which I have set up which have help/instructions for completing the information required.  This is a questionnaire.  When I save it as a pdf, the instsructional text does not display.  I would really appreciate if someone can tell me how to fix this.

    Thanks for taking the time to respond to my query.  The text does not display when I hover my mouse over it.
    cheers    Deborah Frow
          From: Ajlan huda <[email protected]>
    To: Deborah Frow <[email protected]>
    Sent: Monday, 12 January 2015, 5:24
    Subject: Reply marked as helpful on How can I get my instructional text to display when I open the pdf?
    |
    How can I get my instructional text to display when I open the pdf?
    Ajlan huda marked SumitV's reply on How can I get my instructional text to display when I open the pdf? as helpful. View the full replyMarked as helpful:Hi Pacific Immigration, In Adobe Acrobat/ Adobe Reader there is no “?” shown for help, but if you mouse over the field for 1-2 seconds the Help text is shown.
    Following How can I get my instructional text to display when I open the pdf? in these streams: Inbox
    |

  • How can I get my editing changes to stay when uploading to Facebook?

    How can I get my editing changes to stay when uploading to Facebook? For example, I have a picture that I have adjusted the sharpness,highlights and I De-noise it,however,when uploaded it to Facebook, the changes I made are not reflected in the picture.

    exactly how are you uploading?
    LN

Maybe you are looking for

  • How to get the value of a clicked item in a shuttle control

    I have a shuttle control (P8_SHUTTLE) that lists then names from scott.emp. Now I want to create a dynamic action that fires when I click on one of the names on the left side of the shuttle control. I want the dynamic action to recognize the name of

  • CSS11501 Sticky connection based on msisdn field

    Hi there, Mobile GSM clients connect through WAPGW over CSS to real servers. We want to stick their connections based on msisdn field. As it seems this field is not recognized by CSS since "lookup fail" counter increases ant there is no match. We hav

  • Archive Utility and permissions

    I was wondering if there was a way to instruct Archive Utility to use the default permissions when expanding a file. Without a long-winded explanation...I have two users using the same iMac to download client files from various FTP sites. With one us

  • Customization of User Accounts & Tables Help

    Hi , im new here. - I've done with my installation. - Im able to log in with scott // tiger . Now i would like to customise the user accounts and tables. I have an instruction sheet given by my teacher. It tells me to log with - Username : system Pas

  • Importing movies to iPhoto become jagged

    Has anyone had same problem. Vedieo becomes jagged after import.  Looks good on camera  Help