Database help

Hi everyone, i need to create a new database in oracle exprees edition 11g and then conected it to sql developer for oracle but am not sure how to do it I mean I know how to make a conecction from sql to my user into oracle database but how can I make or create a new database in oracle express edition and then be conected to it from sql developer
can someone help me please??

Hi,
The terminology is a bit different in the Oracle world than in other types of database software, i.e. Sql Server or MySql. I get a feeling that with the word database you actually mean something like what's called a schema in Oracle, a place to connect to and create objects like tables and views. In addition, a schema and a user is actually the same phenomen in Oracle and defined in the same way, but most developers separate between a schema where data is stored and user logon that is normally given permissions on a schema.
In a standard Oracle software (with a price) you can have more than one database in one installation, called database instances, but in Oracle XE you have only one database (instance). On installation of XE you have to give a password and that password is used for SYSTEM, the administrator you should use to connect with to create users (schemas) used for logon and where you can create tables and other objects.
You can find a good introduction to Oracle concepts here:
http://www.orafaq.com/wiki/Database_Concepts_and_Architecture

Similar Messages

  • Is there any advantage to use database helper class

    Is there any advantage to use database helper class ( e.g. database.bookDB in Duke's bookstore)in servlet design? What if I setup a DB connection for every servlet?

    If there is not much relation between servlets.For example one servlet working on authentication againist user name/password in database another one work on searching book by keywords?
    and if we want to have servlets written by difference programmers?

  • Problem with Java and Oracle Database -  help !

    i keep getting a NullPointerException when trying to
    update a resultSet in a servlet. i am bringing in the data
    just fine from an Oracle database. but it chokes when trying
    to update it. can anybody tell me what is happening?
    thanks for any help
    Owen
    ResultSet rs = stmt.executeQuery( "select * from sw_assets" );
    rs.next();
    rs.updateString("name","XXX"); <--- BOOM !
    java.lang.NullPointerException
    at sun.jdbc.odbc.JdbcOdbcBoundCol.setRowValues(JdbcOdbcBoundCol.java:240)
    at sun.jdbc.odbc.JdbcOdbcResultSet.updateChar(JdbcOdbcResultSet.java:3767)
    at sun.jdbc.odbc.JdbcOdbcResultSet.updateString(JdbcOdbcResultSet.java:3257)
    at sun.jdbc.odbc.JdbcOdbcResultSet.updateString(JdbcOdbcResultSet.java:3848)
    at _0002fopen_0002ejspopen_jsp_3._jspService(_0002fopen_0002ejspopen_jsp_3.java:87)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
    at org.apache.tomcat.core.Handler.service(Handler.java:286)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
    at java.lang.Thread.run(Thread.java:484)

    ResultSets based on a wildcard are generally treated as views by Oracle, meaning they are not updatable no matter how you create your statement. Try either "select swa.* from sw_assets swa" or "select all from sw_assets swa", that should get around the problem.
    Also (just being thorough) make sure that you specifically created your statement as being updatable (stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE) ).
    I would not normally expect a NullPointerException when encountering this "feature", but then I don't often use the ODBC bridge.
    Good luck! I hope this helps.

  • Problem installing oracle 8.1.5 as local database, Help me!

    Hello, my friends!
    I've been having problems with the connection to oracle 8.1.5 via ODBC. Does Exist any way to install a protocol that no requieres a net like TCP, SPX. I have a pc in my house and I'm not in a networking, so when i configure a tnsnames it requieres a protocol, and it shows: TCP, SPX, IPC, named pipes, which of them are for a Local PC, because i configured a tnsnames with TCP protocol and the connection via ODBC shows the message: 'Server rejected the connection'. My application and the database are in the same PC, so i'm accesing via ODBC to the database locally.
    so, i'd appreciate any help, please, any comments send me an email to : [email protected]
    Aldemar cuartas
    Colombia

    hi,
    Please confirm that your media(oracle 8.1) is for Intel Solaris or for Sun Sparc (RISC).
    bye
    [email protected]

  • DB Link between RAC and a standalone Database - HELP

    Hi Guys,
    I have a database DB1 on server1 (192.168.100.10), and then I have a RAC database on physical servers PROD1 192.168.100.1, and PROD2 192.168.100.5 with a load balancer. These two have virtual IPs 192.168.100.2 and 192.168.100.6. I have managed to create a DB Link on the RAC db pointing to DB1 with success, but when I create a db link on the DB1 server pointing to the RAC it fails. TNSPING works fine if I refer to the physical IP, but when I try the virtual IP it fails, but once I logon to the database I fail to connect using a db link or conn user1@prod1_link. Below are my tnsnames.ora entries.
    #virtual IPs
    PROD=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (LOAD_BALANCE=YES)
    (FAILOVER=YES)
    (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.100.2)(PORT=1529))
    (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.100.6)(PORT=1529))
    (CONNECT_DATA=
    (SERVICE_NAME=PROD)
    PROD1=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.100.2)(PORT=1529))
    (CONNECT_DATA=
    (SERVICE_NAME=PROD)
    (INSTANCE_NAME=PROD1)
    PROD2=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.100.6)(PORT=1529))
    (CONNECT_DATA=
    (SERVICE_NAME=PROD.econet.co.zw)
    (INSTANCE_NAME=PROD2)
    #physical IPs
    P1_PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.1)(PORT = 1529))
    (CONNECT_DATA =
    (SID=PROD)
    (INSTANCE_NAME=PROD1)
    P2_PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.5)(PORT = 1529))
    (CONNECT_DATA =
    (SID=PROD)
    (INSTANCE_NAME=PROD1)
    oracle@server1> tnsping prod1
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 12-OCT-2010 11:52:06
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.100.2)(PORT=1529)) (CONNECT_DATA= (SERVICE_NAME=PROD) (INSTANCE_NAME=PROD1)))
    TNS-12541: TNS:no listener
    oracle@server1>
    oracle@server1>
    oracle@server1> tnsping p1_prod
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 12-OCT-2010 11:09:28
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.1)(PORT = 1529))) (CONNECT_DATA = (SID=PROD) (INSTANCE_NAME=PROD1)))
    OK (0 msec)
    oracle@server1>
    SQL> Create Database Link prod_link
    Connect to user1
    identified by password
    using 'P1_PROD';
    Database link created.
    SQL>
    SQL> select * from global_name@prod_link;
    select * from global_name@prod_link
    ERROR at line 1:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    SQL>
    Help... sorry I could format the above using the "code" text.
    Regards,
    Kevin
    Edited by: Kevin Honde on Oct 12, 2010 12:10 PM

    TSTRAC1 =
    (DESCRIPTION=
    (LOAD_BALANCE=OFF)(FAILOVER=ON)
    (ADDRESS=(PROTOCOL=TCP)(HOST=10.10.96.165)(PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=10.10.96.167)(PORT=1521))
    (CONNECT_DATA=(SID=TSTRAC1)
    (INSTANCE_ROLE=PRIMARY)
    (SERVER=DEDICATED)
    (FAILOVER_MODE=
    (BACKUP=TSTRAC2)
    (TYPE=SESSION)(METHOD=BASIC)
    (RETRIES=10)(DELAY=3))))
    TSTRAC2 =
    (DESCRIPTION =
    (LOAD_BALANCE = OFF)(FAILOVER = ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.96.167)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.96.165)(PORT = 1521))
    (CONNECT_DATA = (SID = TSTRAC2)
    (SERVER = DEDICATED)
    (FAILOVER_MODE =
    (TYPE = SESSION)(METHOD = BASIC)
    (RETRIES = 180)(DELAY = 5))))
    -- 10.10.96.165 VIP of node 1
    -- 10.10.96.167 VIO of node 2
    This is the TNS entry for one of RAC DB. You can change accordingly. Then first try to log in to the RAC db from your single instance database. If you can connect successfully then you can create the DB LINK easily.
    Regards
    Asif Kabir

  • Copy data from mysql to oracle database help?

    Im an sql newb and trying to understand how I can automatically copy data from one dtabase to another systems database on the same server.
    We have two differnt applications, but both share customer information, but one is on a win server, while the other is on oracle.
    Each time a customer contacts us via online chat (win server, mysql), we want to copy their entire chat transcript into our CRM's (oracle) customer account. So the folks that use the CRM can see the past chat histories. I hope this makes sense.
    Where can i look to get started on this?
    Thanks

    You could look at Heterogeneous Services (see the forum here Heterogeneous Connectivity but if you want to push data from mysql to oracle you might be better looking at it from the mssql side. I don't know what they offer.
    It might be simpler to do it at the client end. ie cut and paste from the online chat application into a new utility which inserts into the oracle database.
    Incidentally, this forum is specifically for the SQLDeveloper tool. You might get more general help in the "database - general" or "sql and pl/sql" forums

  • Connecting to database help

    First let me say sorry as i have already started this post in another thread, but know one seems to be replying to it any more. the other thread can be found out: http://forum.java.sun.com/thread.jspa?messageID=9413573
    package coreservlets;
    public class Catalog {
    private static CatalogItem[] items =
        {new CatalogItem
            ("hall002",
             "<I>Core Web Programming, 2nd Edition</I> " +
               "by Marty Hall and Larry Brown",
             "One stop shopping for the Web programmer. " +
               "Topics include \n" +
               "<UL><LI>Thorough coverage of Java 2; " +
               "including Threads, Networking, Swing, \n" +
               "Java 2D, RMI, JDBC, and Collections\n" +
               "<LI>A fast introduction to HTML 4.01, " +
               "including frames, style sheets, and layers.\n" +
               "<LI>A fast introduction to HTTP 1.1, " +
               "servlets, and JavaServer Pages.\n" +
               "<LI>A quick overview of JavaScript 1.2\n" +
               "</UL>",
             49.99),
          new CatalogItem
            ("lewis001",
             "<I>The Chronicles of Narnia</I> by C.S. Lewis",
               "The classic children's adventure pitting " +
               "Aslan the Great Lion and his followers\n" +
               "against the White Witch and the forces " +
               "of evil. Dragons, magicians, quests, \n" +
               "and talking animals wound around a deep " +
               "spiritual allegory. Series includes\n" +
               "<I>The Magician's Nephew</I>,\n" +
               "<I>The Lion, the Witch and the Wardrobe</I>,\n" +
               "<I>The Horse and His Boy</I>,\n" +
               "<I>Prince Caspian</I>,\n" +
               "<I>The Voyage of the Dawn Treader</I>,\n" +
               "<I>The Silver Chair</I>, and \n" +
               "<I>The Last Battle</I>.",
             19.95),
          new CatalogItem
            ("alexander001",
             "<I>The Prydain Series</I> by Lloyd Alexander",
               "Humble pig-keeper Taran joins mighty " +
               "Lord Gwydion in his battle against\n" +
               "Arawn the Lord of Annuvin. Joined by " +
               "his loyal friends the beautiful princess\n" +
               "Eilonwy, wannabe bard Fflewddur Fflam," +
               "and furry half-man Gurgi, Taran discovers " +
               "courage, nobility, and other values along\n" +
               "the way. Series includes\n" +
               "<I>The Book of Three</I>,\n" +
               "<I>The Black Cauldron</I>,\n" +
               "<I>The Castle of Llyr</I>,\n" +
               "<I>Taran Wanderer</I>, and\n" +
               "<I>The High King</I>.",
             19.95),
          new CatalogItem
            ("rowling001",
             "<I>The Harry Potter Series</I> by J.K. Rowling",
             "The first five of the popular stories " +
               "about wizard-in-training Harry Potter\n" +
               "topped both the adult and children's " +
               "best-seller lists. Series includes\n" +
               "<I>Harry Potter and the Sorcerer's Stone</I>,\n" +
               "<I>Harry Potter and the Chamber of Secrets</I>,\n" +
               "<I>Harry Potter and the " +
               "Prisoner of Azkaban</I>,\n" +
               "<I>Harry Potter and the Goblet of Fire</I>, and\n" +
               "<I>Harry Potter and the "+
               "Order of the Phoenix</I>.\n",
             59.95)
      public static CatalogItem getItem(String itemID) {
        CatalogItem item;
        if (itemID == null) {
          return(null);
        for(int i=0; i<items.length; i++) {
          item = items;
    if (itemID.equals(item.getItemID())) {
    return(item);
    return(null);
    Using the above servlet and this one:
    package coreservlets
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class browser extends HttpServlet {
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
          throws ServletException, IOException {
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
         Connection conn = null;
         try{
             Class.forName("com.mysql.jdbc.Driver").newInstance();
         } catch(Exception e) {
             System.out.println(e);
         // connecting to database
         try{
             conn = DriverManager.getConnection
            ("jdbc:mysql://MY WEB ADDRESS FOR THE SQL TABLES GOES HERE");
              // System.out.println("Connection to database successful.");
           catch(SQLException se) {
             System.out.println(se);
         try{
              // Get the category from the input form
              String categoryString = request.getParameter("category");
              // check if no category
              if (categoryString == "") categoryString = "Action & Adventure";
             String selectSQL = "select title, director, rating, year_released, price, stock_count, image_name "+
                                "from video_recordings "+
                                "where category = '" + categoryString + "'";
             Statement stmt = conn.createStatement();
             ResultSet rs1 = stmt.executeQuery(selectSQL);
          // output html headers
          String title = "Films in the " + categoryString + " genre" ;
           out.println(ServletUtilities.headWithTitle(title) +
                    "><BODY BGCOLOR=\"#a00e0e\">\n" +
                  "<center><img src=\"http://localhost:8080/examples/pic.jpg\" width=350 height=200/></center>\n" +
                    "<H1 ALIGN=\"CENTER\">" + title + "</H1>\n");
           out.println("<TABLE BORDER=1 ALIGN=\"CENTER\">\n" +
                    "<TR BGCOLOR=\"#FFAD00\">\n" +
                    "  <TH>Title\n" +
                    "  <TH>Director\n" +
                  "  <TH>Rating\n" +
                  "  <TH>Year Released\n" +
                  "  <TH>Price\n" +
                  "  <TH>Number in stock\n" +
                    "  <TH>image name"
    // Retrieve the results
             while(rs1.next()){
                  out.println("<TR>" +
                              "<TD>" + rs1.getString("title") + "</TD>" +
                              "<TD>" + rs1.getString("director") + "</TD>" +
                            "<TD>" + rs1.getString("rating") + "</TD>" +
                            "<TD>" + rs1.getDouble("year_released") + "</TD>" +
                            "<TD>" + rs1.getString("price") + "</TD>" +
                               "<TD>" + rs1.getString("stock_count") + "</TD>" +
                              "<TD>" + rs1.getString("image_name")  +"</TD>\n");
                             "<TD> <IMG SRC=\"../images/music/" + image_name +"\">"
        // close the html
        out.println("</TABLE></BODY></HTML>");
    // Close the stament and database connection
             stmt.close();
             conn.close();
         } catch(SQLException se) {
             System.out.println(se);
      }How do i merge these two together so that a catalogItem is created by connecting to the database and uses the select statement?? If any one can help me here i would be really grateful as i am having real trouble with this.

    Below is what i have come up with (I cut out the code that just gets in the way for this post, eg the connect to database and import statements) My problem is this would only work once has i need to add the item to the array addedItem in the first for loop, can anybody help me with this has i have tried a number of ways but can't get it to compile.
    private static CatalogItem[] addedItem
    private static CatalogItem[] ItemsInCat;
    CatalogItem item;
    CatalogItem details;
            int recordingidDB;
         String directorDB;
         String titleDB;
         String categoryDB;
         String imageDB;
         int durationDB;
         String ratingDB;
         String yearDB;
         float priceDB;
         int StockDB;
    // Create select statement and execute it
         try{
             String selectSQL = "select title, director, rating, year_released, price, stock_count, image_name "+
                                "from video_recordings " + "'";
             Statement stmt = conn.createStatement();
             ResultSet rs1 = stmt.executeQuery(selectSQL);
             while(rs1.next()){
              recordingidDB = rs1.getInt("recording_id");
              directorDB = rs1.getString("director");
              titleDB = rs1.getString("title");
              categoryDB = rs1.getString("category");
              imageDB = rs1.getString("image_name");
              durationDB = rs1.getInt("duration");
              ratingDB = rs1.getString("rating");
              yearDB = rs1.getString("year_released");
              priceDB = rs1.getFloat("price");
              stockDB = rs1.getInt("stock_count");
               item =
               new CatalogItem
                  (recordingidDB, directorDB,titleDB, categoryDB, imageDB, durationDB, ratingDB, yearDB, priceDB, stockDB);
         String title = "Catalog Items";
    out.println(ServletUtilities.headWithTitle(title) +
                    "<BODY BGCOLOR=\"#a00e0e\">\n" +
                  "<center><img src=\"http://localhost:8080/examples/img.jpg\" width=350 height=200/></center>\n" +
                    "<H1 ALIGN=\"CENTER\">" + title + "</H1>\n");
         // loop to go over each item in the array of catalogItem
             for  (int i=0; i < ItemsInCat.length; i++) {
               out.println("__________________________");
               details = item;
         if (details == null) {
    out.println("SORRY THERE HAS BEEN AN ERROR ");
         } else {       
    addedItem[] // needd to store item in array here
         out.println(titleDB + "\n" + priceDB + "\n");
         out.println("</BODY></HTML>");
         public static CatalogItem getItem(int recordingidDB) {
         CatalogItem item;
    for(int i=0; i<itemsInCat.length; i++) {
    item = itemsInCat[i];
    if (recordingidDB.equals(item.getItemID())) {
    return(item);
    return(null);
    // Close the stament and database connection

  • [code]"URGENT DATABASE HELP PLEASE"[/code]

    hi everyone, I need some urgent help in my program.
    Basically, I want to query a database. The problem is, I do not know what relations exist. Does anyone know of a way I can find out the relations that exist and their schemas?
    Anyone who can help me in this query shall be well rewarded.
    Thanks in advance.

    >>>
    so basically, in a nutshell, you guys are sayingI
    am
    screwed??Judging by your posts: yes. Very much so.sarcasm aside, I meant is there no way I can get the
    database schema simply by doing some funky queries
    from Java?As k the DB guys for the ER diagrams and if they still ask you get the dump ask for acces to some oracle tools like Enterprise Manager Console where you culd figure out the structure your self.

  • Standby Database help....

    Hi all,
    I have succesfully configured Physical Standby Database, i am configured it on same system in which i am using Oracle 9i EE, Operating system is Windows 2000, no error occured during installation but when i issue this command " ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION; " on my standby site, and when i this command " ALTER SYSTEM ARCHIVE LOG CURRENT;" or "ALTER SYSTEM SWITCH LOG FILE" on primary db, nothing happens, no logs transfered to standby location ??
    anyone tell me how it works ? or is there any installation issue ?? or i missed any thing during installation.
    Your prompt help will be appriciated..
    regards
    Qamar

    ok then here are the SPFILE of both sides
    PRIMARY DB SPFILE
    *.background_dump_dest='I:\oracle\admin\PRDB\bdump'
    *.compatible='9.2.0.0.0'
    *.control_files='I:\oracle\oradata\PRDB\CONTROL01.CTL','I:\oracle\oradata\PRDB\CONTROL02.CTL','I:\oracle\oradata\PRDB\CONTROL03.CTL'
    *.core_dump_dest='I:\oracle\admin\PRDB\cdump'
    *.db_block_size=8192
    *.db_cache_size=25165824
    *.db_domain='world'
    *.db_file_multiblock_read_count=16
    *.db_name='PRDB'
    *.dg_broker_start=TRUE
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=PRDBXDB)'
    *.fast_start_mttr_target=300
    *.hash_join_enabled=TRUE
    *.instance_name='PRDB'
    *.java_pool_size=33554432
    *.job_queue_processes=10
    *.large_pool_size=8388608
    *.log_archive_dest_1='LOCATION=I:\oracle\oradata\prdb\arch MANDATORY'
    *.log_archive_dest_2='SERVICE=stdb MANDATORY'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='ARC%s.%t'
    *.log_archive_start=TRUE
    *.open_cursors=300
    *.pga_aggregate_target=25165824
    *.processes=150
    *.query_rewrite_enabled='FALSE'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.shared_pool_size=50331648
    *.sort_area_size=524288
    *.star_transformation_enabled='FALSE'
    *.timed_statistics=TRUE
    *.undo_management='AUTO'
    *.undo_retention=10800
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='I:\oracle\admin\PRDB\udump'
    STANDBY DB SPFILE
    *.background_dump_dest='I:\oracle\admin\STDB\bdump'
    *.compatible='9.2.0.0.0'
    *.control_files='I:\oracle\oradata\STDB\STANDBY01.CTL','I:\oracle\oradata\STDB\STANDBY02.CTL','I:\oracle\oradata\STDB\STANDBY03.CTL'
    *.core_dump_dest='I:\oracle\admin\STDB\cdump'
    *.db_block_size=8192
    *.db_cache_size=25165824
    *.db_domain='world'
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='I:\oracle\oradata\PRDB','I:\oracle\oradata\STDB'
    *.db_name='PRDB'
    *.dg_broker_start=TRUE
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=PRDBXDB)'
    *.fal_client='QAMAR'
    *.fal_server='QAMAR'
    *.fast_start_mttr_target=300
    *.hash_join_enabled=TRUE
    *.instance_name='STDB'
    *.java_pool_size=33554432
    *.job_queue_processes=10
    *.large_pool_size=8388608
    *.lock_name_space='STDB'
    *.log_archive_dest_1='LOCATION=I:\oracle\oradata\stdb\arch MANDATORY'
    *.log_archive_dest_2='SERVICE=STDB'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='ARC%s.%t'
    *.log_archive_start=TRUE
    *.log_file_name_convert='I:\oracle\oradata\PRDB','I:\oracle\oradata\STDB'
    *.open_cursors=300
    *.pga_aggregate_target=25165824
    *.processes=150
    *.query_rewrite_enabled='FALSE'
    *.remote_archive_enable='TRUE'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.shared_pool_size=50331648
    *.sort_area_size=524288
    *.standby_archive_dest='I:\oracle\ora92\RDBMS\standby'
    *.standby_file_management='AUTO'
    *.star_transformation_enabled='FALSE'
    *.timed_statistics=TRUE
    *.undo_management='AUTO'
    *.undo_retention=10800
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='I:\oracle\admin\STDB\udump'
    service are same as PRDB and STDB
    regards
    qamar

  • Access database help

    We have a client with a large database (48mb) and we need to
    get portions of the data to the web site so users can search it. We
    need portions of data from about 10 different tables. The data is
    updated daily on the local database so we would need to upload the
    subset of data on a regular basis so it need to be automated. ANY
    help on how to do this would be appreciated. Is there software or
    programming already done to do this so we don't have to start from
    scratch. We are open to look at any soulutions but would prefer
    asp/vbscript. Thanks!

    Any information found in the database is the same data you
    will find on the site you design. It's not a "do it automatically"
    or "update daily" kind of thing. You need to write a connection
    string that calls the database and have that on each page of ASP.
    You will add something that looks like this to each
    ActiveServerPage:
    <!--#include file="Connections/connectionstringname.asp"
    -->
    I'm assuming you will have this database on the same server
    as the site. You need to simply setup an ODBC connection on the
    server that basically points to the database. Now if that's not the
    case, your connection string is going to look different and the
    person that has that database is going to have to allow you access.
    You could also have them setup an FTP program that automatically
    downloads their database every 24 hours to a location you choose
    (which would be on your server where your ODBC points).. this would
    really be getting creative. If you don't have the database on the
    same server, my next question would be why? It's an Access DB
    right?
    Now, under applications, database tab, select the plus sign
    to setup a connection string. It will look something like this for
    Access......
    <%
    ' FileName="Connection_odbc_conn_dsn.htm"
    ' Type="ADO"
    ' DesigntimeType="ADO"
    ' HTTP="true"
    ' Catalog=""
    ' Schema=""
    Dim MM_cnConn_STRING
    MM_cnConn_STRING = "dsn=dsnname;uid=username;pwd=password;"
    %>
    The name of the DSN is the same as it is on the server you
    setup.
    Then to call the data, you need to create recordsets on your
    pages.
    May I suggest you but a book about dreamweaver. They usually
    have a sample site to work with, and plenty of info on ASP and
    setting up a database. Is it really really hard, no, but if you're
    just starting out it may take you a little longer to figure it all
    out.

  • Database Help Please

    I have a question. I am an experience programmer, but in the past only used Visual Basic to program database applications. My first Java Database application is causing me trouble. I would be most grateful if you could give me some help.
    DATABASE DECLARATIONS:
    DataStore dataStore = new DataStore
    Database database = new Database();
    I am using the following JDBC connection to run SQL queries on the database.
    query.setQuery(new com.borland.dx.sql.dataset.QueryDescriptor(database,sqlStmt , null, true, Load.ALL));
    It works fine. But I am also using the data store connection to access whole tables and data. The reason being that is that I find it easier that using ResultSet's.
    aTable.setStore(dataStore);
    aTable.setStoreName(tableName);
    aTable.open();
    The problem is that I am getting errors as one connection at times is blocking another.
    One connection type does not offer all that I want. I wish to us the JDBC connection mainly only for Read (and maybe creating tables with SQL). The data store connection I wish to use to get data and manipulate it and write. Is there anyway to run an SQL statement on a Datastore without JDBC?
    How is it best to manage this? ANY HELP WILL BE VERY MUCH APPRECIATED.
    Many thanks
    Angus

    DataStore and DataBase objects are Borland specific. Better go after Borland for some help, or find a Borland specific newsgroup.
    If you want help doing things with ResultSet objects, I can help -- otherwise, you've just run into the main drawback of shrinkwrapped IDEs.

  • Datastore & Database Help Needed

    I have a question. I am an experience programmer, but in the past only used Visual Basic to program database applications. My first Java Database application is causing me trouble. I would be most grateful if you could give me some help.
    DATABASE DECLARATIONS:
    DataStore dataStore = new DataStore
    Database database = new Database();
    I am using the following JDBC connection to run SQL queries on the database.
    query.setQuery(new com.borland.dx.sql.dataset.QueryDescriptor(database,sqlStmt , null, true, Load.ALL));
    It works fine. But I am also using the data store connection to access whole tables and data. The reason being that is that I find it easier that using ResultSet's.
    aTable.setStore(dataStore);
    aTable.setStoreName(tableName);
    aTable.open();
    The problem is that I am getting errors as one connection at times is blocking another.
    One connection type does not offer all that I want. I wish to us the JDBC connection mainly only for Read (and maybe creating tables with SQL). The data store connection I wish to use to get data and manipulate it and write. Is there anyway to run an SQL statement on a Datastore without JDBC?
    How is it best to manage this? ANY HELP WILL BE VERY MUCH APPRECIATED.
    Many thanks
    Angus

    I think that the advice given here matches the same that you got at http://forum.java.sun.com/thread.jsp?forum=4&thread=188487 .
    Although their is probably a lot of people that use JBuilder here, your best bet is to go to the source (JBuilder forum).
    Jamie

  • Exchange 2010 database help after clean install of exchange 2010

    Long story short. Had exchange 2010 issues. My exchange store would not open and I could not mount database. Copied v14 folder over to another folder. Removed exchange from AD, recreated my windows 2008 r2 virtual machine, Installed completely new exchange.
    It came up with new mailbox offline, which i left that way. I copied my flat files into the newly created v14 folder. When I open exchange, I see an unmounted copy of my old database. However, I am unable to do anything with it. Esutil said it was a clean
    shutdown. I am looking for the steps I need to take to get my old database back online as it has everyone's info. So exchange see's a copy of my old database, but nothing else. Any help would be appreciated. Thanks in advance.
    John

    Thanks for the response Willard,
    Your correct, I have placed myself in a Jam. the .edb file is in a clean state. I copied the whole directory over to a mapped drive. I am currently working the problem 2 ways. I have created a recoveryDB, but when I try to perform a New-MailboxRestore request
    it fails. When i do a get statistics I can see all email in the recoveryDB, but only a system file mailbox in the new database i created, none of my users. I have also tried the database portability. I can check and confirm the old database, but at the last
    step I am supposed to Get Mailbox -Database "old database", it fails to find the old database. So I am unable to run Get-Mailbox -Database "old Database" | Set-Mailbox -Database "New Database". I have set the new database to be
    overwritten. The problem arises when i try to get-mailbox -Database (old database)=   it says it cannot find database. Since I performed a clean install the old database is not in Active directory. When I open the path to the new database it is pointing
    at the .edb in the folder I created using the steps at www.exchangerecover.com/blog/2010/move-a-mailbox-database-using-database-portability.html
    Now that I totally screwed it up, I can start from the beginning if necessary. I am just hoping I do not lose the data. I would appreciate a push in the right direction. I am currently trying to touch base with an exchange admin at the local university.
    We have played phone tag so far. Microsoft support is my next option.
    John

  • Web Page Database Help

    I have built the site www.key-services.co.uk it is a website
    promoting property management and Residential Lettings in cyprus.
    If you look at the
    Lettings Page
    you will see that i have just created images and text box's to
    display each propertys details. and when you click on it it just
    goes through to a contact form.
    now what i want to do is to create a feature where the user
    can sort the propertys by size, Price, Location Etc and when they
    click on the property it will go through to a page containing more
    details.
    I know i would need to create a database to do this but other
    than that i have no idea, bit of a newb when it comes to dynamic
    pages.
    Does anyone know of a good application that will do this for
    me, or a tutorial of how to set up a database myself.
    thanks in advance for any help received.
    *webserver is Linux, and i have access to a MySQL database
    slots with my hosting company, if that means anything.

    Hi ,
    Like your title mentioned, your case is in a web page in asp.net, it sould be posted in Asp.Net forum.
    Here is the link
    http://forums.asp.net
    This forum is only covering the C# programming language, IDE, libraries, samples, and tools.
    Please consider to reprost in that forum for better support. Thanks for your understanding.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Create Database Help ( Important )

    Hi DBA's,
    I need one help. Actually I have installed oracle 9i ( 9.2.01.0) on my system and by mistaken I have assign the drive D:\ ( size 2.9 gb) instead of E: ( size 5 gb). The installation was successfuly but when I tried to create database via DATABASE MIGRATION ASSISTANT I got one error because disk space was not sufficient for creating the database. Execpt creation of database everything was installed fine. Can anyone help me.coz I know I can specify the difference path for oracle database but HOW ??
    The other way of doing it to again remove the whole install and again re-install in E:\ drive. but I am pretty sure I will get my answer over here.
    I have the script for creating the database manually and I want to do by this way but how to connect to oracle .
    Thanks in advance.

    If installation went fine, and you have scripts for database creation, then change your scripts so that datafiles and everything else go to E drive, and execute them. This way you'll have Oracle software on drive D and database on drive E, which seems a good solution, unless you want everything on drive E, but in this case you have to reinstall.
    how to connect to oracle You should have a .bat file that does it, then executes one (or more) .sql scripts, so it should be sufficient to execute it. If you have doubts, then post it.

Maybe you are looking for