Create New Test Database with all permissions

Hi all,
We have a Oracle9i database running on Linux platform . Currently 40 users working on it. Now i want to create another test database with giving all permissions to it. Give your valuable suggestions.
Regards,
Sudarshanam

The answer to your question as I understand now would be,
grant DBA to <user>;
But I think you mean something else. Please be more clear

Similar Messages

  • Create new MySQL Database with SQL

    I have a simple question, :-)
    how can I create a new MySQL Database with SQL - (JDBC)
    can you show me a code example?
    tank you ...

    okay ... but how do I use the URL ??? that's the problem
    I tried this:
    Connection con   = null;
            Vector vct       = new Vector();
            try{
                String drv = "org.gjt.mm.mysql.Driver";
                String url = "jdbc:mysql://111.222.333.444:3306";
                String name = "myname";
                String pass = "mypass";
                Class.forName(drv);
                con = DriverManager.getConnection(url,name,pass);
                String statement = "CREATE DATABASE TestDB_Don1";
                Statement stm = con.createStatement();
                stm.execute(statement);
                stm.close();
                con.close();                         
            catch(Exception e){ e.printStackTrace(); }but it doesen't work ............. what is wrong ?

  • Create new oracle database with JAVA

    Hi!
    I would appreciated it if you could help me to solve a problem that i have.
    I am trying to create a new oracle database by a JAVA 1.4.2 application. I am using the scripts that Oracle 10.g supplies during the creation of a new database from the server (Generate Database Creation Scripts) with the appropriate changes, generated by a java application. Unfortunately, i am unable to connect with the database and the listener. Is there any other way to create a new database by java and how can i solve my current problem with the oracle scripts?
    Thank you.

    A) To create a new schema, you need to be connected as a user that has create schema privilege, or as tyhe user who is to own the schema (remembering that the user has appropriate create privs, as seen in the GRANT command in the SQL Reference manual). Not an issue at all, I think, if you coordinate this with your DBA. Discussed very well in the Administrator's manual.
    B) Alternately, you could create a complete copy of the schema, including all desired objects (tables, views, etc.) in a separate database and simply export the user and schema. Then simply invoke the OS-based import command (imp) to load that entire thing into the target database.
    C) To create a new database, there are 3 simple steps ...
    1) create the appropriate initialization parameter file
    the init{sid}.ora file should be placed in the $ORACLE_HOME/dbs or %ORACLE_HOME%\database directory. (I recommend you do not attempt to create the spfile.) Of critical interest will be setting the block size information, the control file parameters, and using the appropriate memory management parameters, based on the version of the software you will be using to create the database instance.
    2) start an empty instance, pointing to the parameter file
    This will be an OS specific call, and will require that you have the correct OS environment set up as well as access to the ORACLE_HOME which will provide the software that you will invoke. In *nix you will need to call the sqlplus command with sysdba provs and in Windows you will need to call oradim to initialize this as a service.
    3) run the SQL create database command
    You might want to use the dbca to create a template of the create database command, or look in the SQL Reference manual for the variations on the command. Of critical interest will be initializing the redo logs as well as the system, sysaux (if needed), temp and undo tablespaces after which you can set up the regular tablespaces, users and schemas. I highly recommend that you have redundant copies of the control files on separate drives.
    You may want to review the online Concepts manual and the Adminstration Guide for some of the specifics to your needs, but I think I've covered the basics.
    Remember that ideally you will only have one database instantiated on any given server as the memory and CPU overhead of each instance is significant.
    Good luck.

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • Duplicate from standby database to create a test database?

    Hello!
    Would it be possible to use backup-based duplication FROM a physical standby database to create another database to be used for testing? If I performed RMAN backup of the standby database, moved the backup to another test server, and then ran duplicate?
    Anyone know if this would be possible? If possible, would the new test database's controlfile be "standby" or "primary".
    (version 11.2.0.2)
    thanks..

    Yes it works ! I've tried that recently on 10g so I think on 11g will not be a problem.
    You can do it with or without duplicate. If you want to use duplicate, you don't need to copy the backup. Actually, on 11g you don't need no backup at all, since now you have 'from active database' option for duplicate command !
    Also, duplicate will rebuild the controlfile so it will not be "standby" or "primary" ...
    Gabriel

  • Creating a test database from backups of the production

    Hello Experts,
    I am a newbie with very much new in Oracle. I have been provided with the inc0 backup(which comprises even the controlfile backup) of the production database (PROD) taken through RMAN and asked to create a new test database (TEST) using the backup. Can anyone please provide me the steps on how to restore it and create the new database ?
    Database version 10.2.0.4
    I am aware of duplicate database concept using RMAN, but I have been asked to not to connect to the target (PROD) database while duplicating. So, I need to create the test database by using the backup of prod database without connecting to PROD database. Please guide me.

    Refer
    http://arjudba.blogspot.in/2008/05/restore-and-recover-database-to-new.html
    RMAN restore database from another backup of different database name
    When you are restoring using the backup of the production database, the db_name would be same on the auxiliary database. Once you restore and recover the database in your test server, you can change the db_name from prod to test by recreating the controlfile

  • Is it possible to create a Clone database with the same name of source db ?

    Is it possible to create a Clone database with the same name of source db using RMAN ...
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....

    user11919409 wrote:
    Is it possible to create a Clone database with the same name of source db using RMAN ...
    yes
    >
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....yes
    Handle:     user11919409
    Status Level:     Newbie (10)
    Registered:     Dec 7, 2009
    Total Posts:     102
    Total Questions:     28 (22 unresolved)
    why do you waste time here when you rarely get any answers to your questions?

  • Creating a Standby Database with the Same Directory Structure

    Hello gurus,
    I am self-learning the feature Oracle Data Guard, so I am testing it on Oracle 10g R2.
    At Oracle documentation there is a section F.4.: Creating a Standby Database with the Same Directory Structure*, that explains how to create a standby database with RMAN but there is something that I don´t understand:
    In the standby server, I created a database with the SID equal to production database* with the objetive to have the same directory structure, but when I try to startup nomount the standby database with pfile appear this expected error:
    ORA-16187: LOG_ARCHIVE_CONFIG contains duplicate, conflicting or invalid attributes
    So my question is: Is possible have the Same Directory Structure on both: Production and StandBy server?
    Thanks in advanced.

    Uwe and mseberg: thanks for your quick answers
    I have a doubt: How can you have the same directory structure if you have differents SIDs?, for example if you follow the OFA suggestions you would must have:
    On Production server: */u01/app/oracle/oradata/PRIMARY/system.dbf*
    On StandBy server: */u01/app/oracle/oradata/STANDBY/system.dbf*
    Or you created the directory structure manually on StandBy server? For example replacing the string STANDBY* to PRIMARY* before create the database using dbca.
    Do you understand my doubt? Excuse me for my english.
    Thanks.

  • How to create  a test plan with specific transactions (or program)

    Hello,
    I'm a new user in Sol Man !
    How to create  a test plan with specific transactions (or program).
    In my Business Blueprint (SOLAR01) I've created in 'transaction tab' the name of my specific transactions and linked it.
    In my test plan (STWB_2) those specific doesn't appear to be selected !
    Thanks in advance.
    Georges HUYNEN

    Hi 
    In solar01 you have defined but you have to assign the test case in solar02 for this test case in the test cases tab.
    When you do so expand the business sceanario node in test plan generation of STWB_2 transaction and now that will appear.
    Also visit my weblog
    /people/community.user/blog/2006/12/07/organize-and-perform-testing-using-solution-manager
    please reward points.

  • CUA - Creating a test user with profile

    Hi All,
           I just set up the CUA in our newly installed solution manager which is the central system and another sandbox system with three  clients as the child systems.
    I referred to the follwoing for the setup:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cc/50b43be7492354e10000000a114084/frameset.htm
    One of the tests for checking the setup is to create a test user with profiles in the central system and distribute it to the child systems. I did the text comparision and saved the user; i still cannot see the user in the child systems.
    I checked SCUL and BD87. SCUL shows me grey. BD87 do not show any IDOC that were transferred.
    Could anyone help/direct me in fixing this.
    Thanks
    Shabna

    Hi,
        To make the test simpler I tried it again sending the test user to only one of the child systems. The RFCs between the systems are working fine. I checked /BD64, it shows the whole set up.
    When I check /BD87 of the central system I see the following error:
    "Could not find code page for receiveing system".
    Diagnosis
    For the logical destination XXXCLNTXXX, you want to determine the code page in which the data is sent with RFC. However, this is not currently possible, and the IDoc cannot yet be dispatched.
    Procedure for System Administration
    Possible causes are:
    1. The entry no longer exists in the table of logical destinations.
    2. The target system could not be accessed.
    3. The logon language is not installed in the target system.
    I can see the central system as well as the child systems in the logical systems table. And the RFC destination does note shown any errors in the connection as well as authorization test. What else do I check?
    Thanks
    Shabna

  • TA25361 I have a ton of documents and databases in AppleWorks v 6.0 that I can no longer open on my MacBook Pro.  Is there any way to recover this info?  Some documents can be opened and resaved with textedit, but not my database with all important addres

    I have a ton of documents and databases in AppleWorks v 6.0 that I can no longer open on my MacBook Pro.  Is there any way to recover this info?  Some documents can be opened and resaved with textedit, but not my database with all important addresses.

    I tried Peggy's List > Select All > Copy > Paste into an AW spreadsheet suggestion.
    In my case, pasting into the spreadsheet lost all text formatting (mostly text set to bold). The results of formulas were pasted, and checkboxes were pasted as "on" or "off". The DB did not contain any pop-up menus or radio buttons, but I expect they would transfer as a number showing the list position of the chosen item.
    Pasting the copied List view data into a Numbers table gave a result similar to that with AppleWorks. I selected B2 as the target cell (for top left cell of the pasted data) to avoid any effects of posting into a header row or column. Bold and regular text formatting looked the same as it had in AW's List view.
    Based on that, I'd slip the 'paste into an AppleWorks Spreadsheet step, and paste directly into a Numbers Table.
    Regards,
    Barry

  • I see that i have a problem after installing my new hard drive on my macbook pro mid 2009 version. I put a new hard drive, with all of my information from my old drive installed on it, into the computer. but now have the blinking question mark folder

    i see that i have a problem after installing my new hard drive on my macbook pro mid 2009 version. I put a new hard drive, with all of my information from my old drive installed on it, into the computer. but now have the blinking question mark folder. I see that it means that it isn't reading the new hard drive.
    did i miss a step between transferring all of my information from my old hard drive to the new hard drive and installing the new hard drive into the computer. I believe that i installed properly. it was quite easy.
    thanks for your help

    It means there is no bootable system on the drive. If you still have access to the old drive, then I suggest you boot from it then clone it to the new internal drive. Use OPTION boot to boot from the Recovery HD on the old drive:
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         1. Select Disk Utility from the main menu then press the Continue
             button.
         2. Select the destination volume from the left side list.
         3. Click on the Restore tab in the DU main window.
         4. Select the destination volume from the left side list and drag it
             to the Destination entry field.
         5. Select the source volume from the left side list and drag it to
             the Source entry field.
         6. Double-check you got it right, then click on the Restore button.
    Source means the external old drive. Destination means the new internal drive.

  • Unbale to create new document part with same document number

    Number range assigned to the X Document Type is internal. I have created new document (0001) with Document Part 000 & Version 00. For same Document Number when i tried to create New Document part by mentioning Document Numner 0001, Document Part 001 and Version 00, it says Document Type X can be assigned to internal number range only.
    Even I tried with following selection....
    Document Number = Blank
    Document Part = 001
    Document Version = 00
    Template:
    Document = 0001
    Document Part = 000
    Document Version = 00
    Now system is creating document with new number i.e. 0002.  But we want to create another document part with same Document Number. What is the problem with internal number range for Document Number?

    Hi Pradeep,
    Following are the config parameter of the document type.
    CM Relevnce = blank
    Number assignmt= 01
    Internal Number Range =02
    External Number Range= blank
    Number Exit =MCDOKZNR
    Vers. No. Incr. =0
    Version Sequence = blank
    AlternativeScreen = blank
    Let me know if you need anything more.
    Edited by: JJSingh76 on Dec 7, 2010 7:25 PM

  • Export whole database with all stored data

    how can i export the whole database with all tables, sequences, views etc to a textfile and then import it again? it should contain all availabe data.
    thank you.

    Joshua,
    You can use the Data Pump import and export utilities to export and import an entire database (or traditional import and export utilities if pre-10g database).
    http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10825/toc.htm
    The export is not to a text file, though.
    Joel

  • Configuring New Oracle Database with HFM Shared Services

    Hi,
    We have upgrated the oracle database to new version 11g. We are using HFM 11.1.1.3 version. When I tried to configure the new oracle database with existing HFM Shared Services, the EPM Configurator hangs. Please could you clarify the below few questions before start configuring the database.
    1. Do we want edit any properties or configuration files before starting the EPM Configurator?
    2. If we want to edit the reg.properties file, what is the password denotes in reg.properties file(Below is the structure of the reg.properties file)? Whether I need to give Oracle database schema password?
    jdbc.url=jdbc\:hyperion\:oracle\://xxxxx;
    password=?
    jdbc.driver=hyperion.jdbc.oracle.OracleDriver
    local.value=####
    username=schemaname
    Thanks,
    Aravindh K

    Is it a new database server you are trying to configure? As if it was just upgraded then you shouldnt need to do anything.
    If it is a new database server then have a read of the following doc in Oracle Support - "How To Change Shared Services Database Repository in EPM 11 [ID 976279.1]"
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • How do I erase a hard drive

    I got a " new to me" computer and want to fire wire my old computer over. Problem is "new to me" computer still has stuff on it and I need to erase the harddrive so that I can swith my computer over. Any one know how to do this?

  • Photo will not go to full screen

    iphoto will not open photos that i click on   I think the app has some bad or missing files gene

  • Transaction Type 336 in Asset Accounting

    Hello Gurus, We are having an issue that TT336 is not getting updated with values for Depreciation Area-25,30 & 75 and its working fine for areas 01 & 20.  As you all aware that TT 336 values updated when AUC settled to Fixed Asset. Please share your

  • ASD Presentation Instance ID

    I am trying to find the REST binding between an ASD custom resource and it's presentation ID in vRA.    "key": "provider-__ASD_PRESENTATION_INSTANCE",         "value": {               "type": "string",               "value": "95aed522-cccc-4520-b541-

  • Editing with Photoshop from Aperture - getting it back into Aperture

    I have Aperture 3, and Photoshop Elements 9 & 10, but for some time now, when I send a photo from Aperture to Photoshop I have problems. The photo opens in Photoshop fine (set as default in Preferences), but when I save the file in Photoshop, it simp