Are there permissions required to delete table_names in user_tables

i have  written  a stored procedure in it there is a line
"Delete from User_tables where TABLE_NAME like v_TableName;" this query deletes contents in TABLE_NAME column of USER_TABLES in DATABASE
but when i executed it it is showing ERROR  ": ORA-01031: insufficient privileges" i have seen session privileges but it is having CREATE PROCEDURE,CREATE ANY PROCEDURE,DELETE ANY TABLE
priveleges what could be the problem

user_tables is a view on the datadictionary. The datadictionary is maintained by DDL commands, like CREATE TABLE, DROP TABLE, etc.
In other words: you are on the wrong track.
You can not delete from any datadictionary view.
You need to use
EXECUTE IMMEDIATE 'DROP TABLE '||table_name;
And dropping tables through PL/SQL is also a very bad idea.
Sybrand BAkker
Senior Oracle DBA

Similar Messages

  • Are there any requirements to use FPM in MM or FICO module

    Hi,
    I learned Web Dynpro ABAP. Is there any requirement comes to use FPM in MM module or we use only in ESS and MSS.

    Hi - FPM / WDA is not module specific. As long as you are in the system(AS ABAP) which supports FPM/WDA then you should be good to use.
    Thanks
    Hakim

  • What are the permissions required for configuring Streams in 10g

    Hi All,
    Is admin privileges required for configuring Oracle Streams in 10g. Please confirm.
    Thanks,
    Redro

    What admin privilege are you referring to? There are many admin privs in the Oracle database.
    What is absolutely required is reading the docs. Did you do so?
    They are at http://tahiti.oracle.com
    and they explain it all quite clearly.
    There are also working demos here:
    http://www.morganslibrary.org/library.html
    Find anything with the keyword "Streams"

  • Are there any requirements of a HDD before you put it in as an extra Hard Drive for a Macbook Pro?

    I'm putting in my old SATA HDD from my old laptop into my Mackbook Pro. Any requirements for it like reformatting or adding certain files? Thanks!

    Welcome to the Apple Support Communities
    Just install it and use it. The only thing you have to take care of is if you are going to install OS X in it. In this case, you may have to format the HDD to use a GPT partition table and "Mac OS Extended (Journaled)", but apart from that, you won't have any problem

  • I lost power cord but just plugged in a generic one.  Are there specific requirements to keep the apple tv from overheating or something?

    should I buy another apple power cord or just use the one I plugged in--it seems to be working.  is there anything wrong with using another plug?

    No. As long as it fits it will work just fine.

  • Are there any required packages in solaris 9 in order to upgrade to 10?

    I'm trying to upgrade my SUN V440 from solaris 9 to solaris 10. It backsup my files but errors out when it is loading the software. I was wondering if maybe I am missing some packages. Any suggestions?

    They show here - under Export or Save as...

  • Recently bought new macbook pro , transferred data over and thought microsoft office would work on new laptop. Icons are there , although don't have my key codes!! should i just buy new software package ?

    recently bought new macbook pro , transferred data over and thought microsoft office would work on new laptop. Icons are there , although requires key codes and I don't have my key codes anymore as dog chewed the packaging!! should i just buy new software package ?  I am told that this is a microsoft issue not a mac issue !! But all my other data on the old macbook pro transferred over even the icons for office for mac on the bottom app bar. only now I can't open any of my word or excel files without key code! I thought that there may have been something that could be done before having to bite the bullet and fork out for new software package.??

    If this is Office for Mac 2011 then it will work on your new computer. Reinstall it. If you don't have the key code call Microsoft's activation line to get a new key code. Explain that you lost the original key code and want to install Office on your new computer.

  • J2ee1.4 installation error - there are no files requiring installation

    hi all,
    i downloaded the j2ee sdk 1.4 bundle and installed successfully on my suse 8.2. however when i tried doing it on another suse 8.2 machine using the same bundle i got an error that says :
    There are no files requiring installation - here's all the output -
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Launching Java(TM) 2 Runtime Environment...
    Error: There are no files requiring installation.
    Deleting temporary files...
    i'm new to j2ee so plz, if any one knows how to get around this, let me know.
    thanks,
    rich

    This message will be issued if files necessary for installation are not found once the self-extracting executable extracts its content. If you successfully used same distribution file to install on another machine, it is very likely that the distribution file got corrupted while being moved from one system to another.
    If you use ftp to transfer files between systems, make sure that you transfer file in binary mode.
    If you don't have the original distribution file anymore, you might need to download the distribution again.

  • I have iPhoto 11, 9.4.1 installed. When my library was upgraded, I got a message the photos couldn't be imported and I need to repair iPhoto permissions. How do I do that? My photos are there, but I can no longer drag them to the photo stream.

    I have iPhoto 11, version 9.4.1 installed. When my library upgraded, I got a message that the photos couldn't be inported and I need to repair iPhoto permissions. How do I do that? My photos are there, but I can no oonger drag them to the photo stream.

    Disable Photo Stream in iPhoto's preferences and then go back and reenable it. See if that will jump start the process.  If that doesn't help try this:  make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto check its preferences to meka sure all is as you expect and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    NOTE 2:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    OT

  • I have a Win7Pro SP1 PC locked down with a Group Policy as it is a public facing PC. PDF fillable forms cannot be completed when logged on as the restricted user. The forms work as a normal user. What are the user requirements/permissions needed to fill f

    I have a Win7Pro SP1 PC locked down with a Group Policy as it is a public facing PC. PDF fillable forms cannot be completed when logged on as the restricted user. The forms work as a normal user. What are the user requirements/permissions needed to fill forms?

    Well, try this (I was able to fix my with these steps):
    Go Utilities > Disk Utility
    Select your Startup Disk, e.g. Macintosh HD
    Then, under the First Aid Tab, click Verify Disk Permissions.
    If there are errors, then click repair Disk Permissions.
    After it is done, restart the computer and see if your problem is resolved.
    I hope this help.
    Zeke
    www.ZekeYuen.com/blog/

  • I have deleted a contact on my phone, and they are no longer in my contacts list however when I go to text there name still appears as (other) is there a way of deleting them completely of my phone? - I have tried everything!!

    I have deleted a contact on my phone, and they are no longer in my contacts list however when I go to text if i type in the letter there name begins with there name still appears as (other) is there a way of deleting them completely of my phone? - I have tried everything!!
    I have resorted my phone, used the spring clean app - none of these work, Have I saved this number somewhere else but I just can't get to it?

    You got the new iphone?????   I have same problem.  I transferred audiobooks to device to find no audiobooks on device (despite it being in iTunes as if it was).  Have you found a solution?????   I even tried to change import settings on format transfer but hasn't worked. 

  • I have a long list of gibberish files, in Preferences, in my Library. What are they? How did they get there? Can I delete them?

    I have a long list of gibberish files, in Preferences, in my Library. What are they? How did they get there? Can I delete them without causing a problem?

    Here is one thing I found googling for WebEx:
    http://www.webex.com/why-webex/overview.html
    (The x64 would most likely mean 64 bit). It may be a Windows based application/plugin, but since I had never heard of either, I'm only guessing there. If you do a search systemwide for it and don't find it plus don't know why it's there, I'd say throw it in the trash (don't empty it yet - make a note of the file path just in case you do have something installed that needs it so you can move it back).
    Glad to hear it's not a torrent; some people use those not realizing that quite often there is a price to pay for downloading stuff for free that costs money elsewhere - the software packages quite often include little "add-ons" = malware which you really don't want.

  • How do I copy photos from my Mac to my iPad without deleting the ones that are there?

    I understand how to sync photos from my iPhoto library to my iPad. I want to copy photos from my Mac to the iPad without syncing, because syncing deletes everything on the iPad that isn't included in my sync selections. In addition,I have several iPhoto libraries and want to copy photos from each of them to the iPad. A further issue is that apparently photos can be synced from only one computer to the iPad -- how would I copy photos from a different computer? (What happens when I buy a new Mac?) I am extremely experienced with Mac, iPhoto/Aperture, iPad, etc. A year or two ago I transferred 1000 photos to the iPad but I don't remember how, and it was probably done with my previous Mac. Now I just want to add some recent photos without deleting the ones that are there. Bottom line: is there a way to add photos to an iPad without syncing and losing what's there?

    You can still sync the photos and keep the photos that are already on the device. You have to include all of the albums or events in the pictures folder that you sync from. If you are using iPhoto, select that in the Sync Photos from drop down menu and then select all of the albums or events that you want to sync. Make sure to check Selected Albums, events, faces and automatically include (no events). Using that option will allow you to choose exactly which albums and events to sync.
    You have to remember that all photos must be included in every sync so you cannot sync photos from iPhoto today and then try to sync photos from another folder tomorrow, or you will erase all of the photos that were synced from iPhoto. You need to maintain one main Photos syncing folder for the photos that you want to transfer to the iPad. You can have subfolders within that one main folder and you can selectively sync those subfolders. You just have to place all of the photos that you want to sync into one main iPad syncing photos folder.
    There are WiFi transfer apps that allow you to transfer photos to the iPad without having to sync with iTunes. I use this one. This app (and others like it) will allow you to use multiple computers to transfer photos.
    Wireless Transfer App Easily send photos to iPhone/iPad ...

  • I made a movie in iMovie then deleted the clips in it. I have reimported the clips in an event with the same name as previously and some clips in the movie are still saying source slip missing even though they are there. What can I do?

    I made a movie in iMovie then deleted the clips in it. I have reimported the clips in an event with the same name as previously and some clips in the movie are still saying source slip missing even though they are there. Some clips are fine in the movie, but most are just black and when I hover over them, it says source clip missing. How to I fix this? Thank You

    I did that too, then I did a migration assistant to a new Mac and ALL of my movies have Source Clip Missing now, even though the original clips are still in the iPhoto Videos.  I can stand to re edit one or two projects, but not ALL.

  • HT1349 Apparently you can have 5 computers registered for iTunes.  I have 3 active computers but I guess I have other computers that are still activated that I no longer use.  Is there a way to delete or see what the others are?  Please help!

    Apparently you can have 5 computers registered for iTunes.  I have 3 active computers but I guess I have other computers that are still activated that I no longer use and I no longer have as they crashed.  Is there a way to delete or see what the other computers are so that I can go in and delete them?  I've tried to email Apple directly but apparently I need my hardware # and obviously I do not have that # since I don't have the equipment any longer.  Any help is greatly appreicated.  I am trying to add another computer and it won't allow me to as they say I'm at my limit.  Please help!

    Sure.
    Just open up iTunes on your computer -> Go to the iTunes Store -> Click your e- maill address (top right corner of the window) -> Type in your password for your Apple ID -> Under Computer Authorisations (underneath your Apple ID account balance and address) -> Press 'Deauthorise All'
    -> This will deauthorise all computers and devices from your iTunes account -> you then need to re- authorise any computers/ devices you would like to use with your Apple ID for iTunes content -> to do this, select the Store tab along the menu at the top (where 'File', 'Edit', 'View' etc..... are) -> Then click 'Authorise this Computer' -> Type in your Apple ID -> Voila!
    For any iOS devices (non- computers) you wish to re- authorise, these will automatically do so when you go to play iTunes content, download an app or anything like that on those devices!
    Hope this helps!

Maybe you are looking for

  • SYNTAX_ERROR unable to log in to SAP system Syntax error in program "SAPMSE

    hi SAP Experts, I have applied Basis patch 12 and I scheduled the background.  Backgroud job was terminated. System became slow. Then I stopped the server and restarted.  Now, I am unable to log in to SAP GUI by entering Username and Password and get

  • Apex 4 Cascading LOV's how to set a child LOV back to null return value

    Hi, My problem is I am using the new Dynamic Actions to implement Cascading LOV functionality in Apex 4 which means not having to submit the page to update child LOVs after parent LOV changes. What I am finding is that when you change the parent LOV

  • Idoc metadata

    hi why should we import idoc metadata while using idoc adapter and what do we mean by metadata.even in mapping idoc structure why we assign segment and begin to constant values and disable cntrol record field. regards raghu

  • I am having trouble buying book on Aperture 3

    It asks me to create a new account even though I have a valid apple account. Then I re-create account and it gets stuck on the shipping page.  Asks me to "try later".  I am in Europe but using a US apple account and shipping to US. Really need to pri

  • Waveform problem after converting

    after reciving data from visa (recived data from xbee) i try to show it on a waveform all wires are ok but no data is recived (i chaked the visa is transfering data proporly) pleas help me to solve this Attachments: problem.jpg ‏18 KB