How to reset All users and delete their table?

Hi,
i want to know How to reset All users and delete their tables with username- system and password-manager.
thanks

Hi
Here delete means truncate or drop?????
If drop use the following statement to generate the script:
select 'drop table ' || Owner || '.' || Table_Name || ';' from Dba_tables
where owner in (<All_the_users_you_want_to_reset>);
But before firing the above statement extract the DDL's to create all the users and put it in a file and just run that file to re-create the users.
if its truncate then:
select 'truncate table ' || Owner || '.' || Table_Name || ';' from Dba_tables
where owner in (<All_the_users_you_want_to_reset>);
Hope this Helps
Regards

Similar Messages

  • How can I list all users and their DEFAULT tablespace?

    How can I list all users and their DEFAULT tablespace?
    Peter

    Peter, the following short article that lists the most heavily used Oracle rdbms dictionay views might be of interest based on your question:
    How do I find information about a database object: table, index, constraint, view, etc… in Oracle ? http://www.jlcomp.demon.co.uk/faq/object_info.html
    HTH -- Mark D Powell --

  • My husband gave me his iPod touch, even after resetting all settings, and even though I have a user name and password whenever I need to update apps it shows his previous user name,  and is asking for his password.  How do I fix that?

    My husband gave me his iPod touch, even after resetting all settings, and even though I have a user name and password, whenever I need to update apps it shows his previous user name,  and is asking for his password.  How do I fix that?

    dom59 wrote:
    Ok, when I go into my Apple ID account, everything looks right.  It does show my user name.  It's only on the iPod that it shows my husband's previous user name, and it asks for his password.  Everything in iTunes and my account looks right.  The issue only seems to be with the actual device, iPod Touch 4th gen.
    There is more than one way to access the Apps Store and the iTunes store.  One is via iTunes on your computer, and the other is via the apps on your iPod.
    Just because you are logged in on your computer does not mean you are logged in on your iPod.
    The reason your husband's user name comes up is because he was the last one to log on.  You can change that by going to Settings>Store.  Tap the Apple ID, Tap Sign Out, Tap Sign In, Tap Use Existing Appel ID, enter your e-mail address and Apple ID password, and tap OK.

  • How can i connect iphone to itunes.. i want to restore because my finger mistakes that click Reset all content and setting.. so iphone are empty.. all foto and data lost, right.. how can i use my iphone again..

    how can i connect iphone to itunes.. i want to restore because my finger mistakes that click Reset all content and setting.. so iphone are empty.. all foto and data lost, right.. how can i use my iphone again.

    Yes, try to restore your iPhone from iTunes or iCloud backup.
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    Tell us the result if you will try.
    <Link Edited By Host>

  • How can I check my passcode I updated today and when I am going to reset all content and setting my iPhone 4S they asked me for passcode when I entered the passcode the one I just update too is doesn't want to accept it

    how can I check my passcode I updated today and when I am going to reset all content and setting my iPhone 4S they asked me for passcode when I entered the passcode the one I just update too is doesn't want to accept it

    I have had the same problem with iPad recently not too sure why it happened but if you are completing a full reset anyway the easiest way is the restore via itunes on your computer and then set up a new passcode again. Resetting via itunes doesnt require a passcode so it should go straight through.
    Hope this helps

  • How to configure security so users can delete their own file(s)?

    I have configured our file server so that all users can write/modify in any other user's folder. However, it seems that they cannot delete their own file(s) in another user's folder. Do I have to give all users the "Modify" but not Full permission
    so that every user can delete their own file or folder even if it's in another user's folder? I still do not want user A to delete/modify any files/folders that user B originally created.
    Any help is much appreciated.

    Hi,
    Based on my research, if a user can rename a file/folder, then he/she can save it using the original name, there is no way to prevent this via permission assignment.
    You may need to use scripts to achieve this.
    Best Regards,
    Amy Wang

  • How to erase all datas and reset default

    How to erase all datas and factory reset in iMac

    Boot into the Recovery HD (restart holding down Command+r). Launch Disk Utility and erase the drive (all data will be gone forever so make sure you have a reliable copy of any valuable data). Quit out of Disk Utility when formatting is complete and select re-install OS X (you'll need an Internet connection).
    Fuller details here: http://support.apple.com/kb/ph11273

  • Hi when i click on mozilla firefox it keeps coming up saying restore session why is this every time i go on firefox how can i stop this and delete it all together

    hi when i click on mozilla firefox it keeps coming up saying restore session why is this every time i go on firefox how can i stop this and delete it all together

    When you quit firefox with tabs and windows open it "remembers".  When you start Firefox it tries to restore the tabs and windows you had open.
    You may also want to check the preferences for Firefox:

  • BI Report - List all users and their assigned roles

    Hello,
    i need a report, which lists me all users and their roles.
    Which table stores this membership information about the users?
    USR or UGP does not have any values

    Hi Reynaldo,
    You can go to SE16 -> table name "AGR_USERS" and see the records for all users. Arrange them in ascending order by name and you will get the report what you have mention above.
    Download it and put it in EXCEL.
    Best Wishes.
    Kumar

  • What does "resetting all content and settings" delete?

    What does resetting all content and settings delete?

    Just as it suggests, everything.
    It will be factory defaults just like the day you first turned it on

  • HT1212 My little children Majd enter the wrong passcode for more than 10 times, my iPhone automatically got reset all data was deleted. I managed to retrieve the contacts only but I'm unable to retrieve my SMS's and my photos???? Can you help me please ??

    My little children Majd entered the wrong passcode for more than 10 times, my iPhone automatically got reset all data was deleted. I managed to retrieve the contacts only but I'm unable to retrieve my SMS's and my photos???? Can you help me please ???

    Hi,
    Did you ever back up your phone on the computer?
    Did you use photo stream at all?
    May I suggest changing your passcode lock to a letters and numbers lock (if not all ready it will make your iphone more secure and a restore lock otion shouldent be needed). Then change your setting as well preventing restore after ten incorect passwords.
    kc

  • My iPad has stopped rotating, I've reset all settings and reset my iPad with no change, how do I fix this problem please?

    My iPad has stopped rotating, I've reset all settings and reset my iPad with no change, how do I fix this problem please?

    You may want to try this:
    1. Backup iPad
    2. Setup iPad as new. Settings>General>Reset>Erase all content and settings
    3. Test iPad thoroughly
    4. If everything is fine, restore backup to iPad

  • Upgraded to 3.1 and lost all users and groups.  How do we get them back?

    We ran the update to Server 3.1 (from 3.0) on our Mavericks Mac-Mini Server.
    Everything had been fine before the update, but now all users and groups have completely disappeared.
    The only user we have is the main administrator log-in.
    Since we verified that all of our data, wikis, and other items are still in place, it might be easier to just re-create the groups and users (and permission therein).
    But, we cannot log into Workgroup Manager, nor can we add users/groups in the Server app (because it is "grayed-out").
    Can somebody please provide a suggestion??
    We are a small engineering firm with only 5 users, so it's not like this would take all day.
    Thanks, Mike

    Have you tried
    sudo sso_util configure -r REALM_NAME -a diradmin afp
    (cf. Lion Server: AFP users unable to authenticate with Kerberos after upgrading)in Apple Support ?
    p.

  • I have a 4th gen ipod touch. i reset all settings and it has not restarted now for 8 hours. On/ Off switch is not working. How do I restart my Ipod Touch?

    i have a 4th gen ipod touch. i reset all settings and it has not restarted yet. it has been resetting for about 8 hours now. It won't let me restart the iPod touch. the loading screen just keeps running.

    Hi paul.lisa,
    Then when you press down on one of those icons (on the actual Home screen), and all the icons start to wiggle, a small black "x" should show up in the upper left-hand corner:
    Cheers,
    GB

  • How to show all user logged in/loggout in Report

    How to display All User Logged in time & Logout Time?
    Hi..
    I want to display All user in Portlet a report that show us all user that logged in the portal,
    their username,
    their time logged in,
    their time logged out..
    where can i find these information?
    do Portal have already something like this?
    Plz advise..Thanks.

    Thanks Sharmila for answering my question..
    Similar question i want to ask..
    I look at the table, and view it's data...
    Mmm..some i don't recognize...
    Actually, i just want to grep
    1)The UserId of the user who logged in the portal
    2)The time he logged in the portal
    3)the time he log out the portal
    That's all..
    How can i do that?..
    I plan to create one table to store the data, and plan to grab the data by jsp....
    What are the table/function/api that can i use and how?
    Plz advise.
    Thanks

Maybe you are looking for

  • How do I download Mac App store on my OS X 10.6.2?

    How do I download Mac App store on my OS X 10.6.2. desktop? I am trying to upgrade my operating system?

  • How can I change the name in Bluetooth?

    Hello! I have an iMac on which runs Leopard. I want to change the name that appears in the bluetooth because it's Apple's Computer and I don't like it. I want to put instead my name. How can I do this? Thanks in advance, Camille

  • Different material types

    Could you please explain/ help with the below queries.. with some practical example, if possible.... differehnce between FHMI (production resources/tools) and HIBE (operating supplies) and ROH (raw materials)? Actually for all above mentioned types..

  • Airport Extreme (4th Generation)-

    This Airport Extreme has been in use for about 16 months.  I started having constant intermittent problems with it, but the utility software wouldn't connect to the device for the purpose of troubleshooting.  So I have now reset the device to factory

  • Safari & Yahoo Access Problems with Private Browsing

    Hi Folks Just moved to an iMac - put on the Safari -Private Browsing to access my e-mail account on Yahoo - No joy it doesn't let me in - when I take off Private Browsing - no problem - I can get in ok - When I use this on my old emac - no problems!