How can i get a LONG RAW size? Please help me.

Hi,
I have one table (record) that contain 2 fields,
image as LONG RAW and staffid as string.
How can i make the select statement to get the actual size for each image?
I have try to do " Select dbms_lob.getLength(image) as actualsize,staffid from record " ,
but it get error "ORA-00997:illegal use of LONG datatype"
Can any body help me ?thanks
Message was edited by:
user450549

LONG RAW and BLOB are very different data types. Oracle has been suggesting for quite a while that folks migrate from LONG RAW to BLOB-- it's much easier to work with BLOB data than LONG RAW data...
How much data, roughly, do you have in these columns. If it's relatively small, you may be able to use UTL_RAW.LENGTH. If it's longer, though, I believe you have to write a program that reads all the data and calculates the length as you go, which is obviously not particularly efficient...
Justin

Similar Messages

  • I down loaded about 100 cds to my library and I can no longer view the downloaded artwork it's shows a black picture or blank. How can I get the artwork back? Please help! Thank you

    I downloaded about 100 cds to my library and I can no longer view the downloaded artwork it's shows a black picture or blank. How can I get the artwork back? Please help! Thank you.

    Hi- apparently I also had a similar moment of madness and thought that 'freeride games' would be fun. Well, so much for that! It added a ton of things to my tool bar, I would like to uninstall it, any suggestions for this one?
    thanks :)

  • HT201272 how do i access the cloud i have downloaded some tracks on some albums but they dont play so i deleted them  i went to download them again but they are album only tracks so itunes store wont let me how can i get my tracks back? please help

    how do i get tracks back that i deleted that are album only tracks, i downloaded it and it would not play now i cant re download it please help

    About a minute and a half into some tracks it skips to the next. Not on all the tracks but on most of them.
    Try again, just redownloading the tracks which are skipping. (The servers for the Store seem to have been a bit extra-cranky with this over the past day or so in particular ... some folks have had to try redownloading again a couple of times.)

  • Apple deleted every single thing on my phone. How can I get this stuff back? Please help me.

    So I plugged my phone to the computer to add new music, and then Apple said it needed to do an update. So I did. And then when my phone turns back on, pictures and stuff are gone up to a certain date (which must be when I last did a back up. The strange thing is I had some stuff storaged in the Cloud (which is really hard to use) and it was also deleted.
    Someone please tell me what to do and how to get my stuff back.
    Thank you.

    Restore your latest backup. If you connect the phone to your computer via USB, click on its name in iTunes, you can see the date of the latest computer backup and the latest iCloud backup.

  • I mistakely restore my ipod touch and i lost my contacts and notes. How can i get my notes back. Please help me those notes were very important to me.

    Hello guys, hope u all r fine but im in trouble. I mistakely restore my ipod touch and then i lost my important notes and contacts. I need to get it back so i need you guys to help me out. Hope if anyone can help me out. Please.

    Have you tied restoring from backup?  If you go to the Devices tab in iTunes' Preferences, does the date of the backup correspond to before you had you problem?

  • Hi everyone,,i bought a used iphone 5 with iOs 7.0.3. i want to delete the icloud account and add mine. I have sent an e-mail to the current account being used in my iphone. How can i get rid of this account plzzz help me out

    Hi everyone,,i bought a used iphone 5 with iOs 7.0.3. i want to delete the icloud account and add mine. I have sent an e-mail to the current account being used in my iphone. How can i get rid of this account plzzz help me ou

    no i called the store owner from whom i bought it. he was like i will check in records and if there is something i will let u know...he was like send an e-mail its better so if it was stolen so the shopkeeper wouldnt let me to e-mail to the owner

  • I am a new ipod touch user; have gone through all the dowload/install stuff, plugged the device into my computer but ipod screen still shows plug in to tunes.  I am totally computer useless - how can I get my ipod to work, please?  Charles Jones.

    I am a new ipod touch user; have gone through all the dowload/install stuff, plugged the device into my computer but ipod screen still shows plug in to tunes.  I am totally computer useless - how can I get my ipod to work, please?  Charles Jones.

    You did install the latest iTunes (10.5) right?  If the problem was that iTunes does not see the iPod try:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    or
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X

  • I have iOS 6 on my iPhone. i have linked my contacts with facebook and yahoo, which has doubled or triplicated some of the contacts. how can i integrate them into one? please help. it is getting on my nerves. thanks :)

    I have iOS 6 on my iPhone. i have linked my contacts with facebook and yahoo, which has doubled or triplicated some of the contacts. how can i integrate them into one? please help. it is getting on my nerves. thanks

    click on the contact which you want to integrate, click the edit button scroll down u will find a option called link contacts use it to link it to the duplicate contact

  • Iphoto 8.1.2 My source list has disappeared or is so diminished that I can not read it. How can I make it the normal size, please? l

    iphoto 8.1.2  My source list has disappeared or is so diminished that I cannot read it. How can I make it a normal size, please?

    Move your cursor to the extreme left of the iPhoto Window until it becomes a '+', then click and drag right.
    Regards
    TD

  • All the my messages from my phone inbox disappeared.Why did it happen and how should i get the messages back?please help

    All the my messages from my phone inbox disappeared.Why did it happen and how should i get the messages back?please help

    Is the MacBook the computer you have synced with in the past? If not you can use the computer that you have synced with to restore your apps. Are you sure you are using the same Apple ID that you used to purchase the Apps?

  • Please help...I was downloading my pics from the SD card. I then I highlighted 5 pics and selected erase, once I selected erase 20 other pics was also erase. I need to know how can those erase pics be recovered? Please Help!

    Please help...I was downloading my pics from the SD card. I then I highlighted 5 pics and selected erase, once I selected erase 20 other pics was also erase. I need to know how can those erase pics be recovered? Please Help!

    You will need data recovery software. See this post:
                                                                                       Re: I accidentally lost 3 weeks of photos, how do I recover them?                                            
    And please send feedback to Apple: This is a bug. Only the imported photos should have been deleted, not all photos on the card. You can use this form: Apple - iPhoto - Feedback

  • Why in my iPhone 6 has no FaceTime and how can i download it??? please help me.

    why in my iPhone 6 has no FaceTime and how can i download it??? please help me.

    If Facetime is not present on the phone you have, you cannot download it. The model of phone you purchased cannot have Facetime on it, period.
    There is nothing to be done to download it - it's not possible.
    ~Lyssa

  • Hi. There is a ghost search bar on my iMac screen which flashes constantly, even during start up and shut down. How can i make this go away? Please help. x

    Hi There is a ghost search bar on my iMac that flashes continually, even during start up and shut down. How can i make this go away? Please help. x

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • No history is saved on my I pad mini how can I get it to save? Please

    No history is being saved on my I pad mini how can I get it to save please?

    An iOS fluke or mail app glitch maybe. Not sure anyone will know why you get it. Do you're ever close the mail app? Try closing it and reset the iPad and see if the message goes away.
    Assuming that you are running iOS 7, in order to close apps, you drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the Mail app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • I had pictures and videos on my I phone 4 s which I wanted to put onto my laptop, and I dunno what I pressed on I tunes it totally wiped out all my stuff. How can I get them back??? Help???

    I had pictures and videos on my I phone 4s which I tried to put onto my laptop and I don't know what I pressed on I tunes it just completely wiped out all my data, how can I get all that back I've been told e everything is still in the phones hardware does anyone know how I can get it back??? Need help please???

    Do you see them on the phone? If not, they are NOT "still in the phones hardware".
    It's hard to suggest a course of action when we don't know what you did and you are unable to tell us.
    If they are not on your computer, and they are not on the phone, I don't know what else to suggest...
    Were you using iCloud? Did you have photo stream enabled? If you did, they would have been uploaded to iCloud. If you did not, then they are gone.

Maybe you are looking for

  • How to print new line using DBMS_OUTPUT package

    Hi, I am trying to print a new line using DBMS_OUTPUT package. but it do not print the new line. set serveroutput on size 200000 set feedback on BEGIN DBMS_OUTPUT.PUT_LINE('First Line'); DBMS_OUTPUT.PUT_LINE(''); DBMS_OUTPUT.PUT_LINE('Second Line');

  • Can you choose which folder an app gets installed to?

    When I install a new app it just goes to the main page then I have move it to a certain folder. Is there a way to have it ask where you want to install it instead of having to organize it after the fact?

  • Problem with Pro*C/C++ complie in linux

    I install Oracle8.1.7 in my Mandrake 7.2 ( like redhat7.1) , and it works well except with proc not works well. when I complie the precomp demo program, it gives much errors. I note the proc config file length was zero. The following is errors I get

  • Sales condition in customer master data

    Hi, We need to show in the customer master the the price conditions of the customer. This prices conditions depends on the material and on the customer type but basically we need to show the standar discount the customer has on each material class. F

  • Issue while Instantiating a table in logical standby

    I am trying to instantiate the tables in my logical standby and i am getting this error ORA-39006: internal error ORA-06512: at "SYS.DBMS_LOGSTDBY", line 636 ORA-06512: at line 1 i used the below command to instantiate the table EXECUTE DBMS_LOGSTDBY