I delete the HR schema , how i can create it again ?

Hi
thank you for reading my post
i delete the HR schema , how i can make that schema again ?
I dont want to recreate the Database,
does any one have HR schema creation script ?
Thanks

Hi user505214,
Please see: http://www.schematodoc.com/OracleHR_Sample1.htm
The scripts are under --> ?/demo/schema/human_resources.
--- procedure to create schema HR
REM =======================================================
REM cleanup section
REM =======================================================
DROP USER hr CASCADE;
REM =======================================================
REM create user
REM three separate commands, so the create user command
REM will succeed regardless of the existence of the
REM DEMO and TEMP tablespaces
REM =======================================================
CREATE USER hr IDENTIFIED BY changeit
ALTER USER hr DEFAULT TABLESPACE EXAMPLE QUOTA UNLIMITED ON EXAMPLE
ALTER USER hr TEMPORARY TABLESPACE TEMP
GRANT CONNECT TO hr
GRANT RESOURCE TO hr
REM =======================================================
REM grants from sys schema
REM =======================================================
CONNECT sys/password AS SYSDBA;
GRANT execute ON sys.dbms_stats TO hr;
REM =======================================================
REM create hr schema objects
REM =======================================================
CONNECT hr/password
ALTER SESSION SET NLS_LANGUAGE=American;
ALTER SESSION SET NLS_TERRITORY=America;
-- create tables, sequences and constraint
@?/demo/schema/human_resources/hr_cre
-- populate tables
@?/demo/schema/human_resources/hr_popul
-- create indexes
@?/demo/schema/human_resources/hr_idx
-- create procedural objects
@?/demo/schema/human_resources/hr_code
-- add comments to tables and columns
@?/demo/schema/human_resources/hr_comnt
-- gather schema statistics
@?/demo/schema/human_resources/hr_analz
Sorry for the long answer, but I think it can help you.
Cheers,
Marcello M.

Similar Messages

  • I forgot my icloud id and password. i want to delete the id. i forgot the password. if i try to delete the account its asking for password. i cannot find how to delete the account. Please anyone can help me out???

    I forgot my icloud id and password. i want to delete the id. i forgot the password. if i try to delete the account its asking for password. i cannot find how to delete the account. Please anyone can help me out???

    You aren't going to be able to delete it without the correct password.  If it's your ID, you can reset the password as explained here: http://support.apple.com/kb/HT5625.  If it isn't your ID, you will have to get the password for the person who owns the ID.  There's no way around this and no one else can help.

  • Hi, I downloaded get tube from google on my i mac and now want to delete the app completely, how can I do so?

    Hi, I downloaded get tube from google on my i mac and now want to delete the app completely, how can I do so?

    Get AppZapper, a free program that removes apps.  Make sure everything has been removed by checking with Spotlight once the app has been zapped.

  • I loaded photos to my new iPad2 using iCloud. The photos went in all jumbled up. Now I can't delete them or delete the albums. How can I delete?

    I loaded photos to my new iPad2 using iCloud. The photos went in all jumbled up. Now I can't delete them or delete the albums. How can I delete?

    Well, typically one of the fixes that I would suggest is to try to delete the waiting icons. WIFi in a public places like McDonalds, Starbucks, B&N, etc. is not the greatest and I would avoid those places for downloading and updating apps. But I do realize that not everybody has access to Wifi in their homes.
    These are all things that have worked at one time or another for other users. Hopefull one of them will work for you. Just ignore whatever does not apply or anything that you have already tried.
    Reboot 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 - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • I downloaded a audiobook and didn't know it had 2 parts And accidently deleted the first half, how can I get it back?

    I downloaded a audiobook and didn't know it had 2 parts And accidently deleted the first half, how can I get it back?

    Audiobooks are currently a one-time only download from the store, so unless you copied it over to the Books part of your computer's iTunes library before you deleted it (in which case case you could sync it back to your phone), then you will need to try contacting iTunes Support and see if they will grant you a re-download of it : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • A .pdf file is causing my notebook to freeze up. When I highlight it to delete, it will also freeze up the notebook. How else can I get rid of the file?

    A .pdf file is causing my notebook to freeze up. When I highlight it to delete, it will also freeze up the notebook. How else can I get rid of the file?

    Back up all data, then boot from your recovery partition (command-R at startup), launch Disk Utility, select your startup volume, and run Repair Disk (not Repair Permissions.) If any problems are found, repeat. Then reboot as usual.

  • TS2755 How to I delete messages(Saved) so that I can create enough space for my update?

    How to I delete messages(Saved) so that I can create enough space for my update?

    If by "update" you mean you are trying to update iOS, then the way to do this is to use iTunes on your computer to perform the update.
    Plug your iPhone into (the current version of) iTunes on your computer.  Let it sync.  Then do "Check for Updates" from the iPhone's summary page in iTunes.

  • I have family plan of 5 iphones and all them have the same apple id, the q. is how I can set each one with their own apple id? please advise...

    I have family plan of 5 iphones and all them have the same apple id, the q. is how I can set each one with their own apple id? please advise...

    See How to Stop Sharing an Apple ID.
    (Note that I am affiliated with that site, and some pages contain ads).

  • I am unable to change or delete my iCloud ID, it is prompting sign in using an old email address that used to be my Apple ID, others have had this same problem but the answer seems to be to delete the iCloud account but I can't do that.

    I am unable to change or delete my iCloud ID, it is prompting sign in using an old email address that used to be my Apple ID, others have had this same problem but the answer seems to be to delete the iCloud account but I can't do that, because when I select delete account it prompts me to sign in on the old email address which doesn't exist anymore!! Please help!

    Welcome to the Apple community.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID, verify the changes, enter the password as requested on your device and then turn off "find my phone".
    You should then change your Apple ID back to its current state, verify it once again, delete the iCloud account from your device and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    Here's a quick example I threw together that generates a sort-of-bell-curve shaped data distribution, then performs the binning and plotting.
    -Kevin P.
    Message Edited by Kevin Price on 12-01-2006 02:42 PM
    Attachments:
    Binning example.vi ‏51 KB
    Binning example.png ‏12 KB

  • HT201250 If time machine puts all of my photos onto my external hard drive using time machine, can I then delete the photos from my computer put view them again from the external hard drive? Basically, can I free up space on my mac but not lose years of p

    If time machine puts all of my photos onto my external hard drive using time machine, can I then delete the photos from my computer but view them again from the external hard drive? Basically, can I free up space on my mac but not lose years of photos?

    To add to Niel's comment bear in mind that if you have a backup copy on an external HD and later delete the orignals on your Mac HD you will then only have one copy - so no backup.
    If the pictures are precious you should have at least two copies, and ideally another copy kept off site,

  • I need help Guys I might of deleted the Archive utility How do i get it back.

    i Have a Mac Air Book OS  X and i think i might of deleted the Archive utility How do i get it back please need help.

    Why do you think you deleted it?

  • How we can create the batch file to download the data in from URL in ssis

    hi,
    any one help on one the below requirement.
    i have to create one batch file to download the report(reports is in csv format) from URL...
    requirement should be like this...
    1. we have some reports is there in the URL..
    2.when ever we execute the url, the report should be download and save it to the local folder.
    3. this requirement i have to write in the batch file
    should any one let me know how we can create the batch file for the above requirement.

    Hi Priya.N,
    If you use SQL Server Reporting Services for reporting, you can use Visakh’s suggestion to create a script file which calls Reporting Services Web Service to render a report in CSV format and save a batch file to the destination folder, and then create a
    batch file to run the rs.exe utility which can executes the .rss script file. For more information, please see:
    Report Server Web Service
    ReportExecutionService.Render Method
    rs Utility (rs.exe) (SSRS)
    If you use other reporting tools, it depends on the reporting functionality and this requirement may be not achieved.
    Regards,
    Mike Yin
    TechNet Community Support

  • When I put in my password I get a drop down window with options I want to delete the current options, how do I do this?

    when I am siging on to a website with my user ID, I get a drop down window when typing the first letter with options and I want to delete the current options, how do I do this?

    http://www.apple.com/support/contact/

  • Does anyone know how I can create "facing pages" in new Pages? I could do it in Pages 09, but can't find the option in new Pages.

    Does anyone know how I can create "facing pages" in new Pages? I could do it in Pages 09 but can't find the option in new Pages. I have documents created in Pages 09 and want to do some further work on them, but am now using new pages.

    There were 100+ features that didn't make it into the "new & improved, rewritten from the ground up” Pages 5. Some have returned with the updates & there are some new features that are worthwhile, but there are still 90+ features missing. Leave feedback for the Pages team using the link in the Pages menu and review & rate the new versions in the Mac App Store.
    If you previously had iWork '09, those apps are still in your Applications folder in a folder named iWork '09. You can continue to use them to get things done.

Maybe you are looking for

  • Function Module SWK_LOCAL_INBOX_GET does not exists

    Hi, I configured UWL in the Portal. When i am trying to acess UWL, throwing an exception. it says "Exception type:com.sap.netweaver.bc.uwl.connect.ConnectorException Message:Thu Apr 12 15:58:26 GMT+05:30 2007 :Function Module SWK_LOCAL_INBOX_GET not

  • Inbound IDOC Mass processing - No status message

    Hi Friends, I am updating a database table using inbound IDOC. But in batch job when XI passes multiple IDOCS, for some IDOCs there is no status message even though i coded for status message. If i rerun IDOC in BD87 then it work fine. please help. r

  • How do I recover iMessage transcripts after reinstalling?

    So, I reinstalled Mountain Lion, but when I set up iMessage, my chats were gone. Signing in and sending a message was not enough to get the old messages. I have them on my iPhone, but not on my Mac. They don't seem to be in the usual spot on the hard

  • Safari wont work after 10.7.5 update

    Since the update safari wont load properly. the window pops up but remains blank and all i get is the beach ball. cant access the menu bar . tried restating safari, tried restarting macbook and finally deleting all safari files and restarted. still n

  • HP Officejet Pro 8600 All in One - power all the time?

    Is it best to keep the printer on all the time or keep turning in and off as needed? This question was solved. View Solution.