DB Link , ORA - 02083: illegal database name character '-'
Hi,
I work for an integration company and right now we are putting together an application that is moving a small subset of data from one db to another. I have created a db link to move the data. However, when I try to compile the procedure, that moves the data, into the database, the compile fails and I am given the following error:
ORA-02083: database name has illegal character -.
The instances Im developing/testing to are on the same machine, which is a Solaris X86 machine and the Oracle version is 8.1.7.
Now 2 things. If I do a simple query like the one below using SQL*PLUS, the link works fine.
Select sysdate
From dual@<dblink_name>;
The other thing is the domain name does in fact have a - in it, but I have removed the domain name from everyplace I can thing of from Oracle; i.e. tnsnames, init.ora file, etc.
Does anyone have any ideas?
Thanks,
Roger Christophel
and set this parameter with its correct value.
DB_DOMAIN
Parameter type
String
Syntax
DB_DOMAIN = domain_name
Default value
There is no default value.
Parameter class
Static
Range of values
Any legal string of name components, separated by periods and up to 128 characters long (including the periods). This value cannot be NULL.
Real Application Clusters
You must set this parameter for every instance, and multiple instances must have the same value.
In a distributed database system, DB_DOMAIN specifies the logical location of the database within the network structure. You should set this parameter if this database is or ever will be part of a distributed system. The value consists of the extension components of a global database name, consisting of valid identifiers, separated by periods. Oracle Corporation recommends that you specify DB_DOMAIN as a unique string for all databases in a domain.
This parameter allows one department to create a database without worrying that it might have the same name as a database created by another department. If one sales department's DB_DOMAIN is JAPAN.ACME.COM, then their SALES database (SALES.JAPAN.ACME.COM) is uniquely distinguished from another database with DB_NAME = SALES but with DB_DOMAIN = US.ACME.COM.
If you omit the domains from the name of a database link, Oracle expands the name by qualifying the database with the domain of your local database as it currently exists in the data dictionary, and then stores the link name in the data dictionary. The characters valid in a database domain name are: alphanumeric characters, underscore (_), and number sign (#).
See Also:
Oracle9i Database Performance Tuning Guide and Reference for more information on setting this parameter
The data dictionary view "GLOBAL_NAME"
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch142.htm#REFRN10036
Joel Pérez
Similar Messages
-
ORA-01506: missing or illegal database name
Hi Gurus/Experts,
I am implementing dataguard for digaster consideration for my primary database mydb. I have changed some initilization parameter for this implementation and while doing this when I changed a paraneter like below:
SQL> alter system set db_file_name_convert="'/u01/app/oracle/oradata/mydb_un', '/u01/app/oracle/oradata/orcl_un'" scope=spfile;
System altered.
Because this parameter is static so I have restart my database with startup force option. But I am getting belwo error.:
SQL> startup force
ORA-01506: missing or illegal database name
Below is my entries in $ORACLE_HOME/dbs location :
hc_mydb.dat initmydb.ora init.ora lkMYDB lkMYDB_UN orapwmydb spfilemydb.ora
And below is my current pfile entry:
[oracle@localhost dbs]$ more initmydb.ora
mydb.__db_cache_size=67108864
mydb.__java_pool_size=4194304
mydb.__large_pool_size=4194304
mydb.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
mydb.__pga_aggregate_target=171966464
mydb.__sga_target=243269632
mydb.__shared_io_pool_size=0
mydb.__shared_pool_size=155189248
mydb.__streams_pool_size=4194304
*.audit_file_dest='/u01/app/oracle/admin/mydb/adump'
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/u01/app/oracle/oradata/mydb/control01.ctl','/u01/app/oracle/flash_recovery_area/mydb/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_name='mydb'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
*.db_recovery_file_dest_size=4294967296
*.db_unique_name='mydb_un'
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=mydbXDB)'
*.log_archive_config='DG_CONFIG=(mydb_un,orcl_un)'
*.log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST REOPEN=8 MAX_FAILURE=4'
*.log_archive_dest_2='SERVICE=orcl delay=10 db_unique_name=orcl_un'
*.memory_target=413138944
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'
Please help me to get it relsove and let me know what wrong I did.
Regards,
MichelHi Mseberg,
As of now I do not have standby INIT file and one which INIT file which I am showing here that's for my primary database i.e mydb. I would like to let you know I am planning to implement dataguard where mydb would be my primary database ad orcl would be my stabd by database. Before creating standby database I am preparing all initilization parameter in my primary database.
I have started my database with SYSDBA but still getting the same error. Please check below:
[oracle@localhost ~]$ . oraenv
ORACLE_SID = [oracle] ? mydb
The Oracle base for ORACLE_HOME=/u01/home/oracle/product/11.2.0/db_1 is /u01/app/oracle
[oracle@localhost ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sun Jan 5 00:15:12 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-01506: missing or illegal database name
Regards,
Michel -
Hi all,
In my SQL Server 2012 Management Studio, I executed the following code:
CREATE TABLE Products(
sku INT Primary KEY,
product_desc VARCHAR(30));
INSERT INTO Products (sku, product_desc)
SELECT X.product.query('SKU').value('.', 'INT'),
X.product.query('Desc').value('.', 'VARCHAR(30)')
FROM (
SELECT CAST(x AS XML)
FROM OPENROWSET(
BULK 'H:\ZenProducts.xml',
SINGLE_BLOB) AS T(x)
) AS T(x)
CROSS APPLY x.nodes('Products/Product') AS X(product);
SELECT sku, product_desc
FROM Products;
I got the following message:
Msg 9455, Level 16, State 1, Line 5
XML parsing: line 3, character 12, illegal qualified name character
I have no ideas why the "product" in the statement "SELECT X.product.query('SKU').value('.','INT')" is not legal qualified name charcter!!!??? Please kindly help, advise and respond.
Thanks in advance,
Scott ChangHi Manish, Thanks for your response.
Here is a copy of my ZenProducts.xml:
<Products>
<Product>
<SKU>1<</SKU>
<Desc>Book</Desc>
</Product>
<Product>
<SKU>2<</SKU>
<Desc>DVD</Desc>
</Product>
<Product>
<SKU>3<</SKU>
<Desc>Video</Desc>
</Product>
I found the wrong "<<" in my xml file and changed it to the right "<" for the statement<SKU>1</sku>. I executed the corrected code and I got the following new message:
Msg 2714, Level 16, State 6, Line 1
There is already an object named 'Products' in the database.
I don't know how to remove the old, existing the 'Products' object in the database and execute the corrected code again. Please kindly help, advise and tell me how to resolve this new problem.
Many Thanks,
Scott Chang
P. S. I played with another project to get the 'Products' object in my database before. Frankly, I don't know where the old 'Products' object and the database are. Please enlighten me in resolving this matter more clearly.
You welcome Scott, As Olaf mentioned in this post, there was already a table exists , so need to drop your Products table.
Apart from this, I guess either you did not pasted the full XML file or what, I needed to have the ( </Products>)closing tag in your XML file as follows.
<Products>
<Product>
<SKU>1</SKU>
<Desc>Book</Desc>
</Product>
<Product>
<SKU>2</SKU>
<Desc>DVD</Desc>
</Product>
<Product>
<SKU>3</SKU>
<Desc>Video</Desc>
</Product>
</Products>
You can use following script to drop if your
Products table is already existing.
if exists(select 1 from sys.tables where name ='Products')
drop table Products
CREATE TABLE Products(
sku INT Primary KEY,
product_desc VARCHAR(30));
INSERT INTO Products (sku, product_desc)
SELECT X.product.query('SKU').value('.', 'INT'),
X.product.query('Desc').value('.', 'VARCHAR(30)')
FROM (
SELECT CAST(x AS XML)
FROM OPENROWSET(
BULK 'H:\ZenProducts.xml',
SINGLE_BLOB) AS T(x)
) AS T(x)
CROSS APPLY x.nodes('Products/Product') AS X(product);
SELECT sku, product_desc
FROM Products;
Let us know if you face any other problem.
Thanks
Manish
Please click Mark as Answer if my post solved your problem and click
Vote as Helpful if this post was useful. -
Oracle 11G and SqlDataSource: 'ORA-01036: illegal variable name/number'
[Resolved - http://forums.oracle.com/forums/thread.jspa?messageID=2366331�]
I've created a short video to explain my problem with Oracle and SqlDataSource. If you'd rather watch than read, go see the video at http://www.kencox.ca/video/oracelandsqldatasource.html.
I'm trying to do some extremely simple drag and drop development in Visual Web Developer 2008 with the Oracle 11g database and ODP.NET. According to Oracle, "The data provider can be used with the latest .NET Framework 3.5 version. "
The SELECT statement works fine, but any attempt to use UPDATE via the SQLDataSource UpdateCommand nets me the infamous 'ORA-01036: illegal variable name/number' error.
I wouldn't mind using one of my MSDN Support Incidents to have Microsoft take a look at this issue, but I'm not sure the problem is Microsoft's. It seems like Oracle is doing a poor job in its Visual Studio integration.
Question: Has anyone successfully used an UpdateCommand statement in SQLDataSource against Oracle 11g? If so, let me know!
Below, you see the entire code as generated in Visual Web Developer 2008. To see it in action, check the video at http://www.kencox.ca/video/oracelandsqldatasource.html.
Ken
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!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">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="SqlDataSource1"
EmptyDataText="There are no data records to display.">
<Columns>
<asp:CommandField ShowEditButton="True" />
<asp:BoundField DataField="ACCOUNTID" HeaderText="ACCOUNTID"
SortExpression="ACCOUNTID" />
<asp:BoundField DataField="ACCOUNTNAME" HeaderText="ACCOUNTNAME"
SortExpression="ACCOUNTNAME" />
<asp:BoundField DataField="ACCOUNTLOCATION" HeaderText="ACCOUNTLOCATION"
SortExpression="ACCOUNTLOCATION" />
<asp:BoundField DataField="ACCOUNTPHONE" HeaderText="ACCOUNTPHONE"
SortExpression="ACCOUNTPHONE" />
<asp:BoundField DataField="ACCOUNTCONTACT" HeaderText="ACCOUNTCONTACT"
SortExpression="ACCOUNTCONTACT" />
<asp:BoundField DataField="ACCOUNTWEBSITE" HeaderText="ACCOUNTWEBSITE"
SortExpression="ACCOUNTWEBSITE" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString1 %>"
ProviderName="<%$ ConnectionStrings:ConnectionString1.ProviderName %>"
SelectCommand="SELECT "ACCOUNTID", "ACCOUNTNAME", "ACCOUNTLOCATION", "ACCOUNTPHONE", "ACCOUNTCONTACT", "ACCOUNTWEBSITE" FROM "ACCOUNTS""
UpdateCommand="UPDATE ACCOUNTS SET ACCOUNTLOCATION = 'This Place' WHERE (ACCOUNTID = 4)">
</asp:SqlDataSource>
</div>
</form>
</body>
</html>//////////using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
public partial class _Default : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
Message was edited by:
kjopcKen,
One thing to be aware of is Microsoft has produced Visual Studio database tools and data provider for Oracle. In addition, Oracle has produced its own tools. Knowing which products you are using is important because you want to know which company you should be complaining about. :-)
In your video, you are using all Microsoft tools and data provider, not Oracle's.
I would recommend using Oracle Developer Tools (ODT) for VS and ODP.NET since these products are much better integrated with .NET and Oracle.
ODP.NET uses Oracle.DataAccess.Client namespace. System.Data.OracleClient belongs to the MS provider for Oracle, which Mark pointed out. If you drag and drop DB objects using ODT, it will generate ODP.NET code for you (and give you more data source wizard options as well).
You can download the latest 11g version of ODP.NET and ODT here:
http://www.oracle.com/technology/software/tech/windows/odpnet/index.html
These support .NET 3.5 and VS 2008. -
11.2.0.2.0 windows 2008 RAC
restored a prod rac to a dev rac, need to rename. created a pfile with my db name to my old name, started single instance, ran nid, updated the controlfiles successfully, stopped the database, updated my pfile to have DB_NAME to my new name, started the database, all good.
Create the spfile on ASM to I can restart my RAC, restart the database (still in single instance on 1 node) , I can see in the alert log its reading the newly created spfile, but I then get an error.
start my database with pfile with db_name=DPRD
SQL> startup force mount pfile='e:\temp\pfiledprd.ora';
ORACLE instance started.
Total System Global Area 1.3696E+10 bytes
Fixed Size 2266208 bytes
Variable Size 7147096992 bytes
Database Buffers 6509559808 bytes
Redo Buffers 36966400 bytes
Database mounted.
SQL> show parameter db_name
NAME TYPE VALUE
db_name string DPRD
SQL>-- create my spfile, edit a second pfile and jsut have a reference to the spfile in it (if I dont use pfile reference it uses OIRACLE_HOME\database\initDPRD1.ora anyway which is the same file, this way I know for sure its using what I want to. Same thing happens either way.
SQL> create spfile='+DATA/DPRD/spfileDPRD.ora' from pfile;
File created.
SQL> startup force mount pfile='e:\temp\initDPRD1.ora';
ORA-01506: missing or illegal database name
SQL> host more e:\temp\initDPRD1.ora
SPFILE='+DATA/DPRD/spfileDPRD.ora'
SQL>so question is why isnt my spfile using DB_NAME that I know exists before I create the spfile.
I verified its using the right spfile by deleting before creating it on ASMCMD. ie, I delete it, run the "create spfile..." and then I see it recreating.every days a school day. In this case Im in detention. Hours I spent at this and of course I get the answer 20 minutes after I post the question here.
the pfile in the default ORACLE_HOME\database has reference to my spfile
If I run a create spfile from pfile it uses the contents of that pfile, NOT the pfile I started the database with. To use that pfile I need to path the pfile I started it with
WRONG
create spfile='+DATA/DPRD/spfileDPRD.ora' from pfile;
RIGHT
create spfile='+DATA/DPRD/spfileDPRD.ora' from pfile='e:\temp\pfileDPRD.ora';
SQL> create spfile='+DATA/DPRD/spfileDPRD.ora' from pfile='e:\temp\pfileDPRD.ora';
File created.
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup pfile='e:\temp\initDPRD1.ora';
ORACLE instance started.
Total System Global Area 1.3696E+10 bytes
Fixed Size 2266208 bytes
Variable Size 7147096992 bytes
Database Buffers 6509559808 bytes
Redo Buffers 36966400 bytes
Database mounted.
Database opened.
SQL>
SQL>
SQL> -
External table and error: ORA-01036: illegal variable name/number
using the following script I get the referenced error:
create table dol_sch_c_part2
(DLN NUMBER(14) ,
PAGE_ID VARCHAR2(20),
PAGE_SEQ VARCHAR2(20),
PAGE_ROW_NUM VARCHAR2(20),
ROW_NUM VARCHAR2(20),
IMAGE_FORM_ID VARCHAR2(20),
PROVIDER_TERM_01_NAME VARCHAR2(35),
PROVIDER_TERM_01_EIN VARCHAR2(9) ,
PROVIDER_TERM_01_POSITION VARCHAR2(25),
PROVIDER_TERM_01_STR_ADDRESS VARCHAR2(35),
PROVIDER_TERM_01_CITY VARCHAR2(20),
PROVIDER_TERM_01_STATE VARCHAR2(2),
PROVIDER_TERM_01_ZIP_CODE VARCHAR2(9),
PROVIDER_TERM_01_PHONE_NUM VARCHAR2(10),
PROVIDER_TERM_01_TEXT VARCHAR2(250)
ORGANIZATION EXTERNAL
( type oracle_loader
default directory data_dir
access parameters
RECORDS FIXED 510
FIELDS
DLN(1:14) char(14),
PAGE_ID(15:34) char(20) NULLIF PAGE_ID=BLANKS,
PAGE_SEQ(35:54) char(20) NULLIF PAGE_SEQ=BLANKS,
PAGE_ROW_NUM(55:74) char(20) NULLIF PAGE_ROW_NUM=BLANKS,
ROW_NUM(75:94) char(20) NULLIF ROW_NUM=BLANKS,
IMAGE_FORM_ID(95:114) char(20) NULLIF IMAGE_FORM_ID=BLANKS,
PROVIDER_TERM_01_NAME(115:149) char(35) NULLIF PROVIDER_TERM_01_NAME=BLANKS,
PROVIDER_TERM_01_EIN(150:158) char(9) NULLIF PROVIDER_TERM_01_EIN=BLANKS,
PROVIDER_TERM_01_POSITION(159:183) char(25) NULLIF PROVIDER_TERM_01_POSITION=BLANKS,
PROVIDER_TERM_01_STR_ADDRESS(184:218) char(35) NULLIF PROVIDER_TERM_01_STR_ADDRESS=BLANKS,
PROVIDER_TERM_01_CITY(219:238) char(20) NULLIF PROVIDER_TERM_01_CITY=BLANKS,
PROVIDER_TERM_01_STATE(239:240) char(2) NULLIF PROVIDER_TERM_01_STATE=BLANKS,
PROVIDER_TERM_01_ZIP_CODE(241:249) char(9) NULLIF PROVIDER_TERM_01_ZIP_CODE=BLANKS,
PROVIDER_TERM_01_PHONE_NUM(250:259) char(10) NULLIF PROVIDER_TERM_01_PHONE_NUM=BLANKS,
PROVIDER_TERM_01_TEXT(260:509) char(250) NULLIF PROVIDER_TERM_01_TEXT=BLANKS
location ('f_dol_sch_c_part2.txt')
I've tried it with and without the char(*) in the fields section - no change
thanks*** SCRIPT START : Session:GLEN_SELF@RAMBO(8) 8/31/2006 12:16:48 PM ***
Processing ...
create or replace directory data_dir as 'c:\dol\'
create table dol_sch_c_part2
(DLN NUMBER(14) ,
PAGE_ID VARCHAR2(20),
PAGE_SEQ VARCHAR2(20),
PAGE_ROW_NUM VARCHAR2(20),
ROW_NUM VARCHAR2(20),
IMAGE_FORM_ID VARCHAR2(20),
PROVIDER_TERM_01_NAME VARCHAR2(35),
PROVIDER_TERM_01_EIN VARCHAR2(9),
PROVIDER_TERM_01_POSITION VARCHAR2(25),
PROVIDER_TERM_01_STR_ADDRESS VARCHAR2(35),
PROVIDER_TERM_01_CITY VARCHAR2(20),
PROVIDER_TERM_01_STATE VARCHAR2(2),
PROVIDER_TERM_01_ZIP_CODE VARCHAR2(9),
PROVIDER_TERM_01_PHONE_NUM VARCHAR2(10),
PROVIDER_TERM_01_TEXT VARCHAR2(250)
ORGANIZATION EXTERNAL
( type oracle_loader
default directory data_dir
logfile 'ext_tab.log'
access parameters
RECORDS FIXED 510
FIELDS
DLN(1:14),
PAGE_ID(15:34),
PAGE_SEQ(35:54),
PAGE_ROW_NUM(55:74),
ROW_NUM(75:94),
IMAGE_FORM_ID(95:114),
PROVIDER_TERM_01_NAME(115:149),
PROVIDER_TERM_01_EIN(150:158),
PROVIDER_TERM_01_POSITION(159:183),
PROVIDER_TERM_01_STR_ADDRESS(184:218),
PROVIDER_TERM_01_CITY(219:238),
PROVIDER_TERM_01_STATE(239:240),
PROVIDER_TERM_01_ZIP_CODE(241:249),
PROVIDER_TERM_01_PHONE_NUM(250:259),
PROVIDER_TERM_01_TEXT(260:509)
location ('f_dol_sch_c_part2.txt')
create or replace directory data_dir as 'c:\dol\'
ORA-01036: illegal variable name/number
*** Script stopped due to error ***
*** SCRIPT END : Session:GLEN_SELF@RAMBO(8) 8/31/2006 12:16:49 PM *** -
Need help with ora-01036 illegal variable name/number
Can you help me fix the following problem.
I'm getting an oracle exceptioin while running the following.
OracleParameter[] myParameters = new OracleParameter[] { new OracleParameter("SELECTEDREGIONS", OracleDbType.RefCursor, ParameterDirection.Output) };
XmlReader xRdr = oraclehelper.ExecuteXmlReader(myConnection,CommandType.StoredProcedure,"TEST_TESTPACKAGE.TEST_GETREGIONS_SP",myParameters);
the oracle helper function is
public XmlReader ExecuteXmlReader(OracleConnection inConnection,
CommandType inCommandType,
string inCommandText,
params OracleParameter[] inCommandParameters)
//create a command and prepare it for execution
OracleCommand cmd = new OracleCommand(inCommandText,inConnection);
cmd.CommandType = inCommandType;
if (inCommandParameters != null)
foreach (OracleParameter op in inCommandParameters)
cmd.Parameters.Add(op);
cmd.BindByName = true;
cmd.XmlCommandType = OracleXmlCommandType.Query;
cmd.XmlQueryProperties.RootTag = "Result";
cmd.XmlQueryProperties.RowTag = "Row";
if (cmd.Connection.State != ConnectionState.Open) cmd.Connection.Open();
XmlReader retval = null;
//create the DataAdapter & DataSet
retval = cmd.ExecuteXmlReader();
// detach the OracleParameters from the command object, so they can be used again.
cmd.Parameters.Clear();
return retval;
The stored proc is:
CREATE OR REPLACE package GJUTRAS.test_TestPackage AS
type sregions is REF CURSOR;
procedure test_GetRegions_sp
selectedregions out sregions
procedure test_GetRegByDescrip_sp
descript in varchar2,
selectedregions out sregions
end test_TestPackage;
CREATE OR REPLACE package body GJUTRAS.test_TestPackage AS
procedure test_GetRegions_sp
selectedregions out sregions
is
begin
open selectedregions for
select * from ods.region;
end test_GetRegions_sp;
procedure test_GetRegByDescrip_sp
descript in varchar2,
selectedregions out sregions
is
begin
open selectedregions for
select * from ods.region where description = descript;
end test_GetRegByDescrip_sp;
end test_TestPackage;
/The versions of the function that use text "select * from ods.region" work fine. It's using a stored procedure with ExecuteXmlReader that I can't seem to get working. The table is
CREATE TABLE REGION (
ID NUMBER(10) NOT NULL,
CODE VARCHAR2(100 BYTE),
ABBREV VARCHAR2(100 BYTE),
NAME VARCHAR2(500 BYTE),
EXTRA_FIELDS_ID NUMBER(10) NOT NULL,
ACTIVE_FLAG VARCHAR2(1 BYTE) NOT NULL,
DESCRIPTION VARCHAR2(4000 BYTE),
COMMENTS VARCHAR2(4000 BYTE),
KEYWORDS VARCHAR2(4000 BYTE),
CHNG_REASON_TYPE_ID NUMBER(10),
CHNG_REASON_CMNT VARCHAR2(4000 BYTE),
BEG_DATE DATE NOT NULL,
BEG_USER_ID NUMBER(10) NOT NULL,
CREATOR_ID NUMBER(10) NOT NULL,
CREATION_DATE DATE NOT NULL ) -
Query Errors: ORA-01036: illegal variable name/number
Hi All,
When I run a query against two tables within our data warehouse I am getting an IO Exception. Due to company restrictions I can't quickly increase my IO Limit So what I have done is written a query that cycles through all of the large tables partitions and extracts the data.
The problem I get is that when I run this query in Toad. It thinks my :MI, :SS are variables and wont run this. Does anyone know what I can do to resolve this issue?
create table completion_log
action_complate_dt date,
table_name varchar2(1000),
partition_number varchar2(1000)
nologging
compress ;
create table STORE_DATA_HERE
field_1 varchar2(1000),
field_2 date,
field_3 varchar2(1000)
nologging
compress ;
commit;
begin
for ptn in (select partition_name p from all_tab_partitions t where table_name='REALLY_LARGE_TABLE')
loop
execute immediate q'^
insert /*+ APPEND */ into STORE_DATA_HERE
SELECT field_1,
field_2,
field_3
FROM REALLY_LARGE_TABLE partition (^'||ptn.p||q'^)
WHERE field_3 IN ( 'XXXX', 'YYYY')
AND data_date BETWEEN TO_DATE('07/12/2011 00:00:00', 'DD/MM/YYYY HH24:MI:SS')
AND TO_DATE('08/12/2011 23:59:59', 'DD/MM/YYYY HH24:MI:SS')
^';
insert into completion_log values (sysdate,'STORE_DATA_HERE',ptn.p);
commit;
end loop;
end;In your case it is quite easy...
just remove the collons from the format and the literal...and off you go
begin
for ptn in (select partition_name p from all_tab_partitions t where table_name='REALLY_LARGE_TABLE')
loop
execute immediate q'^
insert /*+ APPEND */ into STORE_DATA_HERE
SELECT field_1,
field_2,
field_3
FROM REALLY_LARGE_TABLE partition (^'||ptn.p||q'^)
WHERE field_3 IN ( 'XXXX', 'YYYY')
AND data_date BETWEEN TO_DATE('07/12/2011 000000', 'DD/MM/YYYY HH24MISS')
AND TO_DATE('08/12/2011 235959', 'DD/MM/YYYY HH24MISS')
^';
insert into completion_log values (sysdate,'STORE_DATA_HERE',ptn.p);
commit;
end loop;
end; -
Ora-02084 : database name is missing a component
hai all,
i am a newbee to oracle. i am struggling to create a database, any help would be highly appreciated. i have installed Oracle 9i on a RH8.0 system. but while creating database through DBCA, i am getting the error message, "ORA -02084:Oracle database name is missing a component". i ahve gone through the documentation and found that probelm is with ORACLE_SID. i have set all the environment variables(including ORACLE_SID, DB_NAME AND DB_DOMAIN) according to the documentaion and created swap files, temporary space etc.i have set all the environment variables in .bash_profile in ORACLE_HOME.
i have stopped DBCA and gone through the files. i could see that the database is actually created, with initXXX.ora.441414312 file. but once when i started the database with nomount and checked, i could find the control files missing.
thanks in advance,
ramesh.Probably you are missing value for db_name (or missing parameter db_name) in parameter file.
Note you can still create db manualy (without DBCA). -
Restore 9i Database to Another Server but Same Database Name
hi experts,
This is 9i on Windows.
I want to restore my RMAN backup from production server to my test server.
I know the db names have to be the same for RMAN to work.
Can I restore from my full backup -- test server, then change the db name on the test server? The database name on test needs to be different to prevent someone from accidentally connecting to test but thinking it is production.
Is this possible to do?
Again, 9i on Windows.
Thanks, JohnHi piontkdd
I do this in 9i all time, without using duplicate.
General idea:
Copy rman backups to test server
create dummy init.ora with production database name.
if you want, SET NEWNAME for different filesystem and restore datafiles.
Recover database. Open database.
alter database rename global_name to 'whatever'
shutdown and then mount. use nid.sh to change the DBID and Database name (Can't remember how you do this on windows). shutdown and set up your new spfile/init.ora and change your services with oradim.exe
could you elaborate the same steps i have the scenario to make sure my production database works fine in case of any disaster , on the production machine itself i have to restore database.
Oracle=9.2 Solaris=9 Veritas=6.0
Regards -
PL/SQL :ORA-04052 with Database link
i have created a database link in my producation database as following
CREATE PUBLIC DATABASE LINK <NAME>
CONNECT TO <USER>
IDENTIFIED BY <P/W>
USING <CONNECT STRING OF TARGET DATABASE
oracle version 9.0.2.8
OS : Windows 2003 EE R2 SP2
Using oracle failsafe 3.3.4 with windows cluster
Problem Description :
whenever i run my pl/sql procecdure to pull the data from the target database i get the following error
ERROR at line 3
ORA-06550:line 3 column 2
PL/SQL : ORA-04052: error occured when looking up remote object _<SCHEMA>.<TABLE>@<DATABASE LINKE NAME>_
ORA-00604 : ERROR occured at recursive SQL level 1
ORA-03106 : fatal tow-task communication protocol error
ORA-02063: preceding line from <DATABASE LINK NAME>
I have tested the same way in the test environment the same oracle version as well the OS but without oracle failsafe and windows cluster
the script goes smoothly with out any errors.
i have google and checked the OTN for all available solutions but still nothing its not getting throw
i will be very thankful for your replys and solutions
any farther clarification i am ready
thanks in advanceHi,
This forum is for issues connecting to non-Oracle databases. As the problem is using PL/SQL to connect to another Oracle database then it would be better to post a thread in the PL/SQL forum -
PL/SQL
If you are trying to connect to a non-Oracle database then please give us the details of which non-Oracle database and the software you are trying to use to connect.
Regards,
Mike -
Variable database name in SQL Server query using Oracle database link
Hi All,
I have an ApEx 4.1 app running on 11g x64 (11.2.0.1) on Windows Server 2008 x64, and I have some data integration points with a SQL Server (2005 and 2008) that I need to establish. I have configured the database link with dg4odbc and it works beautifully... I can execute queries against the SQL Server database without any problems using the database link.
However, there is a scenario where the SQL Server database name is dynamic, and I need to generate it on the fly in a PL/SQL block, and then use that in a dynamic SQL query (all of this in ApEx). This is where I run into problems... when I am querying the default database based on the ODBC connection and I don't have to specify the database name, there is no issue. But when I need to access one of several other non-default databases, I keep receiving the "invalid table" error.
This runs fine:* (note that "fv" is the name of my database link)
v_query1 := 'select "ReleaseDate" from dbo.Schedules@fv where dbo.Schedules."SchedID" = :schedule';
EXECUTE IMMEDIATE v_query1 into rel_date using schedule;
I then take that rel_date variable, convert to a varchar2 (rel_date_char), and then use it as the database name in the next query...
This returns an error_ (Error ORA-00903: invalid table name)
v_query2 := 'select "PARTNO" from :rel_date_char.dbo.ProdDetails@fv where "SchedID" = :schedule and "UnitID" = :unit
and "MasterKey" = :master and "ParentKey" = :parent';
EXECUTE IMMEDIATE v_query2 into part_number using schedule, unit, master, parent;
I have also tried using all of the following to no avail:
'select "PARTNO" from ' || :rel_date_char || '.dbo.ProdDetails@fv where "SchedID"...
'select "PARTNO" from ' || rel_date_char || '.dbo.ProdDetails@fv where "SchedID"...
'select "PARTNO" from ' || @rel_date_char || '.dbo.ProdDetails@fv where "SchedID"...
'select "PARTNO" from @rel_date_char.dbo.ProdDetails@fv where "SchedID"...
Is there a way to do this in PL/SQL?
Thanks for any help!
-Ian C.
Edited by: 946532 on Jul 15, 2012 7:45 PMJust did a test using passthrough:
SQL> set serveroutput on
SQL> declare
2 val varchar2(100);
3 c integer;
4 nr integer;
5 begin
6 c:= dbms_hs_passthrough.open_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3;
7 dbms_hs_passthrough.parse@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, 'select count(*) from EMP');
8 LOOP
9 nr:= DBMS_Hs_Passthrough.fetch_row@FREETDS_DG4ODBC_EMGTW_11_2_0_3(c);
10 exit when nr=0;
11 dbms_hs_passthrough.get_value@FREETDS_DG4ODBC_EMGTW_11_2_0_3(c,1,val);
12 dbms_output.put_line(val);
13 end loop;
14 dbms_hs_passthrough.close_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3(c);
15 end;
16 /
24576
PL/SQL procedure successfully completed.
SQL> declare
2 val varchar2(100);
3 c integer;
4 nr integer;
5 begin
6 c:= dbms_hs_passthrough.open_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3;
7 dbms_hs_passthrough.parse@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, 'select count(*) from dbo.EMP');
8 LOOP
9 nr:= DBMS_Hs_Passthrough.fetch_row@FREETDS_DG4ODBC_EMGTW_11_2_0_3(c);
10 exit when nr=0;
11 dbms_hs_passthrough.get_value@FREETDS_DG4ODBC_EMGTW_11_2_0_3(c,1,val);
12 dbms_output.put_line(val);
13 end loop;
14 dbms_hs_passthrough.close_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3(c);
15 end;
16 /
24576
PL/SQL procedure successfully completed.
So all 3 ways work for me.
Edited by: kgronau on Jul 23, 2012 10:08 AM
Now using variables to perform the select:
SQL> declare
2 val varchar2(100);
3 c integer;
4 nr integer;
5 tabname varchar2(20) :='EMP';
6 ownr varchar2(20) :='dbo';
7 dbname varchar2(20) :='gateway';
8 begin
9 c:= dbms_hs_passthrough.open_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3;
10 dbms_hs_passthrough.parse@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, 'SELECT count(*) FROM '||dbname||'.'|| ownr || '.'||tabname||'');
11 LOOP
12 nr:= DBMS_Hs_Passthrough.fetch_row@FREETDS_DG4ODBC_EMGTW_11_2_0_3(c);
13 exit when nr=0;
14 dbms_hs_passthrough.get_value@FREETDS_DG4ODBC_EMGTW_11_2_0_3(c,1,val);
15 dbms_output.put_line(val);
16 end loop;
17 dbms_hs_passthrough.close_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3(c);
18 end;
19 /
24576
PL/SQL procedure successfully completed.
=> instead of executing the statement using "execute Immediate" we have to use PASTHROUGH package to pass the statement to the SQL Server.
Edited by: kgronau on Jul 23, 2012 10:10 AM -
ORA-01161: database name ORA10G in file header does not match given name of
Database: Oracle 10g
os: windows 2000
I want to create a new database as same as of a TEST database.
i have followed the steps below however while create the controlfile i am getting the error ORA-01161
1.i took the full backup of test system(while databse is normal shutdown)
2.Prepare new initsid.ora file and change the parameter DN_NAME=newname
3.prepare new create controlfile script with new database name
4.startup pfile='initsid.ora' nomount
5.while executing the controlfile creation script, it gives the error ORA-01161
how can resolve the problemi am already using the REUSE option
CREATE CONTROLFILE REUSE DATABASE "ora10g1" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 454
LOGFILE
GROUP 1 'C:\ORA10GDB\ORADATA\Backups1\REDO01.LOG' SIZE 10M,
GROUP 2 'C:\ORA10GDB\ORADATA\Backups1\REDO02.LOG' SIZE 10M,
GROUP 3 'C:\ORA10GDB\ORADATA\Backups1\REDO03.LOG' SIZE 10M
-- STANDBY LOGFILE
DATAFILE
'C:\ORA10GDB\ORADATA\BACKUPS1\SYSTEM01.DBF',
'C:\ORA10GDB\ORADATA\BACKUPS1\UNDOTBS01.DBF',
'C:\ORA10GDB\ORADATA\BACKUPS1\SYSAUX01.DBF',
'C:\ORA10GDB\ORADATA\BACKUPS1\USERS01.DBF',
'C:\ORA10GDB\ORADATA\BACKUPS1\EXAMPLE01.DBF',
'C:\ORA10GDB\ORADATA\BACKUPS1\PLAY01DF.DBF'
CHARACTER SET WE8MSWIN1252
Test Database name : ora10g
New database name :ora10g1
I am using the same machine to create the new database. -
ORA-01504: database name 'DEV1' does not match parameter db_name 'PROD1'
Hi, All -
This is my first time cloning a database. The recovery finished but gave me the following error message. All the parameters in the pfile are set to "DEV1". I believe that the parameter db_name 'PROD1' exists in the control file and causing this error. The control file is under ASM.
How can I change the parameter in the control file and bring the 'DEV1' cloned database up? Also, how can I avoid this issue next time I do a clone?
Thanks in advance!
Oracle 10g Release 2 on RHEL5
Database cloning using RMAN Duplicate > ORA-01504: database name 'DEV1' does not match parameter db_name 'PROD1'
ASMCMD> ls
control01.ctl
current.275.729098001
archive log filename=/u001/dbsvr/dev1/1_131706_653848580.dbf recid=59 stamp=741953991
media recovery complete, elapsed time: 00:09:31
*Finished recover at 01-FEB-11*
contents of Memory Script:
shutdown clone;
startup clone nomount ;
executing Memory Script
database dismounted
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 725614592 bytes
Fixed Size 2075592 bytes
Variable Size 448791608 bytes
Database Buffers 268435456 bytes
Redo Buffers 6311936 bytes
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "DEV1" RESETLOGS ARCHIVELOG
MAXLOGFILES 50
MAXLOGMEMBERS 5
MAXDATAFILES 100
MAXINSTANCES 1
MAXLOGHISTORY 5445
LOGFILE
GROUP 1 '+DATA3/dev1/datafile/redo01.log' SIZE 100 M ,
GROUP 2 '+DATA3/dev1/datafile/redo02.log' SIZE 100 M ,
GROUP 3 '+DATA3/dev1/datafile/redo03.log' SIZE 100 M
DATAFILE
'+DATA3/dev1/datafile/system01.dbf'
CHARACTER SET WE8ISO8859P1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 02/01/2011 10:30:17
RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
ORA-01504: database name 'DEV1' does not match parameter db_name 'PROD1'
RMAN>
RMAN> **end-of-file**
RMAN>Respected, Sybrand Bakker -
Thanks for constructive feedback!
Here are the command that I ran.
RMAN> connect target sys/<password>@PROD1
connected to target database: PROD1 (DBID=556212836)
RMAN> connect auxiliary sys/<password>
connected to auxiliary database: DEV1 (not mounted)
RMAN> @rman_dup.sql
rman_dup.sql contains
run {
allocate auxiliary channel d1 type disk;
set newname for datafile 1 to '+DATA3/dev/datafile/system01.dbf';
set newname for datafile 2 to '+DATA3/dev/datafile/undotbs01.dbf';
set newname for datafile 3 to '+DATA3/dev/datafile/cwmlite01.dbf';
set newname for datafile 4 to '+DATA3/dev/datafile/drsys01.dbf';
set newname for datafile 5 to '+DATA3/dev/datafile/example01.dbf';
set newname for datafile 6 to '+DATA3/dev/datafile/indx01.dbf';
set newname for datafile 7 to '+DATA3/dev/datafile/odm01.dbf';
set newname for datafile 8 to '+DATA3/dev/datafile/tools01.dbf';
set newname for datafile 9 to '+DATA3/dev/datafile/users01.dbf';
set newname for datafile 10 to '+DATA3/dev/datafile/xdb01.dbf';
set newname for datafile 11 to '+DATA3/dev/datafile/cons01.dbf';
set newname for datafile 12 to '+DATA3/dev/datafile/survey01.dbf';
set newname for datafile 13 to '+DATA3/dev/datafile/mem201.dbf';
set newname for datafile 14 to '+DATA3/dev/datafile/cons02.dbf';
set newname for datafile 15 to '+DATA3/dev/datafile/mem202.dbf';
set newname for datafile 16 to '+DATA3/dev/datafile/cater01.dbf';
set newname for datafile 17 to '+DATA3/dev/datafile/users02.dbf';
set newname for datafile 18 to '+DATA3/dev/datafile/mar_data01.dbf';
set newname for datafile 19 to '+DATA3/dev/datafile/sysaux01.dbf';
set newname for datafile 20 to '+DATA3/dev/datafile/streams_tbs_01.dbf';
set newname for datafile 21 to '+DATA3/dev/datafile/users03.dbf';
set newname for tempfile 1 to '+DATA3/dev1/tempfile/temp01.dbf';
duplicate target database to dev1
until scn 48712532746
logfile
'+DATA3/dev1/datafile/redo01.log' size 100M,
'+DATA3/dev1/datafile/redo02.log' size 100M,
'+DATA3/dev1/datafile/redo03.log' size 100M;
}Edited by: CipherDBA on Feb 3, 2011 10:50 AM -
ORA-01161: database name DEV in file header does not match given name UAT
This is my cloning process.... I get the following errors.. I also double check with my process and still couldn't find anything.
SQL> @backup_control.sql
ORACLE instance started.
Total System Global Area 479298392 bytes
Fixed Size 742232 bytes
Variable Size 385875968 bytes
Database Buffers 81920000 bytes
Redo Buffers 10760192 bytes
CREATE CONTROLFILE REUSE DATABASE "UAT" NORESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01161: database name OBS in file header does not match given name of UAT
ORA-01110: data file 1: '/u01/oracle/uatdata/system01.dbf'
Any ideas of this error?
Best Regards,
AmyPlease see followings:
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "OBS" RESETLOGS ARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 16
MAXLOGMEMBERS 2
MAXDATAFILES 500
MAXINSTANCES 1
MAXLOGHISTORY 2042
LOGFILE
GROUP 1 '/u01/oracle/obsdata/log01a.dbf' SIZE 10M,
GROUP 2 '/u01/oracle/obsdata/log02a.dbf' SIZE 10M,
GROUP 3 '/u01/oracle/obsdata/log03a.dbf' SIZE 10M,
GROUP 4 '/u01/oracle/obsdata/log04a.dbf' SIZE 10M
-- STANDBY LOGFILE
DATAFILE
'/u01/oracle/obsdata/system01.dbf',
'/u01/oracle/obsdata/system02.dbf',
'/u01/oracle/obsdata/system03.dbf',
'/u01/oracle/obsdata/system04.dbf',
'/u01/oracle/obsdata/system05.dbf',
'/u01/oracle/obsdata/rbs01.dbf',
'/u01/oracle/obsdata/ctxd01.dbf',
'/u01/oracle/obsdata/owad01.dbf',
'/u01/oracle/obsdata/abmd01.dbf',
'/u01/oracle/obsdata/abmx01.dbf',
'/u01/oracle/obsdata/akd01.dbf',
'/u01/oracle/obsdata/akx01.dbf',
'/u01/oracle/obsdata/alrd01.dbf',
'/u01/oracle/obsdata/alrx01.dbf',
'/u01/oracle/obsdata/amsd01.dbf',
'/u01/oracle/obsdata/amsx01.dbf',
'/u01/oracle/obsdata/amvd01.dbf',
'/u01/oracle/obsdata/amvx01.dbf',
'/u01/oracle/obsdata/apd01.dbf',
'/u01/oracle/obsdata/apx01.dbf',
'/u01/oracle/obsdata/applsysd01.dbf',
'/u01/oracle/obsdata/applsysx01.dbf',
'/u01/oracle/obsdata/ard01.dbf',
'/u01/oracle/obsdata/arx01.dbf',
'/u01/oracle/obsdata/asfd01.dbf',
'/u01/oracle/obsdata/asfx01.dbf',
'/u01/oracle/obsdata/asgd01.dbf',
'/u01/oracle/obsdata/asgx01.dbf',
'/u01/oracle/obsdata/asod01.dbf',
'/u01/oracle/obsdata/asox01.dbf',
'/u01/oracle/obsdata/astd01.dbf',
'/u01/oracle/obsdata/astx01.dbf',
'/u01/oracle/obsdata/axd01.dbf',
'/u01/oracle/obsdata/axx01.dbf',
'/u01/oracle/obsdata/azd01.dbf',
'/u01/oracle/obsdata/azx01.dbf',
'/u01/oracle/obsdata/bend01.dbf',
'/u01/oracle/obsdata/benx01.dbf',
'/u01/oracle/obsdata/bicd01.dbf',
'/u01/oracle/obsdata/bicx01.dbf',
'/u01/oracle/obsdata/bild01.dbf',
'/u01/oracle/obsdata/bilx01.dbf',
'/u01/oracle/obsdata/bimd01.dbf',
'/u01/oracle/obsdata/bimx01.dbf',
'/u01/oracle/obsdata/bisd01.dbf',
'/u01/oracle/obsdata/bisx01.dbf',
'/u01/oracle/obsdata/bixd01.dbf',
'/u01/oracle/obsdata/bixx01.dbf',
'/u01/oracle/obsdata/bomd01.dbf',
'/u01/oracle/obsdata/bomx01.dbf',
'/u01/oracle/obsdata/bscd01.dbf',
'/u01/oracle/obsdata/bscx01.dbf',
'/u01/oracle/obsdata/cctd01.dbf',
'/u01/oracle/obsdata/cctx01.dbf',
'/u01/oracle/obsdata/ced01.dbf',
'/u01/oracle/obsdata/cex01.dbf',
'/u01/oracle/obsdata/cnd01.dbf',
'/u01/oracle/obsdata/cnx01.dbf',
'/u01/oracle/obsdata/crpd01.dbf',
'/u01/oracle/obsdata/crpx01.dbf',
'/u01/oracle/obsdata/csd01.dbf',
'/u01/oracle/obsdata/csx01.dbf',
'/u01/oracle/obsdata/cscd01.dbf',
'/u01/oracle/obsdata/cscx01.dbf',
'/u01/oracle/obsdata/csdd01.dbf',
'/u01/oracle/obsdata/csdx01.dbf',
'/u01/oracle/obsdata/csfd01.dbf',
'/u01/oracle/obsdata/csfx01.dbf',
'/u01/oracle/obsdata/cspd01.dbf',
'/u01/oracle/obsdata/cspx01.dbf',
'/u01/oracle/obsdata/csrd01.dbf',
'/u01/oracle/obsdata/csrx01.dbf',
'/u01/oracle/obsdata/cssd01.dbf',
'/u01/oracle/obsdata/cssx01.dbf',
'/u01/oracle/obsdata/cuad01.dbf',
'/u01/oracle/obsdata/cuax01.dbf',
'/u01/oracle/obsdata/cufd01.dbf',
'/u01/oracle/obsdata/cufx01.dbf',
'/u01/oracle/obsdata/cuid01.dbf',
'/u01/oracle/obsdata/cuix01.dbf',
'/u01/oracle/obsdata/cund01.dbf',
'/u01/oracle/obsdata/cunx01.dbf',
'/u01/oracle/obsdata/cupd01.dbf',
'/u01/oracle/obsdata/cupx01.dbf',
'/u01/oracle/obsdata/cusd01.dbf',
'/u01/oracle/obsdata/cusx01.dbf',
'/u01/oracle/obsdata/czd01.dbf',
'/u01/oracle/obsdata/czx01.dbf',
'/u01/oracle/obsdata/eaad01.dbf',
'/u01/oracle/obsdata/eaax01.dbf',
'/u01/oracle/obsdata/ecd01.dbf',
'/u01/oracle/obsdata/ecx01.dbf',
'/u01/oracle/obsdata/ecxd01.dbf',
'/u01/oracle/obsdata/ecxx01.dbf',
'/u01/oracle/obsdata/engd01.dbf',
'/u01/oracle/obsdata/engx01.dbf',
'/u01/oracle/obsdata/evmd01.dbf',
'/u01/oracle/obsdata/evmx01.dbf',
'/u01/oracle/obsdata/fad01.dbf',
'/u01/oracle/obsdata/fax01.dbf',
'/u01/oracle/obsdata/femd01.dbf',
'/u01/oracle/obsdata/femx01.dbf',
'/u01/oracle/obsdata/fiid01.dbf',
'/u01/oracle/obsdata/fiix01.dbf',
'/u01/oracle/obsdata/flmd01.dbf',
'/u01/oracle/obsdata/flmx01.dbf',
'/u01/oracle/obsdata/fptd01.dbf',
'/u01/oracle/obsdata/fptx01.dbf',
'/u01/oracle/obsdata/frmd01.dbf',
'/u01/oracle/obsdata/frmx01.dbf',
'/u01/oracle/obsdata/fvd01.dbf',
'/u01/oracle/obsdata/fvx01.dbf',
'/u01/oracle/obsdata/gld01.dbf',
'/u01/oracle/obsdata/glx01.dbf',
'/u01/oracle/obsdata/gmad01.dbf',
'/u01/oracle/obsdata/gmax01.dbf',
'/u01/oracle/obsdata/gmdd01.dbf',
'/u01/oracle/obsdata/gmdx01.dbf',
'/u01/oracle/obsdata/gmed01.dbf',
'/u01/oracle/obsdata/gmex01.dbf',
'/u01/oracle/obsdata/gmfd01.dbf',
'/u01/oracle/obsdata/gmfx01.dbf',
'/u01/oracle/obsdata/gmid01.dbf',
'/u01/oracle/obsdata/gmix01.dbf',
'/u01/oracle/obsdata/gmld01.dbf',
'/u01/oracle/obsdata/gmlx01.dbf',
'/u01/oracle/obsdata/gmpd01.dbf',
'/u01/oracle/obsdata/gmpx01.dbf',
'/u01/oracle/obsdata/gmsd01.dbf',
'/u01/oracle/obsdata/gmsx01.dbf',
'/u01/oracle/obsdata/grd01.dbf',
'/u01/oracle/obsdata/grx01.dbf',
'/u01/oracle/obsdata/hrd01.dbf',
'/u01/oracle/obsdata/hrx01.dbf',
'/u01/oracle/obsdata/hrid01.dbf',
'/u01/oracle/obsdata/hrix01.dbf',
'/u01/oracle/obsdata/hxcd01.dbf',
'/u01/oracle/obsdata/hxcx01.dbf',
'/u01/oracle/obsdata/hxtd01.dbf',
'/u01/oracle/obsdata/hxtx01.dbf',
'/u01/oracle/obsdata/ibad01.dbf',
'/u01/oracle/obsdata/ibax01.dbf',
'/u01/oracle/obsdata/ibed01.dbf',
'/u01/oracle/obsdata/ibex01.dbf',
'/u01/oracle/obsdata/ibpd01.dbf',
'/u01/oracle/obsdata/ibpx01.dbf',
'/u01/oracle/obsdata/ibud01.dbf',
'/u01/oracle/obsdata/ibux01.dbf',
'/u01/oracle/obsdata/ibyd01.dbf',
'/u01/oracle/obsdata/ibyx01.dbf',
'/u01/oracle/obsdata/icxd01.dbf',
'/u01/oracle/obsdata/icxx01.dbf',
'/u01/oracle/obsdata/iebd01.dbf',
'/u01/oracle/obsdata/iebx01.dbf',
'/u01/oracle/obsdata/iemd01.dbf',
'/u01/oracle/obsdata/iemx01.dbf',
'/u01/oracle/obsdata/ieod01.dbf',
'/u01/oracle/obsdata/ieox01.dbf',
'/u01/oracle/obsdata/iesd01.dbf',
'/u01/oracle/obsdata/iesx01.dbf',
'/u01/oracle/obsdata/ieud01.dbf',
'/u01/oracle/obsdata/ieux01.dbf',
'/u01/oracle/obsdata/iexd01.dbf',
'/u01/oracle/obsdata/iexx01.dbf',
'/u01/oracle/obsdata/igcd01.dbf',
'/u01/oracle/obsdata/igcx01.dbf',
'/u01/oracle/obsdata/igfd01.dbf',
'/u01/oracle/obsdata/igfx01.dbf',
'/u01/oracle/obsdata/igsd01.dbf',
'/u01/oracle/obsdata/igsx01.dbf',
'/u01/oracle/obsdata/igwd01.dbf',
'/u01/oracle/obsdata/igwx01.dbf',
'/u01/oracle/obsdata/invd01.dbf',
'/u01/oracle/obsdata/invx01.dbf',
'/u01/oracle/obsdata/ipad01.dbf',
'/u01/oracle/obsdata/ipax01.dbf',
'/u01/oracle/obsdata/iscd01.dbf',
'/u01/oracle/obsdata/iscx01.dbf',
'/u01/oracle/obsdata/jad01.dbf',
'/u01/oracle/obsdata/jax01.dbf',
'/u01/oracle/obsdata/jed01.dbf',
'/u01/oracle/obsdata/jex01.dbf',
'/u01/oracle/obsdata/jgd01.dbf',
'/u01/oracle/obsdata/jgx01.dbf',
'/u01/oracle/obsdata/jld01.dbf',
'/u01/oracle/obsdata/jlx01.dbf',
'/u01/oracle/obsdata/jtfd01.dbf',
'/u01/oracle/obsdata/jtfx01.dbf',
'/u01/oracle/obsdata/med01.dbf',
'/u01/oracle/obsdata/mex01.dbf',
'/u01/oracle/obsdata/mfgd01.dbf',
'/u01/oracle/obsdata/mfgx01.dbf',
'/u01/oracle/obsdata/mrpd01.dbf',
'/u01/oracle/obsdata/mrpx01.dbf',
'/u01/oracle/obsdata/mscd01.dbf',
'/u01/oracle/obsdata/mscx01.dbf',
'/u01/oracle/obsdata/msdd01.dbf',
'/u01/oracle/obsdata/msdx01.dbf',
'/u01/oracle/obsdata/msod01.dbf',
'/u01/oracle/obsdata/msox01.dbf',
'/u01/oracle/obsdata/mwad01.dbf',
'/u01/oracle/obsdata/mwax01.dbf',
'/u01/oracle/obsdata/oed01.dbf',
'/u01/oracle/obsdata/oex01.dbf',
'/u01/oracle/obsdata/okcd01.dbf',
'/u01/oracle/obsdata/okcx01.dbf',
'/u01/oracle/obsdata/oked01.dbf',
'/u01/oracle/obsdata/okex01.dbf',
'/u01/oracle/obsdata/oksd01.dbf',
'/u01/oracle/obsdata/oksx01.dbf',
'/u01/oracle/obsdata/okxd01.dbf',
'/u01/oracle/obsdata/okxx01.dbf',
'/u01/oracle/obsdata/ontd01.dbf',
'/u01/oracle/obsdata/ontx01.dbf',
'/u01/oracle/obsdata/opid01.dbf',
'/u01/oracle/obsdata/opix01.dbf',
'/u01/oracle/obsdata/osmd01.dbf',
'/u01/oracle/obsdata/osmx01.dbf',
'/u01/oracle/obsdata/otad01.dbf',
'/u01/oracle/obsdata/otax01.dbf',
'/u01/oracle/obsdata/ozfd01.dbf',
'/u01/oracle/obsdata/ozfx01.dbf',
'/u01/oracle/obsdata/ozpd01.dbf',
'/u01/oracle/obsdata/ozpx01.dbf',
'/u01/oracle/obsdata/ozsd01.dbf',
'/u01/oracle/obsdata/ozsx01.dbf',
'/u01/oracle/obsdata/pad01.dbf',
'/u01/oracle/obsdata/pax01.dbf',
'/u01/oracle/obsdata/pjmd01.dbf',
'/u01/oracle/obsdata/pjmx01.dbf',
'/u01/oracle/obsdata/pmid01.dbf',
'/u01/oracle/obsdata/pmix01.dbf',
'/u01/oracle/obsdata/pnd01.dbf',
'/u01/oracle/obsdata/pnx01.dbf',
'/u01/oracle/obsdata/pod01.dbf',
'/u01/oracle/obsdata/pox01.dbf',
'/u01/oracle/obsdata/poad01.dbf',
'/u01/oracle/obsdata/poax01.dbf',
'/u01/oracle/obsdata/pomd01.dbf',
'/u01/oracle/obsdata/pomx01.dbf',
'/u01/oracle/obsdata/psad01.dbf',
'/u01/oracle/obsdata/psax01.dbf',
'/u01/oracle/obsdata/psbd01.dbf',
'/u01/oracle/obsdata/psbx01.dbf',
'/u01/oracle/obsdata/pspd01.dbf',
'/u01/oracle/obsdata/pspx01.dbf',
'/u01/oracle/obsdata/qad01.dbf',
'/u01/oracle/obsdata/qax01.dbf',
'/u01/oracle/obsdata/qpd01.dbf',
'/u01/oracle/obsdata/qpx01.dbf',
'/u01/oracle/obsdata/rgd01.dbf',
'/u01/oracle/obsdata/rgx01.dbf',
'/u01/oracle/obsdata/rhxd01.dbf',
'/u01/oracle/obsdata/rhxx01.dbf',
'/u01/oracle/obsdata/rlad01.dbf',
'/u01/oracle/obsdata/rlax01.dbf',
'/u01/oracle/obsdata/rlmd01.dbf',
'/u01/oracle/obsdata/rlmx01.dbf',
'/u01/oracle/obsdata/sspd01.dbf',
'/u01/oracle/obsdata/sspx01.dbf',
'/u01/oracle/obsdata/vead01.dbf',
'/u01/oracle/obsdata/veax01.dbf',
'/u01/oracle/obsdata/vehd01.dbf',
'/u01/oracle/obsdata/vehx01.dbf',
'/u01/oracle/obsdata/wipd01.dbf',
'/u01/oracle/obsdata/wipx01.dbf',
'/u01/oracle/obsdata/wmsd01.dbf',
'/u01/oracle/obsdata/wmsx01.dbf',
'/u01/oracle/obsdata/wpsd01.dbf',
'/u01/oracle/obsdata/wpsx01.dbf',
'/u01/oracle/obsdata/wshd01.dbf',
'/u01/oracle/obsdata/wshx01.dbf',
'/u01/oracle/obsdata/wsmd01.dbf',
'/u01/oracle/obsdata/wsmx01.dbf',
'/u01/oracle/obsdata/xdpd01.dbf',
'/u01/oracle/obsdata/xdpx01.dbf',
'/u01/oracle/obsdata/xlad01.dbf',
'/u01/oracle/obsdata/xlax01.dbf',
'/u01/oracle/obsdata/xncd01.dbf',
'/u01/oracle/obsdata/xncx01.dbf',
'/u01/oracle/obsdata/xnmd01.dbf',
'/u01/oracle/obsdata/xnmx01.dbf',
'/u01/oracle/obsdata/xnpd01.dbf',
'/u01/oracle/obsdata/xnpx01.dbf',
'/u01/oracle/obsdata/xnsd01.dbf',
'/u01/oracle/obsdata/xnsx01.dbf',
'/u01/oracle/obsdata/xtrd01.dbf',
'/u01/oracle/obsdata/xtrx01.dbf',
'/u01/oracle/obsdata/applsysd02.dbf',
'/u01/oracle/obsdata/applsysx02.dbf',
'/u01/oracle/obsdata/asld01.dbf',
'/u01/oracle/obsdata/aslx01.dbf',
'/u01/oracle/obsdata/pvd01.dbf',
'/u01/oracle/obsdata/pvx01.dbf',
'/u01/oracle/obsdata/system06.dbf',
'/u01/oracle/obsdata/itgd01.dbf',
'/u01/oracle/obsdata/itgx01.dbf',
'/u01/oracle/obsdata/ipdd01.dbf',
'/u01/oracle/obsdata/ipdx01.dbf',
'/u01/oracle/obsdata/eamd01.dbf',
'/u01/oracle/obsdata/eamx01.dbf',
'/u01/oracle/obsdata/enid01.dbf',
'/u01/oracle/obsdata/enix01.dbf',
'/u01/oracle/obsdata/okrd01.dbf',
'/u01/oracle/obsdata/okrx01.dbf',
'/u01/oracle/obsdata/cued01.dbf',
'/u01/oracle/obsdata/cuex01.dbf',
'/u01/oracle/obsdata/fted01.dbf',
'/u01/oracle/obsdata/ftex01.dbf',
'/u01/oracle/obsdata/msrd01.dbf',
'/u01/oracle/obsdata/msrx01.dbf',
'/u01/oracle/obsdata/igid01.dbf',
'/u01/oracle/obsdata/igix01.dbf',
'/u01/oracle/obsdata/portal01.dbf',
'/u01/oracle/obsdata/ahld01.dbf',
'/u01/oracle/obsdata/ahlx01.dbf',
'/u01/oracle/obsdata/ahmd01.dbf',
'/u01/oracle/obsdata/ahmx01.dbf',
'/u01/oracle/obsdata/aspd01.dbf',
'/u01/oracle/obsdata/aspx01.dbf',
'/u01/oracle/obsdata/bivd01.dbf',
'/u01/oracle/obsdata/bivx01.dbf',
'/u01/oracle/obsdata/csed01.dbf',
'/u01/oracle/obsdata/csex01.dbf',
'/u01/oracle/obsdata/csid01.dbf',
'/u01/oracle/obsdata/csix01.dbf',
'/u01/oracle/obsdata/csld01.dbf',
'/u01/oracle/obsdata/cslx01.dbf',
'/u01/oracle/obsdata/cugd01.dbf',
'/u01/oracle/obsdata/cugx01.dbf',
'/u01/oracle/obsdata/iecd01.dbf',
'/u01/oracle/obsdata/iecx01.dbf',
'/u01/oracle/obsdata/imcd01.dbf',
'/u01/oracle/obsdata/imcx01.dbf',
'/u01/oracle/obsdata/imtd01.dbf',
'/u01/oracle/obsdata/imtx01.dbf',
'/u01/oracle/obsdata/jtmd01.dbf',
'/u01/oracle/obsdata/jtmx01.dbf',
'/u01/oracle/obsdata/jtsd01.dbf',
'/u01/oracle/obsdata/jtsx01.dbf',
'/u01/oracle/obsdata/okbd01.dbf',
'/u01/oracle/obsdata/okbx01.dbf',
'/u01/oracle/obsdata/okid01.dbf',
'/u01/oracle/obsdata/okix01.dbf',
'/u01/oracle/obsdata/okod01.dbf',
'/u01/oracle/obsdata/okox01.dbf',
'/u01/oracle/obsdata/posd01.dbf',
'/u01/oracle/obsdata/posx01.dbf',
'/u01/oracle/obsdata/xnid01.dbf',
'/u01/oracle/obsdata/xnix01.dbf',
'/u01/oracle/obsdata/system07.dbf',
'/u01/oracle/obsdata/system08.dbf',
'/u01/oracle/obsdata/system09.dbf',
'/u01/oracle/obsdata/rbs02.dbf',
'/u01/oracle/obsdata/amfd01.dbf',
'/u01/oracle/obsdata/amfx01.dbf',
'/u01/oracle/obsdata/bned01.dbf',
'/u01/oracle/obsdata/bnex01.dbf',
'/u01/oracle/obsdata/csmd01.dbf',
'/u01/oracle/obsdata/csmx01.dbf',
'/u01/oracle/obsdata/dddd01.dbf',
'/u01/oracle/obsdata/dddx01.dbf',
'/u01/oracle/obsdata/domd01.dbf',
'/u01/oracle/obsdata/domx01.dbf',
'/u01/oracle/obsdata/egod01.dbf',
'/u01/oracle/obsdata/egox01.dbf',
'/u01/oracle/obsdata/ibcd01.dbf',
'/u01/oracle/obsdata/ibcx01.dbf',
'/u01/oracle/obsdata/okld01.dbf',
'/u01/oracle/obsdata/oklx01.dbf',
'/u01/oracle/obsdata/pjid01.dbf',
'/u01/oracle/obsdata/pjix01.dbf',
'/u01/oracle/obsdata/pond01.dbf',
'/u01/oracle/obsdata/ponx01.dbf',
'/u01/oracle/obsdata/qotd01.dbf',
'/u01/oracle/obsdata/qotx01.dbf',
'/u01/oracle/obsdata/qrmd01.dbf',
'/u01/oracle/obsdata/qrmx01.dbf',
'/u01/oracle/obsdata/discoverer01.dbf',
'/u01/oracle/obsdata/cinvd01.dbf',
'/u01/oracle/obsdata/cinvx01.dbf',
'/u01/oracle/obsdata/cpod01.dbf',
'/u01/oracle/obsdata/cpox01.dbf',
'/u01/oracle/obsdata/capd01.dbf',
'/u01/oracle/obsdata/capx01.dbf',
'/u01/oracle/obsdata/card01.dbf',
'/u01/oracle/obsdata/carx01.dbf',
'/u01/oracle/obsdata/cqcd01.dbf',
'/u01/oracle/obsdata/cqcx01.dbf',
'/u01/oracle/obsdata/cfndd01.dbf',
'/u01/oracle/obsdata/cfndx01.dbf',
'/u01/oracle/obsdata/cgld01.dbf',
'/u01/oracle/obsdata/cglx01.dbf',
'/u01/oracle/obsdata/convd01.dbf',
'/u01/oracle/obsdata/applsysd03.dbf',
'/u01/oracle/obsdata/applsysx03.dbf',
'/u01/oracle/obsdata/cwpld01.dbf',
'/u01/oracle/obsdata/cwplx01.dbf',
'/u01/oracle/obsdata/csyd01.dbf',
'/u01/oracle/obsdata/csyx01.dbf',
'/u01/oracle/obsdata/cpod02.dbf',
'/u01/oracle/obsdata/csyd02.dbf'
CHARACTER SET UTF8
ALTER DATABASE OPEN RESETLOGS;
DROP tablespace TEMP;
DROP tablespace TEMPSYN;
CREATE temporary tablespace TEMP TEMPFILE '/u01/oracle/obsdata/temp01.dbf'
SIZE 1048576000 REUSE extent management local uniform size 128K;
CREATE temporary tablespace TEMPSYN TEMPFILE '/u01/oracle/obsdata/tempsyn01.dbf'
SIZE 1048576000 REUSE extent management local uniform size 128K;
Edited by: amychan60 on Jun 17, 2009 9:30 PM
Maybe you are looking for
-
ITunes crashed while downloading purchased music
I bought some songs from iTunes and it crashed while I was downloading. It seems that the crash happened while I was downloading the first song so I was not able to download any of the songs I bought. Is there a way to re-download these songs? Or is
-
Every time I want to sync my iphone to itunes I have to uninstall and reinstall itunes on my pc. It will only ever find the phone once, then I need to go through this all over again. How can I solve this?
-
Unified Mobility, no audio on Send call to Mobile Phone
I'm using UCM 9.1 with Unified Mobility (xfer to alternate number) with good success if I follow a typical call flow: Inbound call -> Ext -> Rings deskphone x seconds -> Rings mobile phone -> Answer mobile phone -> hangup -> Resume call on desk phone
-
Am I doing this wrong? Pixs
Hello to the mac family, I'm back with another question. I bought my wife an I-pod Nano along with my new I-mac. I am not sure what generation it is but is about 3 weeks old. I am very new to X (9,2 user) so please be kind. I put some sings in I-tune
-
Bundle suntheme not found in webui.suntheme.theme???
Hi All, I am in process of migrating an existing project from JSF 1.1 to JSF 1.2 I am stuck at this javascirpt error : Error: uncaught exception: Error: Bundle not found: suntheme in webui.suntheme.theme , locale=en-usand Error: webui.suntheme.widget