12 c cannot modify or drop PDB
Try to understand the new CBD and PDB, concepts from 11g to 12 c.
Connection to SQL * Plus as a SYSTEM user, then created one using the PDB:
Try to CREATE a PLUGGABLE DATABASE
Test ADMIN USER
IDENTIFIED BY password
ROLES = (DBA)
DEFAULT TABLESPACE users
RE-USE OF TEMPFILE
FILE_NAME_CONVERT = ("C:\Oracle\oradata\orcl\pdbseed','C:\Oracle\oradata\orcl\test")
;
This generates an error:
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-02236: invalid file name
However, the command: sho PDB
shows the new TEST database in MOUNTED open mode
The command: ALTER connectable to test DATABASE CLOSE;
results in: ORA-01031: insufficient privileges
The command: DROP DATABASE connectable to test DATA files INCLUDING;
results in: ORA-01031: insufficient privileges
1. why the order caused an error "invalid file name"? Is the database record must be created in advance?
2. why can the PDB not be edited or deleted? What a privilege it is missing, and how it can be applied?
Thank you.
(1) here is a solution for the problem of "invalid file name".
This statement creates a database without causing errors. Essentially, the command creates a copy of the pdbseed database in the test folder.
Try to CREATE a PLUGGABLE DATABASE
Test ADMIN USER
IDENTIFIED BY password
FILE_NAME_CONVERT = ("C:\Oracle\oradata\orcl\pdbseed','C:\Oracle\oradata\orcl\test")
;
By the process of elimination, the statement 'The DEFAULT TABLESPACE users' has been the cause of the original error. Not sure why it gives a message "incorrect file name.
(2) here is the solution to the problem "insufficient privileges".
Connection to SQL * Plus with system/password@orcl resulted in permissions to create a database, but not to delete it. Digging around, another approach to the opening of session allows permission to both create and delete the database.
sqlplus / as sysdba
Don't know what the difference is, but she has allowed the removal of the test databases.
Thanks to all who helped.
Tags: Database
Similar Questions
-
cannot drag and drop messages in mail folders
cannot drag and drop messages in mail folders
Try to restart (reboot) your machine
-
cannot drag and drop bookmarks in FF12
I just upgraded to 12.0 FF, and I find that I cannot drag and drop bookmarks in the window "show all bookmarks". I used to organize my favorites in this way, order them, put in folders, etc. I can remove bookmarks and I can even 'copy' and 'paste' to move them, but I can't drag and drop them more.
When I return to FF11, which I had archived, it works fine.
iMac 10.6.8
OK, I have narrowed the problem down to the Torbutton add-on. That upgrade to the latest version! Then, at least for me, everything worked fine.
-
Cannot drag and drop the eamils in Hotmail.
Hello
I opened Hotmail today but cannot drag and drop emails as usual. I am still able to open and read them, but I cannot move them to other folders unless I have use the checkboxes and ' move to ' drop-down menu.
Hotmail is truncated normally works with Internet Explorer, so it must be a matter of Hotmail. I tried to delete the cache and cookies of Hotmail (as least I think they were witnesses of Hotmail).
Any help would be greatly appreciated!
It seems to work in Firefox. I think it was on the side of Microsoft.
-
Original title: cannot modify only directory attributes of reading, all the readers all the direcotries.
For some reason now all directories are read-only. I have a check only reading tab, it goes through the process of change in all files in the subdirectory (I put their scrolling), click ok. But when I go in the directory again that reading is only check again. It is on my C: dirve all directories and all the other readers, including empty directories. Any suggestion would be appreciated. Thank you
Bit defender shows no problem.
SdS49rHi SdS49r,
I would like to ask you a few questions to better understand:
(a) you connected to the administrator account? because you do not have the \n(Assurez-vous if you are not in the administrator account
(b) don't you make changes on the computer?
(c) have you created the file read-only?
(d) what message do you get while changing the read-only attribute?
(e) have you been able to change the attributes previously in your computer?
You can scan your computer, then follow the steps in the link: http://www.microsoft.com/Security_Essentials/
Try the system restore, it restores the computer to its point earlier while it was working fine.
Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.
Hope this information helped!Thank you, and in what concerns:
Aziz Nadeem - Microsoft technical support.
Visit our http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads/ Microsoft answers feedback Forum and let us know what you think. -
I have an account but cannot modify/use the tools. I went from computers a week ago. Help, please.
It should not, but you will need to download the right software to use. Adobe Acrobat Reader is what you are currently using. This is why you don't have the tools you are used to.
Adobe Acrobat (not Reader), that's what you signed up for. He has the tools, you need and are a completely different, even if application you may have initially subscribed by using Adobe Acrobat Reader.
-
Cannot modify available phone model union
I used the free model, which is the union and pretty much done with office management; However, no matter what I did, I couldn't change phone available - would really appreciate if someone can help me - thanks
Cannot modify the Master Page, so if the homepage is blank and master applied includes the content of the page then we cannot change this. You can publish the same site British Colombia as a place to test, just to isolate the problem.
Thank you
Sanjit
-
Acrobat Reader DC - cannot modify or delete pages
Acrobat Reader DC. Cannot modify or delete pages.
Hi luciek42334613,
Are you sure that you open the PDF file in Acrobat Standard DC not in Acrobat Reader ms?
To change the PDF files, you need to open it in Acrobat Standard DC.
Kind regards
Nicos -
WARNING: Cannot modify header information - redirects with the server behaviors
I know it's an old question, but I can't find the answer. I get an error when you use the update of the server behavior redirects the Add record I get the error message: warning: cannot modify header information - headers already sent by (output began to...)
I deleted as much white space before the header() function and I still get the error.
<? php require_once('.. / Connections/Old4thDB.php');? >
<? PHP
If (! function_exists ("GetSQLValueString")) {}
function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
If (via PHP_VERSION < 6) {}
$theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;
}
$theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);
Switch ($theType) {}
case 'text ':
$theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";
break;
case "long":
case "int":
$theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';
break;
case "double":
$theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';
break;
case "date":
$theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";
break;
case "set":
$theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;
break;
}
Return $theValue;
}
}
$editFormAction = $_SERVER ['PHP_SELF'];
If (isset {}
$editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);
}
If ((isset($_POST["MM_update"])) & & ($_POST ["MM_update"] == "UpdateVarietyForm")) {}
$updateSQL = sprintf ("setting a DAY various SET varietyName = %s varietyType = %s varietyAlphaAcidGeneral = %s, varietyBetaAcidGeneral = %s, varietyOld4thAA = %s, varietyOld4thBA = %s, varietyEssenOil1 = %s, varietyEssenOil2 = %s, varietyEssenOil3 = %s, varietyEssenOil4 = %s, varietyEssenOil5 = %s, varietyEssenOil6 = %s WHERE variety_id = %s",
GetSQLValueString ($_POST ['varietyName'], "text").
GetSQLValueString ($_POST ['varietyType'], "text").
GetSQLValueString ($_POST ['varietyAlphaAcidGeneral'], "text").
GetSQLValueString ($_POST ['varietyBetaAcidGeneral'], "text").
GetSQLValueString ($_POST ['varietyOld4thAA'], "text").
GetSQLValueString ($_POST ['varietyOld4thBA'], "text").
GetSQLValueString ($_POST ['varietyEssenOil1'], "text").
GetSQLValueString ($_POST ['varietyEssenOil2'], "text").
GetSQLValueString ($_POST ['varietyEssenOil3'], "text").
GetSQLValueString ($_POST ['varietyEssenOil4'], "text").
GetSQLValueString ($_POST ['varietyEssenOil5'], "text").
GetSQLValueString ($_POST ['varietyEssenOil6'], "text").
GetSQLValueString ($_POST ["'recordID"], "int"));
@mysql_select_db ($database_Old4thDB, $Old4thDB);
$Result1 = mysql_query ($updateSQL, $Old4thDB) or die (mysql_error ());
$updateGoTo = "varieties.php";
If (isset {}
$updateGoTo. = (strpos ($updateGoTo, '?'))? « & » : « ? » ;
$updateGoTo. = $_SERVER ['QUERY_STRING'];
}
header (sprintf ("location: %s", $updateGoTo));
}
@mysql_select_db ($database_Old4thDB, $Old4thDB);
$query_rsUpdateVariety = "SELECT * FROM variety";
$rsUpdateVariety = mysql_query ($query_rsUpdateVariety, $Old4thDB) or die (mysql_error ());
$row_rsUpdateVariety = mysql_fetch_assoc ($rsUpdateVariety);
$totalRows_rsUpdateVariety = mysql_num_rows ($rsUpdateVariety);
? >
Am I missing other setups/configurations that could cause this?
You forgot the most important part of the error message. "Output started at..." tells you where the production has started, guiding you to correct the error.
The most common cause of this error is a space outside of an include file PHP tags. Most likely guilty is one or more new lines after the closing PHP tag in Old4thDB.php. Remove the closing tag PHP in this folder will be probably solved the problem.
Another possible cause is using the BOM (byte order mark) on a PHP page. Make sure that the check box for the BOM is deselected in the Save dialog box.
-
ORA-01779: cannot modify a column that is mapped to a table not preserved key
Hello
I'm doing update join with the type of activity of lag on my 10.2.0.3
Here's a simple test case:
Problem with tgt.id2 + 1, but I need that in my logic, so how do I get around this?create table test1 (id1 number, id2 number, before varchar2(10), after varchar2(10)); alter table test1 add constraint pk1 primary key (id1, id2); SQL> insert into test1 values(1,1 , 'a','b'); 1 row created. SQL> insert into test1 values(1,2 , 'b','c'); 1 row created. SQL> commit; select * from test1; ID1 ID2 BEFORE AFTER ----- ---------- ---------- ---------- 1 1 a b 1 2 b c update (select src.before src_before, tgt.before tgt_before from test1 src , test1 tgt where src.id1 = tgt.id1 and src.id2 = tgt.id2 + 1 ) set tgt_before = src_before / set tgt_before = src_before * ERROR at line 2: ORA-01779: cannot modify a column which maps to a non key-preserved table
Concerning
GregG
Published by: 3 Sep 2012 GregG 13:23
removed and src.id2 = 1
Published by: 3 Sep 2012 GregG 13:31
Corrected as pointed by DomHave you tried something like this:
UPDATE test1 a SET a.before = (SELECT b.before FROM test1 b WHERE b.id1 = a.id1 AND b.id2 = a.id2 - 1) WHERE EXISTS (SELECT 1 FROM test1 c WHERE c.id1 = a.id1 AND c.id2 = a.id2 - 1)
-
How can I move files in Adobe Acrobat format files? Cannot drag-and - drop
How can I move files in Adobe Acrobat format files? Cannot drag-and - drop
How to move your files to a folder at Acrobat.com:
1. log in to https://files.acrobat.com with your Adobe ID and password
2. create a new folder using "New folder" icon at the top right
3. Select the files to move
4. click on "Move files" icon in the menu bar above
5. Select the folder created above #2
6. click on the button "move".
HIsami
-
SQL error: ORA-01779: cannot modify a column that matches a key examine
Hi all
The requirement is that I have two tables s_party_d and S_CONTACT_d. the need to update the column name with FST_NAME | ',' | Last_name when column rowid in both tables are equal. I used the query previously below: -.
Update
(select
E1. Name,
e.FST_NAME,
Select
Of
s_party_d e1,
E S_CONTACT_d
where
E1. Game of ROW_ID = e.ROW_ID)
name = FST_NAME | ',' | LAST_NAME;
But I get the error message when executing the query
Error in the command line: 31 column: 3
Error report:
SQL error: ORA-01779: cannot modify a column that is mapped to a table not preserved key
01779 00000 - 'impossible to change a column that is mapped to a non-preserved table at key'
* Cause: An attempt was made to insert or update columns in a join finds out who
map to a table not kept the key.
* Action: Change the directly underlying base tables.
Can U please tell me why this error and how to solve?
Thank you
MathonMathon wrote:
So, I have to look into some other method... I can't achieve this using a single update statement...
Well, no matter what you do you need to decide what FST_NAME | ',' | Name to use. As I already pointed out for each line of the line of the s_party_d table there are several rows in table S_CONTACT_d. Again, you must yo decide what S_CONTACT_d table row you want to use. For example:
update s_party_d e1 set e1.name = ( select max(e.FST_NAME) ||', '|| max(e.LAST_NAME) from S_CONTACT_d e where e1.ROW_ID=e.ROW_ID ) where e1.ROW_ID in ( select e.ROW_ID from S_CONTACT_d e ) /
SY.
-
WARNING: Cannot modify header information error
This is the error i recieve when I use the log in system of my website. The session ID is correctly sent to the database and the form is processed. Although, when it comes to redirecting to the logged in homepage this error appears. I have tested this exact script with no problems in my computers local host. WHen uploaded online and tested tho the error appears. Please help!: Warning: Cannot modify header information - headers already sent by (output started at /home/gr/public_html/members_login_handle.php:6) in /home/gr/public_html/members_login_handle.php on line 97. The coding for the members_login_handle.php which processes my members_login.php form to login is below: <?php session_start(); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/main_template.dwt" codeOutsideHTMLIsLocked="false" --> <head> <script type="text/javascript"> <!-- var message=""; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} document.oncontextmenu=new Function("return false") // --> function disSel(target){ if (typeof target.onselectstart!="undefined") target.onselectstart=function(){return false} else if (typeof target.style.MozUserSelect!="undefined") target.style.MozUserSelect="none" else target.onmousedown=function(){return false} target.style.cursor = "default" } </script> <script type="text/javascript"> window.onload = function () { document.body.onselectstart = function () { return false; } document.body.ondragstart = function () { return false; } } </script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <title>Staff Login</title> <!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="seo" --> <meta name="Description" content="" /> <meta name="Keywords" content="" /> <!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="head" --> <!-- InstanceEndEditable --> <link href="../stylesheets/main_styles.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="wrap"> <div id="header"> <div id="logo"><a href="../index.php"><img src="../images/logo.gif" width="156" height="148" border="0" alt="img" title="Logo"/></a></div> Great Linford <br />Primary School</div> <div id="motto"><div id="myarea"><a href="../html_files/student_area.html" >My Area</a></div> Be proud to do the "Right Thing" <a href="../html_files/student_area.html"><img src="../images/star.gif" width="89" height="89" border="0" alt="img"/></a></div> <div id="menu"> <ul> <li><a href="../index.php" accesskey="1">Homepage</a></li> <li><a href="../html_files/school_tour.html" accesskey="2">School Tour</a></li> <li><a href="../html_files/calendar.php" accesskey="3">Calendar</a></li> <li><a href="../html_files/newsletter.php" accesskey="4">Newsletter</a></li> <li><a href="../html_files/events.html" accesskey="5">Events</a></li> <li><a href="../html_files/parents.html" accesskey="6">Parents</a></li> <li><a href="../html_files/staff.html" accesskey="7">Staff</a></li> <li><a href="../html_files/contact_us.html" accesskey="8">Contact Us</a></li></ul> </div> <div id="content"><!-- InstanceBeginEditable name="page_content" --> <?php include_once('members_login_con.php'); $id = $_REQUEST['id']; $pwd = md5($_REQUEST['pwd']); if(preg_replace('/[a-zA-Z0-9]/', '', $id)){ echo "Invalid entry"; echo "<br>"; echo "<a href=\"members_login.php\"><br />Please try again</a>."; } else{ $check=mysql_query("SELECT * FROM users WHERE email = '".$id."' AND pwd = '".$pwd."'"); $row_num=mysql_num_rows($check); if($row_num < 1){ echo "The user name and/or password has been entered incorrectly."; echo "<br />"; echo "<br />"; echo "Please <a href=\"members_login.php\">Try again</a>."; }else{ $_SESSION['members'] = md5($_REQUEST['number']); $members = $_SESSION['members']; $_SESSION['id']=$id; $check = mysql_query("SELECT*FROM $table WHERE id= '".$id."' AND pwd = '".$pwd."'"); $row_num = mysql_num_rows($check); if($row_num < 1){ mysql_query("INSERT INTO $table (session,id,pwd) VALUES ('$members','$id','$pwd')"); header('location:"members_area.php?sess='.$URLsession.'"'); }else{ echo "You are not authorised to log in concurrent sessions"; echo "<br />"; echo "<a href=\members_login.php\">Try again</a>"; } } } ?> Thanks and can't wait to hear back with responses. Been trying to fix it for days... If any additional infomation is required I would be happy to provide it. Louise
I wanted to say that you must move the entire block of code above server-side the head tags.
-
Error: Error #2078: cannot modify the name property of a Timeline-place object.
to flash. display::DisplayObject / set name()
at RonaldTest_fla::MainTimeline/frontWheelLoadComplete()The code that triggers this false error is the following:
------------------------------------------------------------------------------------------ --------------------------------------------------------
var frontWheelLoader:Loader = new Loader();
frontWheelLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, frontWheelLoadComplete);
frontWheelLoader.load (new URLRequest ("FrontWheel.png"));function frontWheelLoadComplete(event:Event):void
{
var loadedImg:Bitmap = new bitmap;
loadedImg = event.target.content;
loadedImg.name = 'My Image loaded'; Online listening
var kontainer:MovieClip = new MovieClip();
kontainer.addChild (loadedImg);
addChild (kontainer);
}------------------------------------------------------------------------------------------ --------------------------------------------------------
Any ideas?
Kind regards
Ron
The problem is that this charger adds that the information of an image loaded as an instance.
If you want to change the name... Get the the bitmap data var BitmapData: BitmapData = Bitmap (event.target.content) .bitmapData
and then var image: Bitmap = new Bitmap image (data); Frame.Name = "Name"
-
Cannot Modify Header Information error
Hi all
I working to build a members area only on my site and have used the "turorial" provided in dreamweaver help. After you have created the pages but I meet erros that I think has to do with the redirect.
On my registration page (www.hondovfd.org/newsite/register.php), I get the error:
Warning: cannot modify header information - headers already sent in /var/home/hondovfd/hondovfd.org/www/newsite/register.php on line 50
Registration passes by, as I can see it in my database, but the error prevented anything more.
On my login page (www.hondovfd.org/newsite/login.php), I immediately get these two errors when the page is loaded:
Warning: session_start() [Function.session - start]: Cannot send session cookie - headers already sent in /var/home/hondovfd/hondovfd.org/www/newsite/login.php on line 1074249146
Warning: session_start() [Function.session - start]: Cannot send session cache limiter - already sent headers (output started at var/home/hondovfd/hondovfd.org/www/newsite/login.php:1074249146) in /var/home/hondovfd/hondovfd.org/www/newsite/login.php on line 1074249146And once I get a name of user and password valid this error is also added:
Warning: cannot modify header information - headers already sent by (output started at var/home/hondovfd/hondovfd.org/www/newsite/login.php:1074249146) in /var/home/hondovfd/hondovfd.org/www/newsite/login.php on line 68
If you want to try and diagnose the name of user and password that I use is 'test' for both fields.
Someone has any ideas why this happens?
Thank you
David
Take another look at what I wrote. You need to replace the path with a relative to the document. Yours is relative to the root of the site.
PHP include and require constructions do not include site-relative links to the root. The include command should look like this:
Maybe you are looking for
-
Why itunes update causes Firefox to crash?
My husband tried to update itunes so it could add music to his ipad. He plugged his ipad to our PC and tried to download music. However, he was told he had to update itunes. When he goes to access the update, we lost our internet connection. I guess
-
Cell that contains the formula paste between spreadsheets
How do I paste the value of a cell that contains the result of a spreadsheet formula has, in a worksheet cell B and still have the operation of the formula? OS 10.11.14, numbers 3.6.1.
-
EliteBook 8470p: remove the custom logo of 8470p - using EREPLOGO. EFI
I just bought a used HP EliteBook 8470p who I am in reconstruction. The previous owner (who I didn't contact) changed the POST logo screen, appearing briefly at startup to display a political statement - I want to remove and restore the default the H
-
Hi all In this topic http://forums.ni.com/t5/LabVIEW/Find-position/td-p/2059690 I create a 1 d of string table. But no, I would like to convert this table 1 d of table 2D-string string. I try a loop with inside a table to build but output, it's a 1 d
-
The error is: ---------------------------Capture failed---------------------------The biometric unit is not in the correct state to perform the specified operation. You want to try again to register on this finger?---------------------------Yes No---