A newcomer: how can I drop oracle database?

I am just use oracle, I try to create a DB, and then I want to
delete it,
but when I input "drop database <dbname>", it can be executed,
please help me!
thanks!
null

binghao (guest) wrote:
: I am just use oracle, I try to create a DB, and then I want to
: delete it,
: but when I input "drop database <dbname>", it can be executed,
: please help me!
: thanks!
with os command,delete all datafiles,redo log files,control files
and init<sid>.ora
null

Similar Messages

  • How can i start oracle databases? i am using Oracle 8.1.6 for linux.

    when i run dbstart,it gives me following message:
    Database "ora4cweb" warm started.
    but when i use sqlplus,it says:
    ORA-01034: ORACLE not available
    i made a mistake ,i shutdown my linux before i shutdown oracle databases,how can i start oracle databases now?thanks in advance.

    try it without the scripts...
    login to linux as oracle
    start server manager
    svrmgrl
    connect internal
    startup
    select sysdate from dual;if that works
    exitcheck listener
    lsnrctl
    statif nothing running type
    start
    exitnull

  • How can i migrate oracle database  data to DB2 database

    Hi
    how can i migrate oracle database data to db2 database.
    can anyone provide me solution.

    BTW why do you want to migrate oracle database data to db2 database? Any specific project requirement like Parallel run with Oracle database (e.g data replication)? Or any other issues - Cost? Manageability? Availability? Business requirements?
    Do you need to do a day-to-day data transfer or it is for permanent migration?

  • How can I install Oracle Database 10g for Solaries (SPARC) from the console

    Dear Forum Members,
    In my office, I have to installed Oracle Database 10g for Solaries (SPARC). But I have to do it without DISPLAY Monitor.Is it possible install it by remote login to this server using response file (silent mode) or something like that?
    If yes. Then How?
    If anyone have the exact solution, then I need your feedback. I shall wait for your reply.
    Thanks
    Aungshuman Paul

    There are 2 possible ways to accomplish this.
    First,
    Silent installation
    http://www.informit.com/articles/article.asp?p=174771&rl=1
    Second, (cut/paste from other site)
    How to install Oracle software remotely?
    Remote Software Installation Steps: (For Solaris only)
    If you want to install Oracle Software remotely, you should perform the following steps. These steps are applicable only if your source and target machine are running Unix.
    For example, you can install Oracle Software from your home from Washington, DC to a target source in California.
    1. Pick your source server or machine for remote installation.
    2. Check that your CD is in your source CD-ROM drive.
    3. On the target machine, find your target machine name with the output of the /usr/bin/hostname
    4. On the source machine, login as a user.
    5. On the source machine, enable client access: % /usr/openwin/bin/xhost + target-machine-name
    6. Become root user by typing: su (don’t use -)
    7. Check that Volume Manger is running. # ps –ef |grep vold (if you see an entry that contains /usr/sbin/vold, Volume Manager is running. Then skip to Step 10.
    8. If not then do the following: # mkdir –p /cdrom/your-cd-file-name
    9. # mount –F hsfs –r cdrom-device /cdrom/your-cd-file-name
    10. Add the following line to your /etc/dfs/dfstab file: # share –F nfs –o ro /cdrom/your-cd-file-name
    11. Verify whether your source machine is an NFS server: # ps –ef | grep nfsd
    12. If you see an entry that contains /use/lib/nfs/nfsd –a 16, then nfsd is running and skip to Step 16.
    13. If nfsd is running, then type: # /usr/sbin/shareall
    14. If nfsd is not running, then start nfsd by typing: # /etc/init.d/nfs.server start
    15. Verify whether your source machine is an NFS server again by typing: # ps –ef | grep nfsd
    16. Make sure your source machine is exporting your product directory by typing: # /usr/sbin/dfshares
    17. Now, log in to the target machine by type: # rlogin target-machine-name –l user (not root)
    18. Then log in as the root user by typing: # su
    19. Go to the source machine by typing: # cd /net/source-machine/cdrom/your-cd-file-name ,then Skip to 24.
    20. If you cannot change to that directory in Step 19 and you do not have an auto-mounter on your network, then create amount point by typing the following commands.
    21. # mkdir /remote_products
    22. # /usr/sbin/mount –F nfs –r source-machine:/cdrom/your-cd-file-name /remote_products
    23. # cd /remote_products
    24. Redirect the target machine display to source machine by typing: # DISPLAY=source-machine:0; export DISPLAY (if you use a Bourne or Korn shell).
    25. Start the Web Start Installer by typing: # ./installer (or whatever the installer name program is).

  • How can I updte Oracle database from 9.2.0.1 to 9.2.0.4?

    I want to use DM4j in JDeveloper 9.2.0.4, and it requires Oracle Database 9.2.0.4. I'm using Windows XP professional to be Database Server, so can I update my database. Someone here said he/she did this update, is it under windows platform?

    Thanks, I have update it by installing the path, and now I got the screen to generate code. However, when I run the generated code, it appears following error message:
    ClassificationMBTestOne.ClassificationModelBuildTestOne odm kknd jdbc:oracle:thin:@dba.ifsm.umbc.edu:1521:oracle9i
    Debugger connected to local process.
    Initialization Phase:
    Data Mining Server:
    JDBC URL: jdbc:oracle:thin:@dba.ifsm.umbc.edu:1521:oracle9i
    Username: odm
    Login Phase:
    Created data mining server
    Completed login
    Cleanup Phase:
    Removed function settings object: ClassificationModelBuildTestOne
    No prior mining model object to be removed: ClassificationModelBuildTestOne
    Removed mining task: ClassificationModelBuildTestOne
    Data Setup Creation Phase:
    Created NonTransactional PDS
    Input schema: ODM_MTR
    Input table: CENSUS_2D_BUILD_UNBINNED
    Mining Settings Creation Phase:
    Saved MiningFunctionSettings
    Name: ClassificationModelBuildTestOne
    Model Build Task Phase:
    Invoking Model build.
    Logout Phase:
    Completed MiningServer logout
    End: Fri Apr 16 11:50:11 EDT 2004
    oracle.dmt.odm.task.MiningTaskException: Failed to enqueue task "ClassificationModelBuildTestOne".
         at oracle.dmt.odm.task.MiningTask.execute(MiningTask.java:433)
         at ClassificationMBTestOne.ClassificationModelBuildTestOne.createModel(ClassificationModelBuildTestOne.java:1305)
         at ClassificationMBTestOne.ClassificationModelBuildTestOne.buildClassificationModelBuild(ClassificationModelBuildTestOne.java:412)
         at ClassificationMBTestOne.ClassificationModelBuildTestOne.main(ClassificationModelBuildTestOne.java:544)
    Exception breakpoint occurred at line 550 of ClassificationModelBuildTestOne.java.
    oracle.dmt.odm.task.MiningTaskException:

  • How can i query oracle database data to xml file with c++?

    I want query data to xml file directly in my c++ application .
    I know the oracle XSU provide interferce for query data to xml
    file directly.
    But XSU for oracle8i does not support c++.
    I do not know if XSU for oracle9i support c++.
    can you tell me?
    If i do not use XSU to finish my applicayion.
    what interface that oracle provide can help me do my work?
    thank you !

    BTW why do you want to migrate oracle database data to db2 database? Any specific project requirement like Parallel run with Oracle database (e.g data replication)? Or any other issues - Cost? Manageability? Availability? Business requirements?
    Do you need to do a day-to-day data transfer or it is for permanent migration?

  • How can I install Oracle database 9i on Redhat linux with OFA

    Hello,
    From the Unix installation guide:
    Note: The Oracle Universal Installer supports, but does not require, OFA. The preconfigured database included with the Database installation type of Oracle9i database is created under a single mount point and is, therefore, not OFA-compliant.
    So my question is how to install dabase with OFA structure. I have read the DOCs for OFA, but I still can not understand. I mean, within Oracle Universal Installer, is there some option allow me to support OFA?
    Thanks a lot,
    Grace

    Why IBM said that their 64-bit server can run both 32-bit and 64-bit application in the same time?Because the CPU itself is capable of running both: 32-bit and 64-bit.
    In order to do so you need a 64-bit operating system to run 64-bit binaries.
    If you use LPARs you can partition your pSeries to have multiple partitions each running a copy of AIX. So you can run 32-bit and 64-bit operating systems at the same time if needed.
    But as already pointed out i recommend to use 64-bit because most 32-bit applications will run without problems.
    Ronny Egner
    My blog: http://blog.ronnyegner-consulting.de

  • How can I drop the java objects from a schema

    hi..good afternoon all...
    How can I drop the java objects from a database schema???
    suppose the credentials are scott/tiger@db1
    Another thing is that...I have to do this from cmd(command prompt) as there is no plsql developer or sqldeveloper installed in the machine.
    plss help...thanks in advance...

    hi...i have already tried all the options..but it is showing the error..
    ora:01435 - user does not exist
    but when i have given the command...
    select object type, object_name, status from user_objects where object_type like'%JAVA%';
    then it is showing that the java_object is present....
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    SQL>
    SQL>
    SQL> set linesize 200
    SQL>
    SQL>
    SQL>
    SQL> select object_type, object_name, status from user_objects where object_type
    like '%JAVA%';
    OBJECT_TYPE OBJECT_NAME
    STATUS
    JAVA CLASS javaclass1
    VALID
    JAVA SOURCE javaclass1
    VALID
    SQL> drop java source javaclass1.java;
    drop java source javaclass1.java
    ERROR at line 1:
    ORA-01435: user does not exist
    SQL>

  • How can i install oracle 10g on linux cluster

    Dear all:
    please advice How can i install oracle 10g on linux cluster service ..
    thanks ,,

    Without RAC, you can only have one instance manage the database. One instance = one set of processes communicating via IPC.
    Unless you know of a way to have processes use memory-based IPC across nodes, you need to pick a node and install & run the database software on that node.

  • How can i recover my database after losing system data file.

    hi everyone,
    how can i recover my database in the following scenario.
    1. offline complete backup taken 2 days ago. database was in archive mode.
    2. today i lost my system data file, and also lost my all archived files.
    3. i started up the database but, the following error was generated.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: 'D:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF'
    4. i copied the system data file from backup and wrote the following statement, to recover the database.
    SQL> recover datafile 1;
    ORA-00279: change 2234434 generated at 07/15/2009 10:52:10 needed for thread 1
    ORA-00289: suggestion : C:\B\ARC00051.001
    ORA-00280: change 2234434 for thread 1 is in sequence #51
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    now i don't have any archive file. is there any chance to recover the database ?
    R e g a r d s,
    Asif Iqbal
    Software Engineer,
    Lucky Tex, Karachi,
    Pakistan.

    now i don't have any archive file. is there any chance to recover the database ?If no archive log files are available you can't recover the datafile.You need to have all the archives from the time of offline backup was taken till the system datafile is lost.
    Anand

  • How to connect to  Oracle database from webdynprojava application

    Hi
    How to connect to  Oracle database from webdynprojava application. where can we provide the code to connect to database.?
    Thank You.

    Hi,
    You need to create  Java Bean model. The bean is a typical java bean with default constructor, getter and setter. You can have additional methods for query etc. The attributes in the class will be your model node and attributes.
    However you need to configure the connection and create JNDI using visual administrator before writing the code.
    You can also consider writing Session EJB with oracle and using them in WD.
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/dcaa4f05535591e10000000a1553f7/frameset.htm
    Srini

  • How can I get Connection(Database Connection)on my backing bean

    hello guys!
    How can I get the Database Connection on my managed bean?
    I want to use this connection for my reports.
    thanks a lot!
    alvin

    Alvin,
    You can access the data provider through ADF the binding. The data provider represents the business service you use. Once you have a handle to this you can get the connection.
    You don't mention the business service, so I cannot help you more than this. If it is ADF BC, have a look at http://download.oracle.com/docs/html/B25947_01/toc.htm and the stored procedure section. Steve Muench explains a trick to access the "real" JDBC connect used by ADF BC
    Frank

  • Flex Mobile project - How can I open a database csv?

    How can I open a database with csv flash builder and load the contents into a list?

    STARTUP OPEN;
    Check this link
    http://h50.isi.u-psud.fr/docmiage/oracle/doc/server.817/a82950/ch5.htm

  • How to create a oracle database by java code?

    how to create a oracle database by java code?
    please give some ways then that way's code

    I'm not sure what you mean with "database". Do you mean an Oracle instance or an Oracle user/schema (probably the latter, because that's the equivalent to a MS SQL Database).
    Creating an instance is definitely not possible from within Java. To create a new user this should be possible, as this can be done with SQL:
    GRANT connect,resource TO <newuser> IDENTIFIED BY <password>;
    I'm always cautious with questions like this. In 90% of the cases there is something wrong with the initial design. Creating a database shouldn't be something the application is doing.
    Thomas

  • How to automate the Oracle database start and shutdown process

    How we can automate and oracle database start and stop procees with Linux start/shutdown process.
    I want to automatically start the oracle database at the time linux server and shutdown the database on shutdown linux server.

    Hi,
    I can share my scripts:
    1) /home/oracle/start_oracle.sh
    #Script should be ran as Oracle user
    cd /tmp
    export ORACLE_SID=orcl
    export ORACLE_HOME=/oracle/ora9i
    lsnrctl start
    sqlplus -S /nolog <<ENDSQL
    connect / as sysdba
    startup
    exit
    ENDSQL
    emctl start dbconsole
    isqlplusctl start
    NOTE: emctl and isqlplus are optional
    2) /home/oracle/stop_oracle.sh
    #Script should be ran as Oracle user
    cd /tmp
    export ORACLE_SID=orcl
    export ORACLE_HOME=/oracle/ora9i
    isqlplusctl stop
    emctl stop dbconsole
    sqlplus -S /nolog <<ENDSQL
    connect / as sysdba
    shutdown immediate
    exit
    ENDSQL
    lsnrctl stop
    NOTE: emctl and isqlplus are optional
    Then what you need:
    1) K91oracle_stop (put it in the desired run level)
    #!/bin/bash
    # description: Stop Oracle before reboots
    su - oracle -c "/home/oracle/stop_oracle.sh" >> /home/oracle/stoporacle.log
    2) S91oracle_start (put it in the desired run level)
    #!/bin/bash
    # description: Start Oracle after reboots
    su - oracle -c "/home/oracle/start_oracle.sh" >> /home/oracle/startoracle.log
    Bye.

Maybe you are looking for

  • Using one email for both husband and wife, how can we FaceTime each other

    My husband and I share an email account and Apple ID  How can we FaceTime each other since it seems to be based on our shared identity?  I am on a MacBook and he is on an iPad 2.

  • Network problems on new install of Mountain Lion

    Just installed Mountain Lion 10.8.1 on my 1-year-old Mac mini.  Now I lose my network connection after just a few minutes of idle time.  I'm using the built-in airport.  Anyone else?  Thanks.

  • Table for EBP users

    Hello all, I would like to distinguish EBP users from others sent from HR system. Is there any table where I can match users created in EBP and with their positions from HR. HRP1001 is not sufficient becuse there is no difference between EBP users an

  • How?: file transfers to wifi ipad

    Does the iPad support Bonjour or one of the dropclients to get my pdf files from my iMac to the iPad? If I go for the iPad with wifi, & I need to transfer my pdf documents to the iPad on the go...

  • Air update

    I am about to cry...or break something atleast. VerifyError: Error #1014: Class air.update::ApplicationUpdaterUI could not be found. I am on cs5.5 flash pro. I am creating an updater. Library path set for: applicationupdater_ui.swc code: var appUpdat