How to start an Oracle database

Hello everyone,

I'm running windows server 2003 standard edition OS on my computer in the C drive in the c:\Windows folder.

I installed Oracle 10g 10.1.0 product on my computer in the E:\Oracle10g drive.
My Oracle database was stored in E:\ORADATA. His name is orcl database by default. My OS was accident due to a virus attack.

I installed Windows Server 2003 Standard Edition on the C drive in the c:\WIN2K3 folder. I have not format drive C at all.

I installed Oracle 10 g Release 10.1.0 in drive C C:\ORACLE folder. New name of the database is SMS which is stored in C:\oracle\product\10.1.0\oradata.

How can I import my data from ORCL database that is stored in E:\ORADATA\ORCL DRIVE? Is it possible? Please help me.


with respect,
RLS ROULIN
[email protected]

[email protected] wrote:
Hello everyone,
How can I import my data from ORCL database that is stored in E:\ORADATA\ORCL DRIVE? Is it possible? Please help me.

Export of database ORCL with the [export datapump | http://download.oracle.com/docs/cd/B14117_01/server.101/b10825/dp_export.htm#g1022624], then import the export dump file in the database on drive C with the [import datapump | http://download.oracle.com/docs/cd/B14117_01/server.101/b10825/dp_import.htm#g1025464]

Tags: Database

Similar Questions

  • How to start the oracle database server and its client in windows 8

    Hi all

    I am a new entry in this forum and I am a beginner with oracle database.

    I always used SQL Server as the database, and it was easy to use after installation.

    With management program configuration of SQL Server I could to start service SQL Server (SQLEXPRESS) and the database server start!

    With SQL Server management studio, I was able to launch the client application, then was to establish a connection to the server and everything worked great!

    Now, how to work with the oracle database?

    I installed the oracle server and client version 11g R2 in windows 8, but how do I start the database?... and how can I start the client application to query?

    best wishes in advance.

    PS: Sorry for my English.

    If you are on the same machine, the only service that you absolutely need to start is the database service.  In your case OracleServiceSYSDBA (hmmm... How did you find with this name?).

    For queries, you can use SQL * Plus which should also be installed.  If you want something GUI, you can use SQL Developer (you need to install separately I think).

  • How to connect an Oracle database without using input TNS

    Hello

    I need to connect my pc Oracle database server without using the TNS entry. How to do this?

    Kind regards

    007

    [easy connection: CONNECT to username/password@[/]host[:port][service_name]

  • How to clean the Oracle database?

    Dear gurus and DBA. My company wants to give old computer at the local school. We have the Oracle database on this server. My boss want to make sure that the school not getting all the Oracle data. Some data bank is and must be a secret. The Bank's major customer and so exposed information, it means big problem for us. Ideas you might have appreicated. Thank you.

    >

    Hi Rajiv,

    Dear gurus and DBA. My company wants to give old computer at the local school.
    We have the Oracle database on this server. My boss want to make sure that the school
    not all Oracle data. Some data bank is and must be a secret.
    The Bank's major customer and so exposed information, it means big problem for us.
    Ideas you might have appreicated. Thank you.

    DBAN is your man - even not God could get information about a Dban disk ' ed - get it [url http://www.dban.org/] here.

    I have some work for a charity that sends computers in East Africa a few years ago.
    These PC came from banks, insurance companies, lawyers & law firms - a lot of
    potentially sensitive data. Much of the company to simply delete the
    files, which, as we all know is not really effective.

    The first thing we did with each machine was Dban them - no work allowed the
    any PC until it had a sticker of Dban top. Never had any problems.

    HTH,

    Paul...

    Published by: Paulie July 22, 2012 00:26

    Published by: Paulie July 22, 2012 00:27

  • How to migrate the Oracle database to the MySql server

    Hello

    I'm on a project that include databases oracle to MySql database migration, also include data warehouse servers.
    Please help me, what is the procedure to migrate the oracle to MySql database database, which takes relatively to the objects of care.
    If any link help me, please let me know.

    Hello
    This forum is for assistance to the migration of non-Oracle to Oracle databases. If you need assistance in migrating from Oracle to MySQL contact MySQL. You can try the forum MYSQL here-

    http://forums.MySQL.com/

    Kind regards
    Mike

  • How to install an Oracle database for the practice on laptop?

    Hi all

    I intend to install the database Oracle and some products of oracle developers to practice on my laptop.

    # Configuration of the laptop
    > Lenovo IdeaPad Y450 - 41896AU
    > Intel® Core™ 2 Duo T6600 (2.20 GHz)
    > 4 GB of RAM, 320 GB hard drive
    > Windows 7 Home Premium 64-bit

    I'm looking for help on the doubts in this regard.
    What version of the oracle database is very good-suite/work for this configuration of the laptop and the path to download the same?
    Additional information about this facility.
    Kind regards
    Shyam.

    Hi Sham;

    URL to download Oracle enterprise linux.

    You can use http://edelivery.oracle.com/linux

    Detailed step put virtual box or VMware.

    Check: http://downloads.vmware.com/d/info/desktop_downloads/vmware_workstation/7_0

    Detailed step to install linux on a virtual machine.

    Visit this site: http://stahlworks.com/dev/index.php?tool=vmlinux

    Detailed step install oracle 10g / 11g release on linux.

    Check below for 10g:
    http://www.Oracle.com/technology/tech/Linux/install/index.html
    http://kamranagayev.WordPress.com/2009/05/01/step-by-step-installing-Oracle-database-10G-release-2-on-Linux-CentOS-and-automate-the-installation-using-Linux-shell-script/

    Check below for 11g:
    http://wiki.Oracle.com/page/install+Oracle+11g+on+CentOS+under+VMware+Windows

    Respect of
    HELIOS

  • How to install the Oracle database on mac?

    Can someone send the procedure step by step to install the database oracle on mac

    Sorry, Oracle DB is not an Apple product, go to their forum to get advice.

  • How to start the database aautomatically

    Hello

    Oracle Version: 10.2.0.1(standard edition)
    OS: FEDORA 7

    Can someone help me please on how to start the base database automatically when the server is in place.

    http://www.Oracle-base.com/articles/Linux/AutomatingDatabaseStartupAndShutdownOnLinux.php

    Good, nice and clear link to auto-start the PB on linux.

    HTH
    Girish Sharma

  • How to set up the database restarts automatically when the server starts?

    Hello

    What is involved if I configure Oracle database starts automatically when the server is started/restarted?

    I guess that change the following entry in/etc/oratab
    DEVDB:/u01/app/oracle/product/10.2.0/db_1:N
    TO
    DEVDB:/u01/app/oracle/product/10.2.0/db_1:Y
    is not sufficient - there is more than that. But what is it?

    We can also configure the listener to automatically re / start?

    I guess that everything what is the solution, it will also apply to Oracle 11 GR 2 databases/ASM - right?

    The platform is Redhat Linux 64 bit (version 4.7 & v5.9).

    Thanks in advance!

    Best regards

    Hello

    Below is one example of autostart services database and the listener.

    1 > make/etc/oratab file entry Y as:
    ORCL:/U01/app/Oracle/product/10.2.0/Db_1:Y

    2 > create a file called "/ etc/rc.d/init.d/oracle" as root, containing the following.
    --------------------------------------
    #! / bin/sh
    # chkconfig: 345 99 10
    Description #: Oracle automatic start-stop script.
    #
    # Define ORA_HOME as equivalent to the $ORACLE_HOME
    # from which you want to run dbstart and dbshut;
    #
    # Define ORA_OWNER to the userid of the owner of the
    # Oracle in ORA_HOME server.

    ORA_HOME=/U01/app/Oracle/product/10.2.0/Db_1
    ORA_OWNER = oracle

    If [! f $ORA_HOME/bin/dbstart]
    then
    echo "Oracle startup: cannot start.
    output
    FI

    case '$1' in
    'Start')
    # Run Oracle databases:
    # The following command assumes that the oracle connection
    # will not prompt the user for all values
    known - $ORA_OWNER - c "start ORA_HOME/bin/lsnrctl $".
    known - $ORA_OWNER - c $ORA_HOME/bin/dbstart
    ;;
    'stop')
    # Stop the Oracle databases:
    # The following command assumes that the oracle connection
    # will not prompt the user for all values
    known - $ORA_OWNER - c $ORA_HOME/bin/dbshut
    known - $ORA_OWNER - c "ORA_HOME/bin/lsnrctl stop $.
    ;;
    ESAC
    -------------------------------------------------

    3 > use the chmod command to set privileges to 755.
    chmod 755 /etc/rc.d/init.d/oracle

    4 > associate the appropriate oracle service run levels and set it to auto-start by using the following command.
    chkconfig--level 345 oracle on

    Note:-back, I've done this for a long time... Please check the dbstart use pfile or spfile to start the database instance.
    Thank you

  • How to connect Microsoft excel to oracle database?

    version Oracle 11.2.0.3
    version of solaris 10 operating system
    Microsoft excel 2007

    any body can help me how to connect excel, oracle database, I can write my query in excel, and retrieve data from oracle database and show in excel sheet or I can write a query to insert data to the oracle database.

    Hello

    I never tried, but why not try so if you succeeded you will come to know otherwise you would need still oracle client to connect to the oracle database that is located on the other server or if you do not have to install on your local machine that you cannot connect to the oracle database oracle client.

  • Java class to connect to Oracle Database Express Edition11g and URL

    Can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?

    I'm just starting to learn Java and with it, learn how to use the Oracle Database Express Edition11g and with it the Oracle SQL Developer...

    At this point, I have the Express Edition is installed and the SQL Developer installed and were able to establish a connection and to run a query and get a result.

    I use Eclipse for JAVA.  I have a work of class that performs a query on a database/table in MySQL.

    So now I'm eager to make the same use as the database Oracle Database Express Edition11g engine.

    And this means that two different versions of JAVA that I need to get the right to be able to do.

    The first is the value of the url variable.

    I now like

    String url = "jdbc:oracle:thin:@localhost";

    then

    Class.forName ("oracle.jdbc.OracleDriver");

    and then

    Connection connection = DriverManager.getConnection (url);

    The thing I'm puzzled on is in the URL where I 'localhost' was supposed to be the term generic and not so much as the text, you should use.

    I see in Web sites like 3 connection to Oracle Database XE

    and decrease example 3-2 by specifying the URL of database using the XE Client Setup

    There I see

    JDBC:driver_type: [username/password] @[//]host_name[: port] [XE]]

    And just what is and what is not is explained here.  So what I ended up with was

    String url = "jdbc:oracle:thin:@localhost";

    So if it was just a text to rest for a name I wonder just such a value or name might really where.

    I noticed that view that an app called "Oracle JDeveloper" has been used to create the values.   I don't have such a thing, or at least I don't think I do.

    Do I need?

    I have Oracle SQL DEVELOPER, where I used the following to connect to the database of the XE.

    My choice for Oracle's SQL Developer Help

    Name of connection: Connection1

    User name: Rod

    Password: myOracle11

    Host name: localhost

    Port: 1521, which is the default value

    SID: xe

    Above so I have to host name set to localhost

    Can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?

    1. I do nothing

    2. While wouldn't you say it

    3. no results from the earlier assignment.

    I asked "'can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?" "

    I showed the choice that I used in SQL Developer to connect to the schema.  And I was wondering, now that I had done this case those are the values that I could use in the Java class that I wrote.  The web site in the first post of this thread showed connection but he was using JDeveloper and SQL Developer.

    So I was wondering if the connection that I made using SQL Developer would do the same trick, and if I could use the values I did there.

    I'm happy to announce that YES, The values used to connect using SQL Developer work exactly like JDeveloper.

    So, given that in SQL Developer for Hostname I chose the value "localhost" "Rod" Username and password "myOracle11".

    I did the following JAVA CLASS that worked:

    package VC_2_9;

    Java for COBOL - copyright 1999 Doke & Hardgrave programmer

    import java.sql. *;

    public class DataBaseDemoOracle

    {

    Public Shared Sub main (string args [])

    {

    String CUST_LAST_NAME;

    / * String url = "jdbc:mysql://localhost/visualcafe";                     */

    String url = "JDBC: thin: @localhost';"

    / * String sqlQuery = "SELECT Name, SSNo, address, telephone OF THE customer;    */

    String sqlQuery = "SELECT CUST_LAST_NAME FROM DEMO_CUSTOMERS";

    //                                               |||||||||||||||

    Try

    {

    Class.forName ("oracle.jdbc.OracleDriver");

    Connection connection = DriverManager.getConnection (url, "Rod","myOracle11" ");

    Statement statement = aConnection.createStatement ();

    ResultSet rs = aStatement.executeQuery (sqlQuery);

    Boolean more = rs.next ();

    (more)

    {

    CUST_LAST_NAME = rs.getString (1);

    /* */

    System.out.println ("name:" + CUST_LAST_NAME);

    more = rs.next ();

    }

    RS. Close();

    aStatement.close ();

    aConnection.close ();

    }

    catch (ClassNotFoundException e)

    {System.out.println ("Exception caught" + e) ;}}

    catch (SQLException e)

    {If (e! = null)}

    {System.out.println ("SQLException taking" + e);}

    e = e.getNextException ();

    } / / end of while loop

    } / / end of capture

    } / / main end

    } / / end DataBaseDemoOracle.java

  • Oracle Database XE - apex on Windows 7 - the problem with the connection from another computer on Windows 7

    Hello

    I started with Oracle Database 11g, with apex XE, fact the upgrade of the Apex 4.2.6 and to develop a small Application.

    I wanted to connect to my computer (with step of database on this subject) from another computer Windows 7 B.

    So I put Firefox: //A:8080/apex but I have only received a timeout.

    Of course, on both computers there is a firewall of windows running, so I stopped on both systems, the firewall, but it is always the same.

    In Explorer windows running on computer B, I can see data from computer A and both computers are in the same home-net group. (Sorry for my bad English).

    Is there anyone who cann tell me how to get the connection running?

    Maybe I saw the info on this in the textbooks, if it is there, please give me a hint.

    Thank you very much

    William Kastner Salzburg

    Hello

    Check to see if that helps

    https://docs.Oracle.com/CD/E17781_01/install.112/e18803/TOC.htm#XEINW127

    Kind regards

    Jari

  • Create the connection to the Oracle database

    How do I create oracle database connection using flex.

    Please mention all necessary codewise and sage (for flex as well as Oracle9i) configuration

    Thanks in advance.

    VjFlex,

    looking at your line of code

    url="DataConn.php?lal='sds'"
    

    I would not have thought you need them ' brands around sds. Unless your php code is something dindane special to manipulate, you would put normally just lal = sds and everything would be fine.

    You also say "Please pass the asp.net code, you did to do the same thing. Of course, I can't at the moment past on the actual code but the principles are the following (I use c# in ASP.NET as language server-side in this case and SQL server in the database and did not show the string for connection etc - you already know how to do as your database)

    sql_call = "select top 10 t1.a, t2.b, t2.c from t1, t2 where t1.id=t2.id order by a";sql_server_command = new SqlCommand(sql_call, sql_server_connection);sql_server_command.CommandType = CommandType.Text;sql_server_data_adapter = new SqlDataAdapter(sql_server_command);dataset = new DataSet();sql_server_data_adapter.Fill(dataset);datatable = dataset.Tables[0];call_encoded = "";for (int i = 0; i < datatable.Rows.Count; i++)  {    data_record = "" +      "" + datatable.Rows[i][0].ToString() + "" +      "" + datatable.Rows[i][1].ToString() + "" +      "" + datatable.Rows[i][2].ToString() + "" +      "";    call_encoded += data_record;  } // for icall_encoded += "";return call_encoded;
    

    Hope that helps. You can see that the returned table is converted into XML so that once back in Flex, it can be easily managed.

    Richard

  • Oracle database won't start - Interview Question? How to answer Interview in short-

    Hello people

    I am Java programmer, trying to gear to Oracle DB, attended a few Interview.

    So far in the Interview they ask this question "How do troubleshoot you if Oracle database is not running / does not start?

    Since I have no experience in real time.

    I would say that I'll go and do a TNSPING, check the Listerner.ora entries. If Windows I will tell me that I'll check Services.

    but so far, it seems that they are not happy with my answer.

    So I ask each of you to tell me how I should answer.

    I know it's the open question but how should I tell them in a nuttshell.

    Thank you

    Matt

    I am Java programmer, trying to gear to Oracle DB, attended a few Interview.

    So far in the Interview they ask this question "How do troubleshoot you if Oracle database is not running / does not start?

    Since I have no experience in real time.

    I would say that I'll go and do a TNSPING, check the Listerner.ora entries. If Windows I will tell me that I'll check Services.

    but so far, it seems that they are not happy with my answer.

    So I ask each of you to tell me how I should answer.

    I know it's the open question but how should I tell them in a nuttshell.

    Well - until now I disagree with ALL of the other answers!

    IMHO the FIRST STEP in ANY troubleshooting task is to CONFIRM that the problem really exists.

    The KEY part of this confirmation is to get ALL the information available to the person reporting the issue. In an interview which is SIMPLE - the person reporting the issue is sitting right in front of you. So instead of running around like a chicken with its head cut off you should begin by asking a few key questions:

    1. you said that the data is not running

    a. IS IT supposed TO BE running - that would be my VERY FIRST question!

    b. How do you know this? A user did report it to you? Have you tried to use yourself?

    c. How do confirm you the DB was down? Have what measures you taken?

    d. What do you mean by DOWN? Stone cold dead? Running but not accessible to business users? Running but inaccessible to anyone including DBA?

    e. what other information you have about the problem? Have you checked the log of alerts? When was the last time it was running normally? What could have happened since then to bring it down? There were backups or scheduled maintenance tasks?

    2. you said that it does not start

    a. How do you know this?

    b. did you try to start it yourself?

    c. how the restart was attempted? how much? where (what machine)?

    d. what command they use? They use 'EM? Or a console?

    (e) what has been the result? What has been the response on the console (if the console has been used) what has been the result if EM has been used?

    Your answer to that seemingly simple question should have been to about a dozen questions of your own like I did just above. There is NOTHING to do, IMHO, before getting THE news AND ALL of the one who reports the problem - that includes interviewers.

    Disappoint my more great in interviews is when otherwise intelligent people are so reluctant to ask questions to get the information they need to understand and confirm the question/problem.

    The above is why I "disagreed" with the other responses made so far. Certainly, the alerts log is important and must be checked. But it's a lot easier knowing what the person concerned (interviewer) know asking them just before starting to run. As far as we know that the interviewer was ready to tell you what the alert log say if you just ask.

    My rule #1 in an interview: ASK QUESTIONS!

    Anyone who is not asking questions in my interviews gets demerits. I can train someone how to solve problems and perform DBA tasks. But I found it almost IMPOSSIBLE to tell when they don't know something if they don't ask questions or tell me "I don't know".

    If someone just asking these questions above this would indicate to me that they know how to FIND the information they need, even if they don't know yet how to use this information.

  • How to start to use the Oracle client to access the database?

    People,

    Hello. I just installed Oracle Client (Instant Client) in the directory/home/myOracle/Oracle_Client.
    But I don't know how to start and configure the client to access Oracle database.

    Can all folk tell me how to start to use the Oracle client to access the database?

    user8860348 wrote:
    People,

    Hello. I've successfully used Oracle SQL Developer. But I want to know how to use the Instant Client.

    Can any folk tell me how to use the Client then just install it?

    I guess you're hurting understand the definition of Client instant, there isn't a tool or application or tool GUI as a sql developer or another that you can start using. It's just client installed with the minimum characteristics
    If you want to use the right application tool install sql developer in your instant client or simply running sqlplus

    See you soon

Maybe you are looking for