Create the new database without PDB or without using C#.
Dear all
I am able to create the database table in oracle 12 c with prefix c#, while I want to create without prefix. I read all the documents, but still, I don't understand. can anyone explain that
I use the following command to create the database
create the c ##test user identified by test;
Grant connect, resources to c ##test;
grant imp_full_database c ##test;
grant permission to c ##test;
Sandy
Oracle-DBA-Sundar says:
Hello
Alter system set COMMON_USER_PREFIX==''
create user test123 identified by test123;
Above may work
Thank you
Sundar
Sometimes I wish we could downvote or dislike some of the answers.
Even when it works, it is not correct to do so. The problem was how to distinguish between normal users in a PDB file and common users. I guess that the original poster must simply learn to switch / connect on a preliminary draft budget, where it can create users just like it was before. And the cause, it must first of all a PDB file.
Instead he will now create common users and use these users just as local, thus throwing the whole concept shared in the drain.
The user command to create now has an additional parameter 'container '. I use in scripts to prevent the execution of a script in the bad environment (CBD/PDB).
In a CBD, this will create a common user. The default container clause is ALL here.
create user mycomm identified by mycomm container=all;
This creates a local user in a PDB file. The default container clause CURRENT here.
SELECT NAME, OPEN_MODE, RESTRICTED, OPEN_TIME FROM V$PDBS; alter session set container = PDB1 create user mylocal identified by mylocal container=current;
BTW. I don't see a major issue to create ordinary users without the c# # prefix, as long as you know exactly what you are doing. I see the prefix C# as a safety mechanism, preventing you from accidentally creating common users with identical names as local users.
Pete Finnigan did some research on how to create different types of users in an environment of 12 c: http://www.petefinnigan.com/weblog/archives/00001370.htm
Tags: Database
Similar Questions
-
How can I create a new database without table using database configuration
How can I create a new database without table using database configuration
You can search for your "DBA 2 days" version oracle documentation for your version. You should also read the manual of the concepts. Create your own schema is pretty basic, all you have to do is to create a user. Don't use dba or system for your own objects.
-
Create the new database of complete hot RMAN, atrchivelog and backup control files
Hi all
I'm trying to create the new database U1234 of P1234 of full hot RMAN, atrchivelog and control P1234 file backup.
Here are my steps
(1) to restore the control file
#! / bin/sh
ORACLE_SID = P1234
export ORACLE_SID
RMAN nocatalog target / < < EOF | Tee restorecontrol.out
startup nomount pfile=/u01/oradba/admin/U1234/scripts/restore/restore071009U1234/initP1234.ora;
the value of DBID 6767676;
run
{
allocate channel d1 type disk;
controfile catering to ' / u02/oradba/U1234/control/P1234_control01.ctl';
Restore controlfile to ' / orarman/restore/P1234/cf_P1234_c-00';
change the editing of the database;
}
EXPRESSIONS OF FOLKLORE
(2) database stop then restart the database with the new contraol file using pfile.
(3) restore data files
#! / bin/sh
ORACLE_SID = P1234
export ORACLE_SID
RMAN nocatalog target / < < EOF | Tee restore_dbfiles.out
Run {}
the value of newname for datafile 1 to ' / u05/oradba/U1234/dbfile/U1234_system01.dbf';
the value of newname for datafile 2 to ' / u05/oradba/U1234/dbfile/U1234_undotbs01.dbf';
the value of newname for datafile 3 to ' / u05/oradba/U1234/dbfile/U1234_sysaux01.dbf';
the value of newname for datafile 4 to ' / u06/oradba/U1234/dbfile/U1234_users_d01.dbf';
the value of newname for datafile 5 to ' / u06/oradba/U1234/dbfile/U1234_tools_d01.dbf';
the value of newname for datafile 6 to ' / u08/oradba/U1234/dbfile/U1234_audt_x01.dbf';
the value of newname for datafile 7 to ' / u07/oradba/U1234/dbfile/U1234_audt_d01.dbf';
the value of newname for datafile 8 to ' / u07/oradba/U1234/dbfile/U1234_audt_d02.dbf';
the value of newname for datafile 9 to ' / u08/oradba/U1234/dbfile/U1234_lh_x01.dbf';
restore the database;
switch datafile;
}
EXPRESSIONS OF FOLKLORE
ORA-27063: number of bytes read or written is incorrect
SVR4 error: 28: no space is available on the device
Now, I missed the space during the restoration of data files and want to restore remaining who is 3 and 4 of datafile datafile.
Can you please let me know how I can restore it.
I need to change the names of database after the successful restoration.
DBVERSION 10.2.0.1
operating system: solaris 10
Thanks in advance.Hello..
Do you have free space? If Yes, then you can try: -.
RUN {}
SET NEWNAME for DATAFILE 3 to ' / u05/oradba/U1234/dbfile/U1234_sysaux01.dbf';
RESTORE THE 3 DATA FILE;
DATAFILE 3 SWITCH;
}[http://www.oracle-base.com/articles/9i/DBNEWID.php]
Anand
-
create the new database programmatically
I am creating a new MS Access database you want to connect a few results for in a labview program using the toolkit of connectivity datab ase. The examples show how link and create a new table in an existing database file, but I want to create a new database and then insert a new table inside for my results. Any ideas?
You have installed Access where you can create a blank MDB file? If so, you can create an and store it as a template in your program folder. Copy and paste when you run your routine and use table VI to create in the Toolbox to create tables to write. It is possible to create tables in an INSERT, but you can't control the properties of the fields. The OP in this thread is doing this thing. (http://forums.ni.com/t5/LabVIEW/Database-connectivity-toolkit/m-p/3046359#M868188)
-
Unable to connect to the local database (without using the tnsname)
Hi guys
I have 2 database running on the local computer.
Db1 SID - orcl (install 1)
DB2 SID - unicode (later installation)
Today I stop the basic unicode and stop its respective services.
on the back
I did a sqlplus scott/tiger, I got an error
ORA-12560: TNS:protocol adapter error
That's why
I did a
Set ORACLE_SID = orcl
and I still get the same error.
-------------------------------------------------
So I'm the other way around. I orcl database stop, stop its services and database unicode to START and its services.
I disassembled the ORACLE_SID environment variable.
Now, I have in the command prompt
sqlplus scott/tiger
I am connected to the unicode database!
-------------------------------------------------
Now I ORCL stop unicode data and start...
and I have a
sqlplus scott/tiger@ORCL...
I HAVE no problem to connect to it...
--------------------------------------------------
May I ask why should I provide the TNSname ORCL database and I do not for the UNICODE of the databases...
Both are local on my database.
What's wrong?
Moreover, I am on XP.
Thank you!Set ORACLE_SID = orcl
sqlplus / as sysdba;
sys@ORCL > exitSet ORACLE_SID = unicode
sqlplus / as sysdba;
sys@Unicode > exitWell, we know that both your DBs are working properly.
So out of curiosity, I did cela tests...
(1) connect the two database and stop
(2) stop their services
(3) start only ORCL service
(4) close and reopen the command prompt to delete the var of environment ORACLE_SIDsqlplus / as sysdba;
Error: ORA-12560: TNS: Protocol adapter error(5) now I stop service ORCL
(6) (and I start the service of UNICODE)then I deliver
sqlplus / as sysdba;
sys@Unicode >It seems quite normal. In your registry value ORACLE_SID is, most likely, unicode, the last created: check it out, and if so, you can connect to unicode DB without setting ORACLE_SID, while you will need to set to connect to DB orcl.
When you have more than one DB, you set the ORACLE_SID environment variable before connecting either you use connection strings.
-
How to create the new database in oracle 11g
Hello
I m new in oracle 11g, I downloaded oracle 11g and with the help of the guide of the developer-2 days, I learned all the SQL queries, but I worked with human resources database.
Now, I want to create my own database with the required tables. Can anyone help me how I can make my own database in oracle 11g.
Thank you
Manna870692 wrote:
Hello
I m new in oracle 11g, I downloaded oracle 11g and with the help of the guide of the developer-2 days, I learned all the SQL queries, but I worked with human resources database.
Now, I want to create my own database with the required tables. Can anyone help me how I can make my own database in oracle 11g.Thank you
MannaBe sure to distinguish between the terms and the database schema. Other products, make them bad. It would be a HR diagram (or a user, which is the same in Oracle). If you do not need to use the database Wizard, unless you are working with a new host with no database.
A simple way would be to get the DDL to create the HR schema and modify it for your own. It can be extracted from your database in several ways, or you can copy the hr_cre.sql to your own script and change. The two ways are educational, and you can google for instructions.
-
create the new database in MAX
Is - this possibible to create a database on a shared network drive? I get the error message: "cannot create the database: access is denied."
I really can't understand this as...
(1) I "should" have all permissions to the drive letter, I want to put the database.
(2) the creation of a database on a "D" drive connected on the computer very well SATA works.
MAX somehow only 'know', that it is a shared network location and prevent its use?
Any help would be appreciated, I couldn't find through the help files for MAX if there is such a thing as a 'valid' for a database location.
RichA
Thanks for your suggestion, it lets me know I have recommended such configured mine. The suggestion is in alignment with how I have mine currently configured. (standby server takes over when the main server will down. used standby server only until I can get the Server primary back. and while the standby server is down, they have a tendency just to this time.)
Thanks again,
RichA
-
Unable to create the new database server
I keep running into these fundamental questions before starting even with the integration work.
I tried to create a new topology-the physical Architecture-> Technologies > data server. But when I try with the right button on any of the technologies, I get no response. The window is not to me for some strange reason. If I right click on Technolgies, ODI invite me to create new or to import technologies.
rAnyone had this problem before?
See you soonI think you have some problems of java. JRE 6u23 works very well.
-
How to create the new database with rman backup
Hello
I took an rman backup with nocatelog. can I make a new database with the rman backup.
If so, how? I m using oracle 9i.
thxsIf it is useful, see the following:
http://www.shutdownabort.com/QuickGuides/clone_rman.php
-
Cannot create the new catalyst business of dreamweaver site using cc 2015...
I can't create new catalyst business of dreamweaver site using cc 2015, yet on my other computer with the help of 2014 BusinessCatalyst is there, and some of us like things simplistic and without hassle and 2014 version works very well, why adobe take something of simplistic who worked a lot and updated to something that makes me consider to cancel all of my adobe account What's happening on Adobe, which was?
You think you're getting better assistance in the forum Business Catalyst.
-
I can't connect to the database.
PL/SQL Developer <> Oracle SQL Developer.
But anyway...
Why not? Is it because you don't have a database to log? You cannot use SQL Developer to create a database. You will need to use the database Wizard or SQL * more to it. Or you can download a virtual appliance machine that already has an installation of database on this subject...
If you need more assistance in obtaining a database to learn with, I wrote a little more in depth here.
-
Create the new schema of database in jdev
I can create new database schema in jdev. If yes how?
I checked the links, but they say how to create the connection to an existing database but does not create the new database?
Help, please...
User, even once, to design and build a database table is possible if you have a db instance (which will contain the new tables) already installed.
My feeling is that you don't have. Solution: install an instance db (for example Oracle XE) and once you have that continue the tutorial.
Timo
-
How to create the new Custom XML report without the use of the form builder
Hello
What are the steps to create the new Custom XML report without using the Report Builder?
Thank you and best regards,
AertsAerts,
Can you clarify your question more away!-bifacts
http://www.obinotes.com -
'create a new layer without dialogue' redefine shortciut
Hello.
A desire to redefine the default shortcut for the command 'create a new layer without dialogue' but I can't find this command in the shortcuts preferences.
What section of the preferences in photoshop cs6 shortcut, nested this command?
Thank you.
I don't think it's a shortcut that can be redefined as such in the command Editor, but you could use a script and assign a keyboard shortcut for the script.
The following script will make a new layer without the dialog box.
// =======================================================
var idMk = charIDToTypeID ("Mk");
var desc10 = new ActionDescriptor();
var idnull = charIDToTypeID ("null");
var ref9 = new ActionReference();
var idLyr = charIDToTypeID ("Lyr");
Ref9.putClass (idLyr);
desc10.putReference (idnull, ref9);
executeAction (idMk, desc10, DialogModes.NO);You can copy the above script, paste into Adobe ExtendScript Toolkit CS6 , and then save the script in the cs6 Presets > Scripts folder in the program folder or the photoshop cs6 application.
(you can call it as you like, therefore the .jsxextension)
Then when you restart photoshop cs6, it should appear under file > Scripts and you can use the keyboard shortcuts Editor to assign a shortcut to the script.
What operating system do you use?
-
I was cleaning some ad/bad/spyware on the computer of a friend. It runs XP Media Center 2005. When I restarted it, it wanted a password. He put never, ever. The only work around was to reinstall XP without deleting any of his files (more than 8000 music files) because it is not anything save. I put the new XP in a different folder, I named. After searching around, all of his stuff is there and I can access, but this new folder is take a LOT of resources/mem. There is almost nothing in this record, I can delete the new folder without compromising each other, installation? I think I would need to get rid of mode safe mode with command prompt. I did it so many times, but it's never happened to me. Help!
Once you get the drive installed, simply use xcopy or Robocopy to copy the files, with a fairly large music 8000 drop these command-line utility will be faster than to try to copy them through the Windows Explorer GUI. Xcopy is integrated with Windows XP, Robocopy is available for download from Microsoft.
John
Maybe you are looking for
-
23 c-110xt: create Flash after update Win 10
My PC is being upgraded to Win Win 8 64-bit 10. I created the recovery DVD of the original system discs. I have to create new recovery media. If I do, I would choose a USB flash drive. You want to give your opinion. This HP site has always been my go
-
Looking for information on BT and Skype, Google Voice
You promised a result on bluetooth and the Xoom tonight! That is to say Google Voice or Skype really does BT? Should I use the microphone of BT or tablets? And while you're there, could you explain the sdcard crud (IE supports S out of the box, there
-
control of linear actuators Zagarella with labview
Hello am new to using Labview-{3 weeks from May 31} and I would like to order three linear actuator Zagarella to operate from one stage of translation / linear in X-Y-Z. All the advice to know where to start Best regards: mansad:
-
I'm running Vista 32 bit SP 2 on a laptop HP Athlon X 2 with 4 GB RAM & nVidia graphics. For some reason, the upgrade button is "grayed out". I searched for the upgrade of security required through various web pages of MS nothing helps. What should
-
OS is XP Pro. I found nothing on the web still