Database name change
Hi I am using oracle 10g 10.2.0.3.0 . in IBM AIX OS
I want to change my database and instance name.
Please help me
Regards
Jewel
You need to use DBNEWID (executable nid under Unix): http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dbnewid.htm#SUTIL014.
Similar Messages
-
Report incompatibility beacause of database name change
Hi !
I am using Crystal Reports 2008 with a MSQL 2005 database.
I want to use the same report on two databases with same structure but different names. I keep getting error message: "Failed to retrieve data from database" ,"invalid object name... [Database vendor code:208]".
Set Datasource Location command does not help...
Need some help !
CalinMorning,
If I get this right you are trying to use the same structured report for another database of different name but similar tables?
If yes, then I think you need to change the database as a source on your new (second) report.
Mind you, that will take all the fields out which are linked but you can certainly put them back into the place once you established the right link.
I don't think there is a way of refreshing the same report to use different database, however, there could be another way to this.
Add the new database into the report, replace all the fields of the old database with the new one, and then get rid of the old database completely.
This way you would remember where each field was placed in the report.
Hope this helps.
DO let us know how you get along with it.
Kind Regards
Jehanzeb -
Hi Gurus
I am using oracle 10g on Windows platform. The issue is I need to change my database name. When i gone through the Oracle docs I found there is an utility called 'DBNEWID' . But not getting a clear cut idea. Since my DB is So critical anybody please tell me the exact steps to change the DB-Name.
Thanks & Cheers
AntonyChanging Only the Database Name
C:\>SQLPLUS/NOLOG
SQL*Plus: Release 10.1.0.2.0 - Production on Tue Aug 22 10:54:38 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> CONN / AS SYSDBA
Connected.
SQL> SELECT DBID,NAME FROM V$DATABASE;
DBID NAME
1230404613 DB01
SQL> SHUTDOWN IMMEDIATE;
Database closed.
Database dismounted.
ORACLE instance shut down.
Must be : Take Whole Database Backup (Oracle Recommended)
Otherwise u lost ur database.
SQL> STARTUP MOUNT;
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
Database mounted.
--Go Command Prompt
DBNEWID UTILITY >>>NID ( OS Path : d:\oracle\product\10.1.0\db_1\bin\nid)
C:\>SET ORACLE_SID=DB01
C:\>NID TARGET=SYS/ORACLE@DB01 DBNAME=ORADB01 SETNAME=YES
DBNEWID: Release 10.1.0.2.0 - Production
Copyright (c) 2001, 2004, Oracle. All rights reserved.
Connected to database DB01 (DBID=1230404613)
Connected to server version 10.1.0
Control Files in database:
D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL
D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL
D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL
Change database name of database DB01 to ORADB01? (Y/[N]) => Y
Proceeding with operation
Changing database name from DB01 to ORADB01
Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL - modified
Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL - modified
Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL - modified
Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\SYSTEM01.DBF - wrote new name
Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\UNDOTBS01.DBF - wrote new nam
e
Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\SYSAUX01.DBF - wrote new name
Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\USERS01.DBF - wrote new name
Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\TEMP01.DBF - wrote new name
Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL - wrote new
name
Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL - wrote new
name
Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL - wrote new
name
Instance shut down
Database name changed to ORADB01.
Modify parameter file and generate a new password file before restarting.
Succesfully changed database name.
DBNEWID - Completed succesfully.
Set the DB_NAME initialization parameter in the initialization parameter file (PFILE) to the new database name.
Note:
The DBNEWID utility does not change the server parameter file (SPFILE). Therefore, if you use SPFILE to start your Oracle database, you must re-create the initialization parameter file from the server parameter file, remove the server parameter file, change the DB_NAME in the initialization parameter file, and then re-create the server parameter file.
---Create New Password File
cmd>orapwd file=d:\oracle\product\10.1.0\db_1\database\pwddb01.ora password=oracle entries=5
SQL> STARTUP PFILE=D:\Oracle\product\10.1.0\Db_1\database\initdb01.ora
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
Database mounted.
Database opened.
SQL> select dbid,name from v$database;
DBID NAME
1230404613 ORADB01
Note:
After Change DB Name Take Whole Database bkp.
Note: If i am missing some step or write wrong step plz. correct me.
Before doing this refer documentation.
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dbnewid.htm
thanx
Message was edited by:
user526020
null -
hi every body,
Pl. Tell me ,how to change the database name so that when i query to the V$DATABASE view it should reflect the new database name .Changing the GLOBAL_NAME does not reflect changes in V$DATABASE view.
thanx in advance..Hi,
1. make a ascii dump of your controlfile : alter database backup controlfile to trace ;
2. shutdown your database
3. export ORACLE_SID=NEW_DB
4. edit your init.ora and change db_name and instance_name parameter (rename your initOLD_DB.ora to initNEW_DB.ora)
5. edit the file generated by (1) and change
CREATE CONTROLFILE...
to
CREATE CONTROLFILE SET DATABASE "NEW_DB" RESETLOGS...
6. Re-create the controlfiles and all will be ok :-)
Fred -
How can I get a report to use a DSN instead of a database name?
DSNs are great things. By using a DSN in a database connection string, you don't have to worry about what happens if you have to look at a different database, or if a database name changes. All you have to do is change the database the DSN points to, and everything that was built using that DSN still works.
Everything, that is, except Crystal Reports.
I am using CR XI. Our customer's database is named "Anneal", and it uses PostgreSQL. I have several copies of that database, taken at different times and for different purposes, on my machine: "Anneal", "AnnealTest", "Anneal_2_8_10", and on and on. I also have a DSN named "WinCaps". The reorts I have developed for this customer were set up to use an ODBC connection based on the WinCaps DSN. But if WinCaps pointed to the "AnnealTest" database when it the report was created, and then I delete the AnnealTest database and change the WinCaps DSN to point to a database named "Anneal", and then try to open the report, I get a complaint that the AnnealTest database does not exist! Yes, I know it doesn't exist. I am expecting CR to use the DSN I told it to use, which should get me to the Anneal database.
The fact that CR complains about the AnnealTest database tells me that internally, CR is retrieving the actual name of the database and storing that instead of storing the DSN name, completely defeating the purpose of the DSN.
Is there any way I can set up my report to use whatever database the DSN happens to be pointing to, instead of the database the DSN pointed to at design time?
Thanks very much!
Rob RichardsonHi Rob,
Crystal assumes you are setting location to the database and it stays that way when run. Yes we do keep the connection info in the RPT file.
There's a few options that may help. First, can you upgrade to CR XI R2? It' still supported...
Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
Second, in the report itself check on the Verify on first refresh, save the report and then test it on another PC connecting another database.
Next option to to try these registry key changes, usual warnign about altering the registry:
HKEY_CURRENT_USERSoftwareBusiness ObjectsSuite 11.0Crystal ReportsDatabaseOptions - VerifyWhenDBDriverUpgraded = Yes
And try changing this one also - DontAutoConvertODBC = Yes
Close the Designer first or your changes won't stay.
THey may have to simply verify the data manually and then save the report so the updated location info is saved in the Report.
Crystal is very database dependant obviously so asumming changes made to the DSN are automatically updated can cause a lot of issues for the end user also but it depends on your point of view. We consider this working as expected.
Thank you
Don -
ORA-01103: database name 'TESTING2' in control file is not'TESTING1..
Hello all, please help me on this..im using 10.2.0.4.0 , DB created by ex-colleque
while connecting db getting ora 1103 error, and tried to create controlfile using trace but i couldn't
here is the details:
TESTING1 >startup mount;
ORACLE instance started.
Total System Global Area 734003200 bytes
Fixed Size 2141536 bytes
Variable Size 328159904 bytes
Database Buffers 369098752 bytes
Redo Buffers 34603008 bytes
ORA-01103: database name 'TESTING2' in control file is not 'TESTING1'
want to backup ctl file and change the dbname, getting below error..
TESTING1 >alter database backup controlfile to trace;
alter database backup controlfile to trace
ERROR at line 1:
ORA-01507: database not mounted
TESTING1:/app/oracle/TESTING1/product/10.2.0.4/dbs >grep db_name initTESTING1.ora
*.db_name='TESTING1'
I have found TESTING2 entries in alert log file..
TESTING1:/app/oracle/TESTING1/admin/bdump >grep TESTING2 alert_TESTING1.log
DBNAME will be changed from TESTING1 to new DBNAME of TESTING2
Database name changed to TESTING2.
Database ID for database TESTING2 changed to 1933958893.
i have tried to create new controlfile and tried to startup..got below error hence i hv mentioned same datafiles path..
ORA-01161: database name TESTING2 in file header does not match given name of TESTING1Here is the first law of holes.
When you find yourself in a hole, the first thing you should do is STOP digging.
Have you taken a full, cold backup since this event started?
DBNAME will be changed from TESTING1 to new DBNAME of TESTING2When & why did this occur?
Do you have a valid & recent backup?
i have tried to create new controlfile Why did you do this?
Edited by: sb92075 on May 7, 2010 8:36 PM -
Change database name - Crystal10 and Visual Studio 2005
<p>Hi there,</p>
<p>
I have about 150 crystal reports in my development environment. I need to move them into the testing environment. Every environment has its own database and every database is names '[client name]_[environment]' so I get things like client1_dev, client1_test, client1_prod, etc. The reports are very, very unhappy when moving from dev to test. I have googled this a fair bit and have attempted the stuff on:
</p>
http://www.codeproject.com/KB/aspnet/crystalwithaspdotnet.aspx
<br/>
http://www.tek-tips.com/faqs.cfm?fid=5374
<br/>
<p>
and a few others and have gotten no where. I spent a couple of days working on this and am now over budget and late. I need a fix and fast.
</p>
<p>
I have two ideas I have been working on and both have failed out right.<br/>
Idea 1 - during run time:<br/>
- loop through everything thing in sight and set the database information on it<br/>
- that one looks like:<br/>
<br/>
<pre>
using CrystalDecisions.Shared;
using CDCRE = CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Web;
public abstract class ReportBase : Page
...snip....
protected virtual void DoLoad(CrystalReportViewer ReportViewer)
ReportDocument reportDocument = new ReportDocument();
SetReportInfo(reportDocument);
SetParameters(reportDocument);
DumpParameters(reportDocument);
protected virtual void SetReportInfo(ReportDocument reportDocument)<br/>
db_Reports.Reports reportInfo = new ReportsClass();
CriteriaID = reportInfo.InsertCriteria(CommonUtils.GetLanguagePrefix(), CurrentForm["criteria"].Trim() +
CurrentForm["extracriteria"].Trim(), CSecuritySession.UserSessionInfo.iUserId, string.Empty, CurrentForm["param1"]);
ADODB._Recordset rs = reportInfo.GetReportInfo(CommonUtils.GetLanguagePrefix(), ModuleName, ReportID, CSecuritySession.UserSessionInfo.iUserId);
// report to load
HttpContext.Current.Trace.Warn("Loading the report", rs.Fields["vReportName"].Value as string);
reportDocument.Load(rs.Fields["vReportName"].Value as string);
// connection info
reportDocument.DataSourceConnections[0].SetConnection(rs.Fields["vSQLServer"].Value as string, rs.Fields["vDatabase"].Value as string, false);
HttpContext.Current.Trace.Warn("Setting connection information",
string.Format("Server Name:[{0}] Database Name:[{1}]", reportDocument.DataSourceConnections[0].ServerName, reportDocument.DataSourceConnections[0].DatabaseName));
// logon info
reportDocument.DataSourceConnections[0].SetLogon(rs.Fields["vUsername"].Value as string, rs.Fields["vPassword"].Value as string);
HttpContext.Current.Trace.Warn("Setting Logon Information",
string.Format("Username: [{0}] Password: [{1}]", reportDocument.DataSourceConnections[0].UserID, reportDocument.DataSourceConnections[0].Password));
DumpConnInfo(reportDocument);
DumpSubReportConnInfo(reportDocument);
// reportname / page title
ReportName = rs.Fields["vDescription"].Value as string;
private void DumpSubReportConnInfo(ReportDocument reportDocument)
foreach (Section sec in reportDocument.ReportDefinition.Sections)
foreach (ReportObject ro in sec.ReportObjects)
if (ro is SubreportObject)
SubreportObject sro = (ro as SubreportObject);
DumpConnInfo(sro.OpenSubreport(sro.SubreportName));
protected virtual void DumpConnInfo(ReportDocument reportDocument)
foreach(CDCRE.Table table in reportDocument.Database.Tables)
Trace.Warn(string.Format("Connection info[{0}]", table.Name),
string.Format("database: {0} Server: {1} User ID: {2} Pwd: {3}",
table.LogOnInfo.ConnectionInfo.DatabaseName,
table.LogOnInfo.ConnectionInfo.ServerName,
table.LogOnInfo.ConnectionInfo.UserID,
table.LogOnInfo.ConnectionInfo.Password));
foreach(NameValuePair2 nvp in table.LogOnInfo.ConnectionInfo.Attributes.Collection)
Trace.Warn("connection attributes", string.Format("{0} = {1}", nvp.Name, nvp.Value));
if (string.Compare(nvp.Name as string, "QE_LogonProperties", true) == 0)
DbConnectionAttributes dca = nvp.Value as DbConnectionAttributes;
Trace.Warn("connection attributes - QE_LogonProperties", "processing the 'QE_LogonProperties'. Is null [" + (null == dca).ToString() + "]" );
foreach (NameValuePair2 nvp1 in dca.Collection)
Trace.Warn("connection attributes - QE_LogonProperties", string.Format("{0} = {1}", nvp1.Name, nvp1.Value));
Trace.Warn("----------------------");
protected virtual void DumpParameters(ReportDocument reportDocument)
HttpContext.Current.Trace.Write("--------------------------");
HttpContext.Current.Trace.Write(" Dumping Parameters ");
HttpContext.Current.Trace.Write("--------------------------");
for (int i = 0; i < reportDocument.ParameterFields.Count; i++)
if (string.IsNullOrEmpty(reportDocument.ParameterFields<i>.ReportName))
HttpContext.Current.Trace.Write(string.Format("[{0}] {1}", i, reportDocument.ParameterFields<i>.Name), GetParamValue(reportDocument.ParameterFields<i>));
else
HttpContext.Current.Trace.Warn(string.Format("SubReport Parameter [{0}] {1}", i, reportDocument.ParameterFields<i>.Name), GetParamValue(reportDocument.ParameterFields<i>));
HttpContext.Current.Trace.Write("--------------------------");
</pre>
<br/>
- this one always errors out with a can't find database type connection and spits out the old database message.<br/>
- as you can see there is a stack of tracing in there. all of the trace messages make it look like it is hitting the right database. I have no clue why this isn't working.<br/>
<br/>
Idea 2 - fix up reports before moving to the other environments:<br/>
- I figured I would write a little app that would crawl through the directories of reports and fix them up<br/>
- I read a few examples of this online and none of them seem to work with Crystal 10. They work with some of our legacy Crystal 8 reports (I have been testing this all over the place) but not with 10.<br/>
- the last function is the interesting one.<br/>
- that one looks like:<br/><br/>
<pre>
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Reflection;
using System.Diagnostics;
namespace crystal_10_switch
public class Changer
protected CRAXDDRT.Application app;
protected object missing = Missing.Value;
protected string currentFolder = string.Empty;
protected string OdbcName;
protected string DBName;
protected ICollection Folders;
public Changer(string OdbcName, string DBName, ICollection Folders)
this.OdbcName = OdbcName;
this.DBName = DBName;
this.Folders = Folders;
app = new CRAXDDRT.Application();
string junk = Console.ReadLine();
public virtual void Switch()
foreach (string dir in Folders)
SwitchDir(dir);
protected virtual void SwitchDir(string dir)
DirectoryInfo di = new DirectoryInfo(dir);
FileInfo[] files = di.GetFiles("*.rpt", SearchOption.AllDirectories);
currentFolder = di.FullName;
foreach (FileInfo file in files)
Trace.WriteLine("Processing the report: " + file.FullName);
Trace.Indent();
SwitchFile(file);
Trace.Unindent();
protected virtual void SwitchFile(FileInfo file)
CRAXDDRT.Report rpt = app.OpenReport(file.FullName, missing);
SwitchTable(rpt);
SwitchSubreports(rpt);
SaveReport(rpt, file);
protected virtual void SwitchSubreports(CRAXDDRT.Report rpt)
Trace.Indent();
foreach (CRAXDDRT.Section section in rpt.Sections)
foreach (CRAXDDRT.IReportObject robj in section.ReportObjects)
if (robj is CRAXDDRT.ISubreportObject)
CRAXDDRT.ISubreportObject sub = (robj as CRAXDDRT.ISubreportObject);
Trace.WriteLine("Processing sub report: " + sub.Name);
SwitchTable(sub.OpenSubreport());
Trace.Unindent();
protected virtual void SwitchTable(CRAXDDRT.Report rpt)
Trace.Indent();
foreach (CRAXDDRT.IDatabaseTable table in rpt.Database.Tables)
Trace.WriteLine(" Processing table: " + table.Name);
// this one line should do it
(table.ConnectionProperties["Database"] as CRAXDDRT.IConnectionProperty).Value = DBName;
// but it didn't so try this
(table.ConnectionProperties["UseDSNProperties"] as CRAXDDRT.IConnectionProperty).Value = "1";
// read that this 'might' work
table.SetLogOnInfo(OdbcName, DBName, missing, missing);
// but it didn't so I tried this with the user anme and password set
table.SetLogOnInfo(OdbcName, DBName, "XXXXX", "XXXXX");
// read that this is requiried, but it does nothing
table.Name = table.Name;
// this causes issues - the map fields thing pops up which is way not cool
//table.Location = table.Name;
Trace.Unindent();
}//class
}//namespace
</pre>
<br/>
At this point I really don't care which one will work the best, I am just desperate for a working solution. Any help, any at all would be greatly appreciated.<br/>
<br/>
Thanks<br/>
<br/>
-Cam<br/><br/>This is a typical requirement of most application and is relatively trivial to implement. There are a lot of samples and documentation on our support site (links below). Also, search these forums for code snippets that will help you. BTW., do not use the craxDDrt.dll as you are not licensed to use it.
To look for downloads:
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
Articles:
https://www.sdn.sap.com/irj/sdn/businessobjects-articles
Notes:
https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
Samples:
https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
Dev. Library and API reference:
http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm
http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm
My recommendations:
https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23&overridelayout=true
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208edbbf-671e-2b10-d7b5-9b57a832e427
https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/702ab443-6a64-2b10-3683-88eb1c3744bc&overridelayout=true
Ludek
Edited by: Ludek Uher on Jul 21, 2009 8:38 AM -
Changing database name in 11.2.0.3 grid infrastructure
I have recently installed 11.2.0.3 grid infastructure and database on an AIX 6.1 platform.
Our manager does not like the name was have chosen for the database that we install a single instance database using dbca and it is all configured in oracle restart which has bee starting all of the resources perfectly upon reboots.
We are using ASM for the database files and a jfs file system for the fast recovery area.
Can we change the database name easily or will this require confgiuration changes within the grid infrastructure installation as well?
Thanks.1)To change DB name:
CREATE CONTROL FILE statement or use NID utility
2)Drop the old configuartion from oracle restart
srvctl drop database -d <dbname>
3)Register new configuration
srvctl config database -d <dbname> -
How can i change the database name on MaxDB?
Hello. I need to do a homogeneous copy where the source system is the productive system and the target system is the quality system. Therefore after to restore the data backup i need to change the database name of quality system (from CLP to CLQ) but i'm not sure that it could be possible because in the MaxDB documentation i didn't found nothing about that. please can you tell me if it is possible and how i change it?
I work with MaxDB 7.6.04.11. Thanks for your help.> I will try to explain better: the SID of the source database is CLP and the SID of the target database is CLQ, when you say "once you restore the DB, it will use the new SID", i understand that the new SID in the target database would CLP or am i wrong? and i need that the SID in the target database remains CLQ after the restore.
Hi Ivonne,
what you've described as your requirement is exactly what will happen, when you just perform the procedure that Eric described to you.
A recovery won't change the SID of the instance you perform the recovery to.
All it does is: take the instance as is and load the data pages to the data area. Afterwards the log files may be recovered.
Think of the instance as a kind of container for your database.
The instance itself is not the database - so the SID does not change with the content of the database.
Hmm... why not simply try it?
Create a little test instance and back it up.
Create another instance with a different name and recover the backup of the first instance.
You will still have both instances, each with its original name.
regards,
Lars -
Hi,
I am using oracle database 10.2.0.3.0. I tried to change the database name using
alter database rename global_name to <new name>.
The command is working.
But it is not reflecting when,
select * from global_name;Regards,
Mathew Collins.Hi,
My issue is
> I am able to issue the command
alter database rename global_name to <new name with out domain name>
Eg: Initially
> select * from global_name;
mydb.domain.com
>alter database rename global_name to mydb;
> select * from global_name;
mydb.domain.com
The I changed db_domain="" and global_names=false in init.ora and bounced the database. Then I checked,
select * from global_name;mydb.domain.com
Why it is happening like this?
Regards,
Mathew -
DB name Change --- Required to reconfigure standby database
Dear All,
Is it necessary to reconfigure standby database after changing database name.
DB Version :--- 10.2.0.1.0
OS :--- Windows
Waiting for reply.
Regards,
Praful KawajiDear praful kawaji,
Your primary and standby databases should have the same DB_NAME however they have to have seperate DB_UNIQUE_NAME values. alter the parameter on both sites and you will be fine i guess.
Hope That Helps.
Ogan -
Change the Database Name in Essbase Studio
Hi All,
Happy new year to all of you.
Is there a way to change the database name in Essbase Studio, what I can see now once we have registered a database in Database Sources panel, we can't change the Database Name because it is always grayed out but the server name, user name and password can be changed.
Actually I have mentioned this issue to our team before starting development and they proposed me the schema that I can use, but suddenly our client did not agree with it that we have been using, and then our client asked us to use another schema, FYI we are using Oracle Database as the data source.
Can you guys here share how to manage this situation.
Thanks,
RudyFor Essbase Studio, the configuration metadata are saved as CP_tablenames, look for the CP tables, and make proper database change for the database name.
1. Make a Oracle backup for the CP tables before you change the metadata so that you can get back in case if error
2. Change the CP_CONNECTION TABLE, NAME column
3. Change the CP_SOURCE table, column DNAME, for example, it is called TBC.Sales, change to NewDB.Sales
I am not sure if there are other table also need to be updated, anyway, when you update the DBname in the metadata level, everything should be consistent in all of the related tables. Here, I assume the new db has the same table names as the old db, if the new db has very different table names, recreating everything may be easier and has less risk.
http://hyperionexpert.blogspot.com/
Bob -
Can Oracle 10g XE Database Name be Changed?
Hi all,
Oracle 10g Express Edition comes with a Database named XE.
I would like to change the database named to something like ORA.
Can this be done in Oracle 10g Express Editorion?
If have you have done this, please let me know how to do it?
- How to change Database Name from XE to ORA
- set the listener configuration to listen to ORA.
With my basic twidlings, I have come to a conclusion that Oracle 10g XE is does not support it as a feature.
Thanks,
SenthilIn order to get the smaller footprint, XE has a few administrative limitations.
Keep the name XE, or be prepared to have things in the admin tools and support environment break. -
Hi,
Database 10g (10.2.0.1)
OS : redhat 4
I want to change my test database name .
Please give me the instruction for the same and
is there any difference to change the name in windows enviornment.
Thanks.Using DBNEWID (nid) Utility, you can change the DBID and DBNAME of a Database.
Carefully follow the Oracle Documentations.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dbnewid.htm#sthref1850
Regards,
Sabdar Syed.
Info added.
Message was edited by:
Sabdar Syed -
[Symptom]
======================
In Exchange 2007, when you want to export mailbox to a .pst file, you should run the
Export-Mailbox cmdlet from a 32-bit computer that has the following installed:
The 32-bit version of the Exchange management tools
Microsoft Office Outlook 2003 SP2 or later versions
If not, you may encounter the following error message:
You check that you have these required installed, but you get the error below when you run Export-Mailbox in EMS.
“The specified mailbox database [Mailbox Database Name] does not exist.”
[Cause Analysis]
=======================================
This is because that the account you use to run Export-Mailbox cmdlet don’t have the Exchange Server Administrator role assigned.
You can check if this account has been delegated the Exchange Server Administrator role through the following path.
EMC -> Organization Configuration-> Check permissions in the result pane.
To delegate this Exchange Server Administrator role, right click on the
Organization Configuration node and choose Add Exchange Administrator,
you will see the Add Exchange Administrator window.
[More Information]
==============================
Export-Mailbox
http://technet.microsoft.com/en-gb/library/aa998579(v=exchg.80).aspx
How to Export and Import mailboxes to PST files in Exchange 2007 SP1
http://blogs.technet.com/b/exchange/archive/2007/04/13/3401913.aspx
Exchange 2007 cannot export pst files via its powershell
http://social.technet.microsoft.com/Forums/forefront/en-US/b3bc0dce-35f3-4a69-9a33-4f2a855b9f94/exchange-2007-cannot-export-pst-files-via-its-powershell?forum=exchangesvrgenerallegacy
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Hi,
Based on my test, if you make the user the owner of the database (rather than a user with the db_owner role), when you create a query, it creates it under the dbo schema rather than DOMAIN\username.
Steps to do so (in Management Studio):
Right click database, select Properties
Click File
Change Owner in the textbox
OK to confirm
Downside - other users under db_owner role will still have their username appended. So schemas have to be created for these users.
Jaynet Zhang
TechNet Community Support
Maybe you are looking for
-
Kernel Panic in 10.7.5
Hi all, I am receiving intermittent kernel panics upon logout, on several of my machines. This started a few weeks after we added the latest MBox to our systems, and I do have the latest drivers. There is a myriad of other software on the machine,
-
Help needed to create active links from a database
I want to create active links to web addresses stored in my Access database and returned on the detail page of a Master/Detail set. The code below returns the correct entry from the database field - but I can't seem to make it an active link. <%=(rsN
-
i have a problem in push registry on s40 it throw the exception ClassNotFoundException : Midlet Not Found i try the Same Code In S60 it run Well The Code:::: private void Test() { try { System.out.println ("Befffforrrrrrrrrrrrr"); long x= DF.getDate(
-
Just switched over from Frontpage and I was able to import images very easy there. I have about 50 images that I just want to put into an existing folder. How do I do this without having to build a page and insert each image on the page? Is there a w
-
Missing Records from SMQ1/RSA7
Hi Everyone, During the upgrade of BI system, the SMQ1/RSA7 did not clean, which lead to missing of records for only one day from queue. But now the BI system is extracting regular data apart from that day. Can you please help me, how we can get the