Getting Error ORA-00604 While Creating View from front Ent
Hello All,
I am getting ORA-00604 while creating view from the front end. And some time I get Maximum cursor open, It is ok amy be I am opening cursors in while loop. While ORA-00604 is giving lots of truble to me. In help it said to contact Oracle service, I dont know how to do that. Help me.
Please post your view definition including the complete error_message and also the relevant parts of your code with the while loop.
Similar Messages
-
Error ORA-02070: while creating view - Help Needed.
ISSUE:
~~~~~
When i am creating the view for the below SQL script I am getting the error as
==>ORA-02070:DATABASE DOES NOT SUPPORT OPERATOR NLS_CHARSET_DECL_LEN in this context <==
Sql script
~~~~~~~
create or replace view test11 as
WITH x AS
(SELECT column_name,
DECODE (column_id, 7,to_char(eff_to_dt,'MMDDRRRR'),
8,active_flg,
9,nm_long,
10,nm_short,
11,rplcmnt_bu_id,
12,pc_cc_cd,
13,tax_cd,
14,bu_type_cd,
15,ledger_cd) COL_VAL_NEW,
'' COL_VAL_OLD,
fre_id,
bu_id,
eff_from_dt,
rec_eff_from_dt,
rec_type
FROM BUSINESS m, all_tab_columns u
WHERE table_name = 'BUSINESS'
AND column_name in ('EFF_TO_DT'
,'ACTIVE_FLG'
,'NM_LONG'
,'NM_SHORT'
,'RPLCMNT_BU_ID'
,'PC_CC_CD'
,'TAX_CD'
,'BU_TYPE_CD'
,'LEDGER_CD')
AND rec_type ='A'
ORDER BY rec_eff_from_dt
y as
(SELECT column_name,
DECODE (column_id, 7,to_char(eff_to_dt,'MMDDRRRR'),
8,active_flg,
9,nm_long,
10,nm_short,
11,rplcmnt_bu_id,
12,pc_cc_cd,
13,tax_cd,
14,bu_type_cd,
15,ledger_cd) COL_VAL_NEW,
'' COL_VAL_OLD,
fre_id,
bu_id,
eff_from_dt,
rec_eff_from_dt,
rec_type
FROM BUSINESS m, all_tab_columns u
WHERE table_name = 'BUSINESS'
AND column_name in ('EFF_TO_DT'
,'ACTIVE_FLG'
,'NM_LONG'
,'NM_SHORT'
,'RPLCMNT_BU_ID'
,'PC_CC_CD'
,'TAX_CD'
,'BU_TYPE_CD'
,'LEDGER_CD')
AND rec_type <> 'A'
ORDER BY rec_eff_from_dt
a as (select y.column_name,
y.col_val_new,
x.col_val_new col_val_old,
y.fre_id,
y.bu_id,
y.eff_from_dt,
min(y.rec_eff_from_dt),
y.rec_type
from y, x
where (y.fre_id = x.fre_id and y.bu_id = x.bu_id and y.eff_from_dt = x.eff_from_dt and y.column_name = x.column_name
and nvl(y.col_val_new,'^') <> nvl(x.col_val_new,'~') and y.rec_type ='C')
group by y.column_name,
y.col_val_new,
x.col_val_new,
y.fre_id,
y.bu_id,
y.eff_from_dt,
y.rec_type)
select * from a
union all
select y.column_name,
y.col_val_new,
x.col_val_new,
y.fre_id,
y.bu_id,
y.eff_from_dt,
min(y.rec_eff_from_dt),
y.rec_type
from y, x
where (y.fre_id = x.fre_id and y.bu_id = x.bu_id and y.eff_from_dt = x.eff_from_dt and y.column_name = x.column_name
and y.col_val_new = x.col_val_new and y.rec_type ='D')
group by y.column_name,
y.col_val_new,
x.col_val_new,
y.fre_id,
y.bu_id,
y.eff_from_dt,
y.rec_type
union all
SELECT column_name,
DECODE (column_id, 7,to_char(eff_to_dt,'MMDDRRRR'),
8,active_flg,
9,nm_long,
10,nm_short,
11,rplcmnt_bu_id,
12,pc_cc_cd,
13,tax_cd,
14,bu_type_cd,
15,ledger_cd) COL_VAL_NEW,
'' COL_VAL_OLD,
fre_id,
bu_id,
eff_from_dt,
rec_eff_from_dt,
rec_type
FROM BUSINESS m, all_tab_columns u
WHERE table_name = 'BUSINESS'
AND column_name in ('EFF_TO_DT'
,'ACTIVE_FLG'
,'NM_LONG'
,'NM_SHORT'
,'RPLCMNT_BU_ID'
,'PC_CC_CD'
,'TAX_CD'
,'BU_TYPE_CD'
,'LEDGER_CD')
AND rec_type ='A'
The sql script is nothing but to compare the record to get the attribute level changes.
Please help me out why the error is being caused.
Thanks in advance.Is one of the used table/view referencing a non-Oracle database with a database link ?
ORA-02070: database [i]stringstring does not support string in this context
Cause: The remote database does not support the named capability in the context in which it is used.
Action: Simplify the SQL statement. -
Error has come while creating USER from SU01
Dear Expert,
I have got typical error while creating user from T-Code SU01.
Problem is like that : I suppose to use SU01 and "User Maintanace: Initial Screen
has come. Now I put the new user name like ABAP2008 or FI2008 (what ever the name thats hardly matter) and click on CREAT button then next screen Maintain User has been appeared.In this screen Address TAB is on and asking for fillup all the required user information.So I have been made all information like :First name /Last name /Tele ph/Fax / email etc etc. After complete this tab when I clicked on next tab is called "LOGON DATA, it has been given a error "Specify a valid country indicator
Message no. T5027" . Even thogh I didn't able to go to next screen LOGON DATA.Because of these problem I doesn't able to creat a user.
SAP : IDES version ECC 6
DB:SQL2005
OS: Windows 2003 server
Please do the needfull
Thanks & Regards
PavelHey Pavel,
Are you using ECC with ISU.. ? I am not sure but I feel your issue can be solved with information provided in SAPnote,
Note 1046566 - EC70: address-independent telephone number no country.
The system does not transfer any country from the master data template with the address-independent telephone number. The system issues the warning message T5027 "Specify a valid country indicator".
All the best ! -
Error: ORA-02298 while creating a new app at DRM 11.1.2.3.300
Hi All,
There's something weird happening when I try to create a new DRM app at DRM Management Console. After provide all information about database connection and admin long on i am getting the following error during the repository creation :
Creating Repository ... Done.
Creating Tables ... Done.
Creating Views ... Done.
Creating Stored Procedures ... Done.
Creating Indexes ... Done.
Creating Primary Keys ... Done.
Initializing schema with predefined data ...
Database creation failed with this error: ORA-02298: cannot validate (EPM_DRM_DB.FK_CATUSER02) - parent keys not found
It is a fresh install and I don't know why I am having this error. Did someone had this issue too ? How to solve that ?
Thanks in advance...To whom it may concern.....
This issue was related to privileges in database. I've generated the scripts and ran with system user and it worked.
Case closed. -
Error ORA-10980 while creating MV
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 21 11:43:02 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
CREATE MATERIALIZED VIEW ebOrganizationStructure AS
SELECT DEPT.DeptStructureString Structure,
DEPT.DeptShortName DeptCode,
DEPT.DeptName DeptDesc,
NULL DivCode,
NULL DivDesc,
NULL GrpCode,
NULL GrpDesc,
NULL SecCode,
NULL SecDesc,
NULL SSecCode,
NULL SSecDesc
FROM erDepartment DEPT
UNION
SELECT DivStructureString Structure,
DEPT.DeptShortName DeptCode,
DEPT.DeptName DeptDesc,
DIV.DivShortName DivCode,
DIV.DivName DivDesc,
NULL GrpCode,
NULL GrpDesc,
NULL SecCode,
NULL SecDesc,
NULL SSecCode,
NULL SSecDesc
FROM erDepartment DEPT,
erDivision DIV ,
erOrgUnit_Orgunit OGU_OGU1
WHERE OGU_OGU1.OguEntId2 = DIV.EntId
AND OGU_OGU1.OguEntDomId2 = DIV.EntDomId
AND DEPT.EntId = OGU_OGU1.OguEntId1
AND DEPT.EntDomId = OGU_OGU1.OguEntDomId1
UNION
SELECT GRP.GrpStructureString Structure,
DEPT.DeptShortName DeptCode,
DEPT.DeptName DeptDesc,
DIV.DivShortName DivCode,
DIV.DivName DivDesc,
GRP.GrpShortName GrpCode,
GRP.GrpName GrpDesc,
NULL SecCode,
NULL SecDesc,
NULL SSecCode,
NULL SSecDesc
FROM erDepartment DEPT,
erDivision DIV ,
erGroup GRP,
erOrgUnit_Orgunit OGU_OGU1,
erOrgUnit_Orgunit OGU_OGU2
WHERE OGU_OGU1.OguEntId2 = GRP.EntId
AND OGU_OGU1.OguEntDomId2 = GRP.EntDomId
AND DIV.EntId = OGU_OGU1.OguEntId1
AND DIV.EntDomId = OGU_OGU1.OguEntDomId1
AND OGU_OGU2.OguEntId2 = DIV.EntId
AND OGU_OGU2.OguEntDomId2 = DIV.EntDomId
AND DEPT.EntId = OGU_OGU2.OguEntId1
AND DEPT.EntDomId = OGU_OGU2.OguEntDomId1
UNION
SELECT SEC.SecStructureString Structure,
DEPT.DeptShortName DeptCode,
DEPT.DeptName DeptDesc,
DIV.DivShortName DivCode,
DIV.DivName DivDesc,
GRP.GrpShortName GrpCode,
GRP.GrpName GrpDesc,
SEC.SecShortName SecCode,
SEC.SecName SecDesc,
NULL SSecCode,
NULL SSecDesc
FROM erDepartment DEPT,
erDivision DIV ,
erGroup GRP,
erSection SEC,
erOrgUnit_Orgunit OGU_OGU1,
erOrgUnit_Orgunit OGU_OGU2,
erOrgUnit_Orgunit OGU_OGU3
WHERE OGU_OGU1.OguEntId2 = SEC.EntId
AND OGU_OGU1.OguEntDomId2 = SEC.EntDomId
AND GRP.EntId = OGU_OGU1.OguEntId1
AND GRP.EntDomId = OGU_OGU1.OguEntDomId1
AND OGU_OGU2.OguEntId2 = GRP.EntId
AND OGU_OGU2.OguEntDomId2 = GRP.EntDomId
AND DIV.EntId = OGU_OGU2.OguEntId1
AND DIV.EntDomId = OGU_OGU2.OguEntDomId1
AND OGU_OGU3.OguEntId2 = DIV.EntId
AND OGU_OGU3.OguEntDomId2 = DIV.EntDomId
AND DEPT.EntId = OGU_OGU3.OguEntId1
AND DEPT.EntDomId = OGU_OGU3.OguEntDomId1
UNION
SELECT SSEC.SubSecStructureString Structure,
DEPT.DeptShortName DeptCode,
DEPT.DeptName DeptDesc,
DIV.DivShortName DivCode,
DIV.DivName DivDesc,
GRP.GrpShortName GrpCode,
GRP.GrpName GrpDesc,
SEC.SecShortName SecCode,
SEC.SecName SecDesc,
SSEC.SubSecShortName SSecCode,
SSEC.SubSecName SSecDesc
FROM erDepartment DEPT,
erDivision DIV ,
erGroup GRP,
erSection SEC,
erSubSection SSEC,
erOrgUnit_Orgunit OGU_OGU1,
erOrgUnit_Orgunit OGU_OGU2,
erOrgUnit_Orgunit OGU_OGU3,
erOrgUnit_Orgunit OGU_OGU4
WHERE OGU_OGU1.OguEntId2 = SSEC.EntId
AND OGU_OGU1.OguEntDomId2 = SSEC.EntDomId
AND SEC.EntId = OGU_OGU1.OguEntId1
AND SEC.EntDomId = OGU_OGU1.OguEntDomId1
AND OGU_OGU2.OguEntId2 = SEC.EntId
AND OGU_OGU2.OguEntDomId2 = SEC.EntDomId
AND GRP.EntId = OGU_OGU2.OguEntId1
AND GRP.EntDomId = OGU_OGU2.OguEntDomId1
AND OGU_OGU3.OguEntId2 = GRP.EntId
AND OGU_OGU3.OguEntDomId2 = GRP.EntDomId
AND DIV.EntId = OGU_OGU3.OguEntId1
AND DIV.EntDomId = OGU_OGU3.OguEntDomId1
AND OGU_OGU4.OguEntId2 = DIV.EntId
AND OGU_OGU4.OguEntDomId2 = DIV.EntDomId
AND DEPT.EntId = OGU_OGU4.OguEntId1
AND DEPT.EntDomId = OGU_OGU4.OguEntDomId1
Trace file showing error ORA-10980. MV hangs forever and never compiles. If I execute the query it comes up with correct results.
Thanks
RajeshI've seen MVs on 10g to be a bit tempermental. What happens if you build the MV but defer population and populate it as a second step?
-
Error ORA-01779 while updating view
I am using oracle 9i version is 9.2.0.1.0, While updating i am getting error,which i mention below.
ORA-01779:cannot modify a column which maps to a non key-preserved table
In this view there is no any group function.
Help me please.ORA-01779:
cannot modify a column which maps to a non key-preserved table
Cause: An attempt was made to insert or update columns of a join view which map to a non-key-preserved table.
Action: Modify the underlying base tables directly. -
Getting error ORA-00604: error occurred at recursive SQL level 1
Folks getting this error while executing dbms-stats , before to start upgrade to 11g
any help would be appreciated
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> EXEC DBMS_STATS.GATHER_DICTIONARY_STATS;
BEGIN DBMS_STATS.GATHER_DICTIONARY_STATS; END;
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01426: numeric overflow
ORA-06512: at "SYS.DBMS_STATS", line 13336
ORA-06512: at "SYS.DBMS_STATS", line 13643
ORA-06512: at "SYS.DBMS_STATS", line 15985
ORA-06512: at "SYS.DBMS_STATS", line 16027
ORA-06512: at line 1Have you tried to pass the parameters like for example:
begin
DBMS_STATS.GATHER_DATABASE_STATS (
estimate_percent =>100,
block_sample=>FALSE,
method_opt=>'for all columns size auto',
degree=>null,
cascade=>true,
no_invalidate=>false,
options=>'GATHER STALE',
gather_sys=>FALSE);
end;
/http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#i1049486 -
Error ORA-02019: while selecting table from oracle10g to SQL Server 2005
Hi all,
our oracle 10g database is on AIX 5.2 and i configures heterogeneous service and install oracle 10g cleint on windows 2003 server where SQL Server reside . i configured the following things but i got the error ORA-02019. please help me its very urgent. quick response will higly appreciated. thanks alot in advance.
1)create Sytem DSN (mysqlserver) by selectin SQL Native cleint
2)copy the existing entry and paste it in listener.ora file and edit it as below
LISTENERMYSQLSERVERDSN =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST= hostname of oracle database)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_ =
(SID_LIST=
(SID_DESC=
(SID_NAME= mysqlserver)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM=hsodbc)
$lsnrctl status LISTENERMYSQLSERVERDSN
It is working fine
3) configure TNAMES.ora
mysqlserver =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 100.100.50.5)
(PORT = 1521)
(CONNECT_DATA =
(SID = mysqlserver)
(HS = OK)
c:>tnsping mysqlserver
it is workin fine
4)copy inithsodbc.ora and make it initmysqlserver.ora
HS_FDS_CONNECT_INFO = mysqlserver
HS_FDS_TRACE_LEVEL = off
4)create the database link
sql>create database link mysqlserver
connect to "sa" identified by "nsp@123" using 'mysqlserver';
when i selecting SQL Server object from oracle i got below error
SQL> select * from NSP_products@mysqlserver;
select * from NSP_products@mysqlserver
ERROR at line 1:
ORA-02019: connection description for remote database not found
pLease help me its very urgent.
BEST REGARDHi all,
our oracle 10g database is on AIX 5.2 and i configures heterogeneous service and install oracle 10g cleint on windows 2003 server where SQL Server reside . i configured the following things but i got the error ORA-02019. please help me its very urgent. quick response will higly appreciated. thanks alot in advance.
1)create Sytem DSN (mysqlserver) by selectin SQL Native cleint
2)copy the existing entry and paste it in listener.ora file and edit it as below
LISTENERMYSQLSERVERDSN =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST= hostname of oracle database)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_ =
(SID_LIST=
(SID_DESC=
(SID_NAME= mysqlserver)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM=hsodbc)
$lsnrctl status LISTENERMYSQLSERVERDSN
It is working fine
3) configure TNAMES.ora
mysqlserver =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 100.100.50.5)
(PORT = 1521)
(CONNECT_DATA =
(SID = mysqlserver)
(HS = OK)
c:>tnsping mysqlserver
it is workin fine
4)copy inithsodbc.ora and make it initmysqlserver.ora
HS_FDS_CONNECT_INFO = mysqlserver
HS_FDS_TRACE_LEVEL = off
4)create the database link
sql>create database link mysqlserver
connect to "sa" identified by "nsp@123" using 'mysqlserver';
when i selecting SQL Server object from oracle i got below error
SQL> select * from NSP_products@mysqlserver;
select * from NSP_products@mysqlserver
ERROR at line 1:
ORA-02019: connection description for remote database not found
pLease help me its very urgent.
BEST REGARD -
Getting error ORA-12705, while connecting through Sql*Plus?
Hi TOM,
While connecting ORACLE Database through Sql*Plus / via through Application. We getting error called "Error while trying to retrieve text for error ORA-12705".
How to re-solve this one?
Thanks & Regards,
Senthil K Kumar.Maran,
check the registry NLS_LANG in the registry rename it as suggested by burleson and add a new entryCurrently, it was more suggested by Maxim ;-)
Nicolas. -
Error ora-12028 while creating a read-only snapshot
Hi !
I'm in trouble creating a read-only snapshot of a simple table.
The Master table belongs to an ORACLE 7.3.4 database instance, while the snapshot site belongs to an ORACLE 8.1 database. The read-only snapshot should have a refresh type FAST, but while I'm running the CREATE SNAPSHOT statement in the snapshot site I receive the following message:
"ORA-12028 snapshot type is not supported by master site string
Cause: Pre-Oracle master sites are not able to support primary key or
subquery snapshots that are able to perform a fast refresh.
Action: Create a ROWID snapshot or use a master table from an Oracle8 site. "
This message doesn't help me enough. Is there anyone who can give me an advice ?
Thanks you all.
LauraWell laura earlier version doesn't support snap shot based on primary key
u should disable primary key constraint from master site
and create snap shot on the basis of row id.
for further detail mail me at [email protected] -
Getting error when trying to create pdf from Word
How do I resolve this problem. When I try to creat a PDF from a Word file, I get an error saying that "pdfmaker is missing files"?
Start by opening word and printing the file to the Adobe PDF printer. Other than that, there is a lot of info missing in your post that is needed to answer. What version of WORD (32 or 64 bit), OS (32 or 64 bit), and version of Acrobat. It is likely that you have a combination that is not compatible for PDF maker. If so, your only choice will be the printer route.
-
Error while creating datasource from view ZBSIS_VIEW
Hi all,
I could not create the datasource on the database table BSIS as it said "Invalid extract structure template BSIS of Datasource". I had suggestions that I should create a view and then create the Datasource on it. So I created the view and tried. But still I am facing an error message while creating datasource from custom Database View ZBSIS_VIEW.
"Invalid extract structure template ZBSIS_VIEW of DataSource"
Can anyone help on this regard.
thanks.Hi,
Yes. You need a create a view on tables BSIS, BKPF and T001 as the currency/quantity fields in BSIS have reference fields from the other 2 tables.
In BSIS, in the currency/quantity fields tab, you have some ref tables and fields. You would need to include these tables and join in the view. You would also need to include the ref fields like WAERS, HWAE2, HWAE3, etc in the view. Then you would be able to create the datasource. -
ORA-12571 error while creating packages from Windows clients
Hello,
We are facing the ORA-12571 error while creating / replacing packages from Windows Clients connected to a 8.1.7.2.0 db on a Solaris server.
However, there are
1. no errors in connecting and creating transactions from a Sql session
2. no errors in creating / replacing unwrapped/wrapped small (few lines) packages
3. no errors in connecting from a Unix session (remote telnet sessions inclusive).
This happens only when creating wrapped/unwrapped packages, source code of which is greater than 500 kb approx.
Can somebody help me resolve this issue. Any Help would be greatly appreciated.
Regards.
Lakshmanan, KUpdate: I had unintentionally left my custom tablespace in READONLY state after an earlier experiment with transportable tablespaces. After putting the tablespace back into READ WRITE mode and creating a new template, I was successfully able to create a new db from the template.
I'm still a little curious why this procedure wouldn't work properly with a READONLY tablespace, however.
Ben -
Error while creating subsite from site template
Hi,
I am getting below error while creating subsite from existing site template .
Sachin BhosaleThere must be a duplicate Email field created in any list/library. The cause can be identified by renaming the site template to sitename.cab > extact the cab file > open the manifest file search for email and see where it is associated. Refer
to the following blog post for more information
http://sharepointserved.blogspot.com/2012/11/a-duplicate-name-was-found.html
http://sharepoint.stackexchange.com/questions/11944/error-when-creating-a-site-from-custom-template-a-duplicate-field-name-name
Cheers, -
Error while creating DTP from DS to Infoobject
Dear All,
I am getting one error while creating DTP from Datasource to Info object can any one give some suggetion regarding this issue.
Issue:Enter a valid value
Msg No:00002
Procedure: Display the allowed values withF4 and correct your entry,
Regards,
SatyaHi Satya,
Trying logging off the system and log in again and try to activate Data source Infoobject and transformation again and try creating DTP by selecting Selecting the source system by pressing F4. I hope it should work.
I don't find any specific problem or any patch problem with the error you are getting.
Hope it helps !
Regards,
Rose.
Maybe you are looking for
-
I just installed PSE8 for Mac running OSX 10.5.8. When I click on PSE I get an error message "There was an error opening this document. The file is damaged and could not be repaired". I'm not trying to open any documents, just the program. When I
-
HT1338 can I update OS X 10.5.8 to Mountain Lion?
C Is it possible to update my 24" imac opperating system to the latest operating system? I'm running OS x 10.5.8. Can I upgrade to Mountain Lion?
-
IChat will not let me use Return/Enter key to send IM. Just makes sound?
OS 10.5.2. iChar launches fine. I double click name I want to send IM to. Type a message, then hit Return to send the message. It will not send. I here system sound when I use Return or Enter key on 2nd or 3rd attempts. 1st attempt, no sound. So, I c
-
So I just noticed that after upgrading iTunes to v10.6.1(7) every single older protected AAC files QUITS playing after a certain number of seconds. The exact time interval depends on the album, but without fail, they all quit. I recently upgraded t
-
Unable to Determine the Change Date and Time for records in infotype 2011
Hi Everyone, We need to know on when the clock-in and clock-out records were interfaced to SAP in infotype 2011. The change date/time field in infotype 2011 is blank/not populated. Hence, we're unable to determine on when the clock-in records were up