Delete Sample Database

Hello, I just download the 11g Express Edition so I can practice with the software for school. My question is, how do I delete the sample database that the software comes with? I need to be able to create my own database. Is this possible? Then I would need to create a new empty database so I can create my own tables and insert my data. Thanks

how do I delete the sample database that the software comes with? I need to be able to create my own database. Is this possible? Then I would need to create a new empty database so I can create my own tables and insert my data.
Why would you need to create your own database ? the database that the software comes with is substantially empty, and you can create your own tables and insert your data within it. What's exactly your problem ?

Similar Messages

  • Error in creation of sample database during installation of Oracle8

    I am trying to install Oracle8 for Intel Solaris8. Near the end of installation - running database configuration assitant, the creation of the sample database failed by an alert:
    ORA-03114: not connected to ORACLE
    I also tried to run database configuration assistant in custom mode separately, "ORACLE not available" message came up.
    I think ORACLE should be connected and running before creation of the sample DB, like installation of Oracle in Windows.
    Anyone has the same problem or can give me a help?
    The Oracle(8.1.7) CD comes with Solaris8 (07/01) package.
    Thanks.

    I would guess that your kernal parameters have not been set. Check you oracle install guide for the appropriate additions to /etc/system for semiphores and shared memory segments. If you have not made these changes, the database will not come up.
    ...jcd...

  • Beginners Guide Oracle Sample Database

    Hi!
    In the "Oracle Database 10g: A Beginer's Guide" in Chapter 2 a sample database is discussed with the tables customers, products, sales and costs. You need have it to try it the examples. How can I obtain it?
    I have Oracle10gRelease2(10_2_0_1_0) installed on Windows XP Pro SP2.
    Thanks,
    Hans

    Hi
    What is the link of:
    "Oracle Database 10g: A Beginer's Guide"?
    Maybe this is only a sample schema in a database, not a sample database.
    Create a new one and you will have this sample schema and tables.
    Ott Karesz
    http://www.trendo-kft.hu

  • What are the ODBC connect details for the HR sample database?

    I have installed Oracle Express on Ubuntu 8.10 and read the Getting Started tutorials. Everything worked fine.
    THE DSN
    I need to connect via ODBC, to start with to the HR sample database on my PC.
    The Getting Started tutorial says the userid and password are both hr, but what is the data source name (dsn) to be used with the SQLConnect?
    THE INIs
    The ini files below are the result of googling, not of any insight on my part.
    /etc/odbcinst.ini
    [OracleExpressdrv]
    Driver = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libsqora.so.10.1
    Description = Oracle 10g express driver
    /etc/odbc.ini
    [hrdsn]
    Driver = OracleExpressdrv
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    DSN = TestDSN
    EXECSchemaOpt =
    EXECSyntax = T
    Failover = T
    FailoverDelay = 10
    FailoverRetryCount = 10
    FetchBufferSize = 64000
    ForceWCHAR = F
    Lobs = T
    Longs = T
    MetadataIdDefault = F
    QueryTimeout = T
    ResultSets = T
    # ServerName is TNS_alias_from_tnsnames.ora
    ServerName = OraDB
    SQLGetData extensions = F
    Translation DLL =
    Translation Option = 0
    UserID = ken
    THE ENVIRONMENT
    Before running my odbc test program I issued
    LD_LIBRARY_PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib;export LD_LIBRARY_PATH
    and checked via env command that the ldlibpath actually had been set correctly.
    After SQLConnect received the following error:
    Usage error: SQLConnect: dsn=hrdsn, user=hr, password=hr <<< output by my test program
    1: st=IM002, nerr=0, msg=
    [unixODBC][Driver Manager]Data source name not found, and no default driver specified
    The first part of the error message hints at there being something wrong with dsn=hrdsn. I don't understand the second part 'and no default driver specified'.
    I am totally stuck. Advice would be most appreciated.

    Oracle® Database Express Edition Installation Guide for Linux talks about Compiling the Oracle ODBC Driver Demos. It tells you to download and install the unixODBC DriverManager from unixODBC. On Ubuntu this is already preinstalled and/or available via the Synaptic Manager. It also instructs you to run a makefile demo_xe.mk to build an odbcdemo program. The makefile did not work for me (hundreds of compilation errors), but I looked at the odbcdemo.c code and could see that dsn=TESTDBDSN for user=hr and password=hr. In other words, by luck the demo program seems to be connecting to the HR sample database.
    I changed the /etc/odbc.ini file to:
    [TestDBDSN]
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    Driver = OracleExpressdrv
    DSN = TestDBDSN
    and also in my test program which now produced the following error:
    Usage error: SQLConnect: dsn=TestDBDSN, user=hr, password=hr
    1: st=IM004, nerr=0, msg=
    [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
    which shows that the unixODBC driver manager has loaded the driver and that the driver immediately encountered problems.
    The sql calls issued before the SQLConnect("TestDBDSN", "hr" , "hr") were OK, i.e. these:
    rc0 = SQLAllocHandle ( SQL_HANDLE_ENV , SQL_NULL_HANDLE , &henv ) ;
    rc = SQLSetEnvAttr ( henv, SQL_ATTR_ODBC_VERSION , *)SQL_OV_ODBC3 , 0 ) ;
    rc = SQLAllocHandle ( SQL_HANDLE_DBC , henv , &hdbc ) ;
    SQLSetConnectAttr ( hdbc , SQL_LOGIN_TIMEOUT , (void*)5 , 0 ) ;
    However, the error appears after SQLConnect and yet the rc0 was reported as OK.
    The error message 'Driver's SQLAllocHandle on SQL_HANDLE_HENV failed' is totally unhelpful to me as a user since I don't know the conditions that lead to failure. I really think this calls for some documentation. Such documentation should be complete, self-contained and correct and give ALL OPERATIONAL steps, i.e. I want to know exactly what I have to do. Ambiguous English often referring to undefined terms is not what Oracle beginners like myself want.
    I don't know if this is a bug. It is so fundamental that Oracle ODBC driver writers could/should not have got it wrong. The connect does not even start.
    I have googled for hours, but every lead has failed.
    I don't want to give up on this. What can I do?

  • Delete a database in Essbase application

    I am getting the error as" Object locked by a user' when I try to delete a database in essbase application. Please advice how to delete it.

    Hello,
    You're in the wrong forum. This is the BDB JE forum. The Essbase forum is here:
    Essbase
    Please post your question there.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                       

  • "Delete on Database" in /SAPAPO/SDORDER_DEL

    Dear All,
    Can somebody help explain what happens when we execute "Delete on Database" in /SAPAPO/SDORDER_DEL? and how would the program acts for each selection parameters, if;
    - we have not put anything in the selective deletion portion of the screen for "Location", "Product", and "Last Changed Before" fields, don't tick the check box for "Without check" option; but tick the check boxes for "Adjust ATP tables with /SAPAPO/POSMAPN table" and "Delete Obsolete Records in the /SAPAPO/POSMAPN table" in the additional function, what will happen? Will it delete anything? Or will it only do as what the additional function says?
    - how about in the product allocation data portion, considering that we have specified a location, what is being deleted when the check box for "Delete Product Allocations" is ticked? and what is being done if the check box for "Check Product Allocation Assignment" is ticked?
    Thanks in advance for any response.
    Regards,
    Philip

    Dear Philip,
             Find below few points about this transaction.
    1. check is normally carried out before an order is deleted to see if this order still exists in liveCache. If this is the case, the order is not deleted.
    2. You can also print out a list of the orders that cannot be deleted if you have set the relevant indicator.
    3. In exceptional cases, you can deactivate this check and nevertheless still delete the selected orders.
    4. If you have set the Delete all orders indicator, the order data from the database is completely deleted without any check. You should take great care when using this function.
    5. A location product or a location can only be deleted if SD sales documents for this location product no longer exist in the database (that is, if, for example, no more entries exist in the tables /SAPAPO/ORDADM_I or /SAPAPO/ORDPART).
    Regards,
    Siva.

  • How to delete a database record by using EJB entity beans

    Hi, All,
    Does anyone know how to use entity bean to delete a database record? I have all the EJB entity beans created, including access beans to each. I can successfully create records, find and update records, however, I haven't find a way to delete records yet.
    Your response is appreciated.
    Cathy

    Please see EJB Forums for continue discussion on this subject.
    Reference titile: "how to delete database record by using CMP entity beans "

  • Is there any well designed sample database availabe for download ?

    Hi
    Thank you for reading my post
    I get the Oracle Express 10g and now i am looking for a good database with some test data inside it
    to practice some tuning and sql commands.
    is there any (rather big ) sample database available for download ?
    Thanks

    Hello,
    XE ships with the Sample Application that includes the HR schema with some objects to work on. By default, the HR user account is locked so you need to unlock it first. It's usually a good place to start as many current and future documentation based on XE will include examples from this schema.
    Przemek

  • ADF delete from database.

    Hi,
    I am trying to design a page which will delete a particular row from one or more database tables. The jdeveloper version is 11.5 and the database is oracle 10.2 version.
    How can I do it?
    Thanks

    Hi all, Thanks for the reply..
    Actually I am trying to delete one record at a time, from the same table, from which m populating it on the jspx..
    That means the list source and the base source are same..which is not possible..
    What can be the solution for it ??
    I tried to create a separate view object for population on jspx and kept it in list source.. And I am using different view object in base source.. Both view objects refer to the same table..
    But it is not working out..the problems are..
    The record is getting deleted only for the first time when i run it.. Even after getting deleted from database, the record shows up in the list..
    And when i do the same operation one more time in the same session, 1st record in the table is getting updated with the value which i tried to delete..
    And I am not using managed bean..
    regards

  • 10gR2 under Solaris 10: Error creating sample database

    I am attempting to install 10gR2 on a Sun Ultra 10 Sparc workstation running Solaris 10. I successfully configured the ASM drives and loaded the software, and am now attempting to install the actual database software.
    While the installer is running the Database Configuration Assistant, the second "recommended" configuration program, I get an error almost halfway through that says "ORA-19879: error reading backup piece". Looking through the logs kept by the Assistant, I find this entry:
    Grant succeeded.
    20061228 03:17:09
    1 row selected.
    old 30: dbms_backup_restore.restoreDataFileTo(data_file_id,'&data_file_name');
    new 30: dbms_backup_restore.restoreDataFileTo(data_file_id,'/u01/app/oracle/product/10.2.0/db_1/assistants/dbca/templates/example.dmp');
    old 33: dbms_backup_restore.restoreBackupPiece('&data_file_backup', done);
    new 33: dbms_backup_restore.restoreBackupPiece('change_on_install', done);
    Allocating device....
    Specifying datafiles...
    Specifing datafiles...
    Restoring ...
    declare
    ERROR at line 1:
    ORA-19624: operation failed, retry possible
    ORA-19870: error reading backup piece
    /u01/app/oracle/product/10.2.0/db_1/dbs/change_on_install
    LRM-00116: syntax error at 'tablespaces' following '='
    IMP-00022: failed to process parameters, type 'IMP HELP=Y' for help
    IMP-00000: Import terminated unsuccessfully
    ORA-19505: failed to identify file
    "/u01/app/oracle/product/10.2.0/db_1/dbs/change_on_install"
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-06512: at "SYS.DBMS_BACKUP_RESTORE", line 5146
    ORA-06512: at line 33
    I couldn't find anything wrong in "example.dmp", and I couldn't find "change_on_install" in the directory listed, even while the error window was still on the screen. Most of the errors in the log following this fragment have to do with tablespace EXAMPLE not being there.
    Someone else with a similar problem solved it by installing the database software without the sample databases. I'll give that a try tomorrow, but I'd still like to know where I'm even supposed to look to find the problem I had above.
    Thanks,
    Mike McCormick

    Okay, I've found at least one source for this problem. There is a script called mkplug.sql in the demo/schema directory that had a line that began "host imp .....". 'imp' is in the db_1/bin directory, which the PATH variable does not yet point to.
    So, my question now is whether I should change "host imp..." to "host $ORACLE_HOME/bin/imp..." in all the files it appears in (sted_mkplug.sql and sdoepsgv.sql, as well as mkplug.sql), or add $ORACLE_HOME/bin to the PATH variable manually.
    What I'm going to try is to deinstall the database, scrap the directories, then reload the software only. After that, I'll edit the files in the demo directory and use dbca to create the demo directories.
    Mike McCormick

  • How to connect to HR sample database using ODBC?

    This is for Oracle Express running on Ubuntu 8.10.
    The SQLConnect ODBC call requires datasourcename/dsn, userid and password as parameters.
    What are these for the HR sample database?

    Many thanks.
    I have only just downloaded Oracle Express and have never used Oracle before, so I do not understand the meaning of service name.
    The userid and password for HR are both hr, which just leaves the dsn.

  • DELETE FROM DATABASE + restored again?

    there is a statement
    DELETE FROM DATABASE <dbtab> (<ar>) [CLIENT <cli>]
    ID <key> .
    Suppose I have mistakenly deleted from the database
    can it be

    Hi,
    there is a syntax like DELETE FROM DATABASE as you mentioned.
    But never ever use that to delete a record in DATABASE TABLE as you cannot recover that data.
    hope this helps.

  • Delete a database from a server in Business Process Architect

    Hi Friends,
    Does anybody know how to delete a database from a server in Business Process Architect? I don't see any option to perform delete. I am using version 10.1.3.4.
    Thanks
    Tridib

    Thanks for reply
    Actually i want to delete the jobs from the Url below
    http://xyz:7778/reports/rwservlet/showjobs?server=testreport which gives all the jobs when u click on anyone job it open the pdf file which is stored in cache i want this job to be deleted including the file.
    I think there is a target.xml file which show the job in IAS OEM for a report server if the report server is added in target.xml from oem we can delete the jobid and file.
    where should i go to see the report server in oem?
    Regards

  • How to delete a Database view?

    HI Everyone,
    Created a Database in ECC to get the bank details from two tables BNKA and BKPF,
    but now I wanted to delete this View. Can someone tell me how to delete the Database view?
    Thanks
    Vandana

    Goto SE11 > select radio button for view > type view name > press delete icon in top menu (where you have icons for activate, check etc).
    Regards,
    Gaurav

  • Manually delete a database

    Hi everybody,
    on this forum i cannot find a procedure to manually delete a DB.
    I've got 2 database installed on a Linux server and i'd like to get rid of one..
    What can I do to completely delete a database?
    I haven't got any utilities (like dbca)..
    Hope somebody can help me, thanks in advance!

    You have not said why you need to manually delete it. Also you did not state your Oracle release.
    You can use DROP DATABASE command. This will drop the database, deletes all control files and all datafiles. If you are using spfile, it will delete it. Archivelogs and Backups are not deleted with this command, but you can then use RMAN or your Operating System command to delete all archivelogs and backups where required.
    e.g
    SQL> SHUTDOWN IMMEDIATE;
    SQL> STARTUP MOUNT;
    SQL> DROP DATABASE;

Maybe you are looking for

  • How to add check box in table control?

    Dear frnds, In our requirement i am used tablec ontrol for dialog programming, but i am confused about addition of check box as fields in table control. Any help are welcome from your side.

  • Some japanese character encoded to "?". Please help me..

    My system is below listed. J2SE 1.4.1 MySql Ver 11.18 Distrib 3.23.52, Resin 2.1.4 Java application load html document encoded 'SHIFT_JIS' using HtmlURLConnection. And read the document in 'SHIFT_JIS'. Almost it appears properly but some of character

  • Mackbook pro to flat screen tv

    I have a 07 macbook pro if i install lion on it will airplay work from the macbook pro to my flat screen tv ?

  • How to automatically sync itunes to an external portable drive?

    Hello, I've got my library on an external HD connected to my mac mini. here is what I want to do. 1. On connecting a 2nd portable HD to my mac mini - I want to be able to automatically sync up itunes music/playlists etc. 2. I want to be able to unplu

  • Registering for Apple Care Problem

    I tried to register for the applecare protection plan. when i got to the 2nd step, "Agreement & Shipping Information", there's a drop down box for "Select Agreement Type". but the drop down box was blank. so it wouldn't let me me continue and kept as