Flash back table: error - ORA-08189
Hi friends,
I have a problem while doing flashback table.
SQL> flashback table emp to scn 688268;
flashback table emp to scn 688268
ERROR at line 1:
ORA-08189: cannot flashback the table because row movement is not enabled.
what should i do...?
First check whether the table is in system tablespace or not.. if it is enabling row movement would not help...
then if it is not then go for
alter table emp enable row movement
flashback table emp to scn 688268;
Similar Messages
-
SRKIM: Synchronize Wf Local Tables Errors: Ora-01400
PURPOSE
Synchronize Wf Local Tables 수행 시 발생한 ora-01400 error 를 해결한다.
Problem Description
Synchronize Wf Local Tables 수행 시 아래와 같은 error 가 발생하였다.
ERROR
FNDWFLSC module: Synchronize WF LOCAL tables
Current system time is 31-AUG-2005 09:39:54
**Starts**31-AUG-2005 09:39:54
**Ends**31-AUG-2005 09:40:33
ORA-12801: error signaled in parallel query server P000
ORA-01400: cannot insert NULL into
("APPLSYS"."WF_LOCAL_ROLES_STAGE"."DISPLAY_NAME")
STEPS
The issue can be reproduced at will with the following steps:
Submit the concurrent program Synchronize WF LOCAL tables.
Log file shows error.
Workaround
N/A
Solution Description
해당 error 는 per_all_people_f table 의 global_name 이 null 이기 때문에 발생하는 error 로 가장 간단하게는 아래와 같이 처리 하면 된다.
update per_all_people_f
set global_name = full_name
where global_name is null;
commit;
위의 작업 후 다시 Synchronize WF LOCAL tables process 를 수행 한다.
해당 issue 에 대한 원인은 note. 397219.1 - Why Are There NULL Values For global_name In 를 참조 하도록 한다.
Reference Documents
Note 375508.1 - Synchronize Wf Local Tables Errors: Ora-01400: CannotHi Hussein,
Thanks for reply. Please find the below details.
RELEASE_NAME
12.1.3
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
Linux **** 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
Conc Req Log file
Application Object Library: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
FNDWFLSC module: Synchronize WF LOCAL tables
Current system time is 19-JUN-2012 05:49:20
**Starts**19-JUN-2012 05:49:20
**Ends**19-JUN-2012 05:49:20
ORA-14501: object is not partitioned
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Output file size:
0
Finished executing request completion options.
Concurrent request completed
Current system time is 19-JUN-2012 05:49:20
--------------------------------------------------------------------------- -
Dbms_sql in a different schema from query table-error ** ORA-00942
Oracle Experts,
I think I am having problems with using DBMS_SQL in which the function was created in one schema and the query table was created in a different schema.
We have 2 schemas: S1, S2
We have 2 tables:
T1 in Schema S1
T2 in Schema S2
We have a function F1 created by DBA in schema S1 that uses the dbms_sql as:
CREATE OR REPLACE FUNCTION S1.F1(v1 in VARCHAR2) return NUMBER IS
cursor1 INTEGER;
BEGIN
cursor1 := dbms_sql.open_cursor;
dbms_sql.parse(cursor1, v1, dbms_sql.NATIVE);
dbms_sql.close_cursor(cursor1);
return (0);
EXCEPTION
when others then
dbms_sql.close_cursor(cursor1);
return (1) ;
END;
I am using jdeveloper 11G. We have an Oracle DB 11g.
We have a java program which uses jdbc to talk to our Oracle DB.
Basically, in my java program, I call function F1 to check if the query is valid.
If it is, it returns 0. Otherwise, returns 1:
oracle.jdbc.OracleCallableStatement cstmt = (oracle.jdbc.OracleCallableStatement) connection.prepareCall ("begin ? := S1.F1 (?); end;");
cstmt.registerOutParameter (1, java.sql.Types.INTEGER);
cstmt.setString(2, "Select * from S2.T2");
cstmt.execute ();
Since the table that I run the query is T2, created in different schema than F1 was created in, I have the error:
** ORA-00942: table or view does not exist
So my questions are these:
- I am using Oracle DB 11g, if I run the query on a table that created in a different schema from the one that the function (which uses dbms_sql) was created in, I would get the error ORA-00942?
- If I runs the query on table T1 in the same schema as the function F1, would I have the same problem(The reason I ask is I cannot create any table in schema S1 because the DBA has to do it; I am not a DBA)
- This is not a problem, but a security feature because of SQL injection?
- How to resolve this issue other than creating the table in the same schema as the function that utilizes DBMS_SQL?
Regards,
BinhDefiner rights (default) stored objects run under owner's security domain and ignore role based privileges. So regardless what user you are logged in as, function S1.F1 always executes as user S1 and ignores user S1 roles. Therefore exeuting statement within S1.F1:
Select * from S2.T2requires user S1 to have SELECT privilege on S2.T2 granted to S1 directly, not via role.
SY. -
Dear all,
10g r2 p4 on solaris
ALTER TABLE employee ENABLE ROW MOVEMENT;
FLASHBACK TABLE employee TO TIMESTAMP TO_TIMESTAMP('18-JAN-2009 18:25:58','DD-MON-YYYY HH24:MI:SS');
am getting the error
ORA-08180 no snapshot found
undo_retention integer
900
If I increase the undo retnetion parameter , can I able to retrieve the data. or data recovery is not possible ?
Please guide?
Kai
Edited by: KaiS on Jan 18, 2010 12:40 PMThanks P.Forstmann,
select begin_time, end_time, tuned_undoretention from v$undostat;
returned for the required period
BEGIN_TIME END_TIME TUNED_UNDORETENTION
01/18/2010 18:59:57 01/18/2010 19:09:57 900
01/18/2010 18:49:57 01/18/2010 18:59:57 900
01/18/2010 18:39:57 01/18/2010 18:49:57 900
01/18/2010 18:29:57 01/18/2010 18:39:57 900
Thanks
Kai -
Insert into table error - ora-01722 invalid number
Need some assistance with inserting data into a table. The date column keeps on failing to insert.
here is my insert statement
insert into tab_mod_history (TABLE_OWNER, TABLE_NAME, PARTITION_NAME, SUBPARTITION_NAME, INSERTS, UPDATES, DELETES, TIMESTAMP, TRUNCATED)
values ('$i_owner','$i_table','$i_part_name','$i_subpart_name','$i_ins','$i_upd','$i_del','$time','$trunc');Script loads data for partition tables, but not normal tables with the timestamp column
I select the data using this select statement:
select table_owner, table_name, partition_name, subpartition_name, inserts, updates, deletes, timestamp, truncated
from dba_tab_modifications
where table_owner in ('scott','MAC')
order by table_name;ok here are the errors:
values ('MAC','WC_MST','11','1','1','12/04/2011','NO','','')
ERROR at line 2:
ORA-01722: invalid number
Session altered.
values ('MAC','WF_05A','208','128','208','18/02/2011','NO','','')
ERROR at line 2:
ORA-01722: invalid numberHere is the table structure
SQL> desc tab_mod_history
Name Null? Type
TABLE_OWNER VARCHAR2(30)
TABLE_NAME VARCHAR2(30)
PARTITION_NAME VARCHAR2(30)
SUBPARTITION_NAME VARCHAR2(30)
INSERTS NUMBER
UPDATES NUMBER
DELETES NUMBER
TIMESTAMP DATE
TRUNCATED VARCHAR2(3)
DROP_SEGMENTS NUMBERI used the column names to create the variables..that is why $time was used.
How else could I have done it????
thought this was easy..but to my dismay... -
Cannot drop table (error ORA-00054)
I am trying to drop a table but get an "ORA-00054 Resource busy and acquire with NOWAIT specified". Previously I had created this table and run a join which I cancelled because it was taking too long and obviously not doing what I wanted. Now I can't get rid of the table, even with sysdba privileges and re-starting the machine running the database.
Can anyone help?It looks like your table got locked. Do you see any locks in your database on this table? I also, suggest you to close or kill the session which was cancled due to long running join condition, as you said in your question.
-
Hello!
I'm executing this statement but it doesn't work
FLASHBACK TABLE TABLE
TO TIMESTAMP (SYSTIMESTAMP - INTERVAL '10' minute);
I got this message:
"ORA-00439: feature not enabled: Flashback Table"
What can I do?
Thanks in advanceHello Daniel,
here's an official list from Oracle: (representaion is not so perfect), but I hope you can see Flashback features are included in 10G Enterprise Edition and Personal Edition, Flashback query (I think, this includes FLASHBACK DROP) is included in all editions.
Option 10G 10G 10G 10G Notes
Stand. Stand. Entrp. Pers.
Edit. Edit. Edit. Edit.
One
Oracle Flashback N N Y Y Oracle Flashback Table
features Oracle Flashback Database
Oracle Flashback
Transaction Query.
Flashback Query Y Y Y Y Allows data to be queried
from a point in the past. -
Error ORA-03113: end-of-file on communication channel in droppping a table
Good evening,
I am very new on Oracle and I have a problem with some tables. Without any reason, apparently, I can't drop some of my table. Oracle gives me this error:
ORA-03113: end-of-file on communication channel
and then close the connection of the user.
What I should have to do?
It is very important.
Thanks a lot
best regards
Anna ZanettiGood morning, I still have the same problem, I can't drop a table from my database.
The message is again:
Re: Error ORA-03113: end-of-file on communication channel
The alert log file says:
Fri Nov 17 12:27:31 2006
Errors in file /usr/oracle/admin/oracledb/udump/oracledb_ora_4369.trc:
ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
and in file oracledb_ora_4369.trc there is:
Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0xc, PC: [0x955c61f, 0955C61F]
Registers:
%eax: 0x00000000 %ebx: 0x00012d95 %ecx: 0x58301930
%edx: 0x00000000 %edi: 0x5830d9e8 %esi: 0x00000000
%esp: 0xbfffae1c %ebp: 0xbfffb060 %eip: 0x0955c61f
%efl: 0x00210282
(0x955c61f) movzw 0xc(%eax),%eax(0x955c623) cmp $30,%eax
(0x955c626) jle 0x955c63e
(0x955c628) xor %edx,%edx
(0x955c62a) push %edx
*** 2006-11-17 12:27:31.658
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
Current SQL statement for this session:
drop table fiumiforjoin
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
08856247 call 0885776A 1 ? 0 ? 1 ? 1 ? 0 ? 0 ?
08290320 call 0885605A 3 ? 0 ? 0 ? 0 ? 0 ? 0 ?
0955C61F signal 08290320 B ? BFFFAAB0 ? BFFFAB30 ?
0955D6BE call 0955C61F 5830F01C ? 0 ? FFFFFFFF ? 0 ?
1 ? 5830F01C ?
08DD1EEB call 0955CC22 BFFFB394 ? 0 ? 0 ? BFFFB348 ?
58EAB2B0 ? C ?
09434EF3 call 08DD1A28 BF2A8C4 ? BFFFC0C0 ?
BFFFC0C0 ? 4 ? B6AB0300 ?
B6ABC2E0 ?
094106E0 call 094326D4 4 ? 0 ? BFFFC0C0 ?
093D7BB5 call 0940FEF8 3 ? E ? BFFFC1F8 ? A4 ?
093D630C call 093D7AC4 BFFFCDF0 ? BFFFCD08 ? 17 ?
1 ? 0 ? A4 ?
08293DE6 call 0850FFFF 5E ? 14 ? BFFFCDEC ?
0A1ED44D call 08293DE6 5E ? 14 ? BFFFCDEC ? 0 ?
08292122 call 0A1ECAE4 BF2A8C0 ? 5E ? BFFFCDEC ? 0 ?
BFFFD6E8 ? BFFFD6E4 ?
0941F190 call 0829193C 0 ? 0 ? BF2A8C0 ? BF83090 ?
F1 ? 0 ?
08293DE6 call 0850FFFF 3C ? 4 ? BFFFEB08 ?
08291238 call 082937A8 3C ? 4 ? BFFFEB08 ? 0 ?
0828F403 call 08291012 3C ? 4 ? BFFFEB08 ?
08274A3D call 0828F39C BFFFEAEC ? 3C ? 4 ?
BFFFEB08 ? B6CC017C ?
B6C1A17C ?
__libc_start_main() call 08274A3D 2 ? BFFFEBA4 ? BFFFEBB0 ? 0 ?
+218 B6C1C898 ? B7600020 ?
Any idea of what I have to do?
Thanks for your help..
Best Regards
Anna Zanetti -
Hi everybody,
I have two Distinct Databases on two distinct servers. (Oracle Ent. Release 10.2.0.3.0 on AIX 5.3). After I install the latest patch last week, One of the APEX installation has some problems on Home>Application Builder Page. The error message is very random and
report error:
ORA-06502: PL/SQL: numeric or value error: NULL index table key value.
When i change the view (details to icons), everything goes to normal. This error message is reflected some of the pages (report region) of some of my applications randomly. When it appears in a report region, i deselect the order method of the region, the result is normal.
But the other APEX application on the other instance has no problem. It is a bug? or Should i re-install the APEX instance?
Thank you for your interest?
Gökhan ÇATALKAYANo, but we have a reproducible test case now so we're working on it. See ORA-06502: PL/SQL: numeric or value error: NULL index table key value
Scott -
ERROR ORA-00942: table or view does not exist
Hi:
I created a .sql file and a loader file. Running the .sql file with sql * plus Worksheet:
declare
gr sdo_georaster;
begin
select image into gr from gis.RasterImages where geoid=1 for update;
sdo_geor.generatePyramid(gr,'resampling=NN');
update gis.RasterImages set image=gr where geoid=1;
commit;
end;
I trying to create a pyramid,but the error appeared:
ERROR at line 1:
ORA-29400: DATA CONTROL ERROR ORA-00942: table or view does not exist
ORA-06512: 在 "MDSYS.SDO_GEOR_INT", line 162
ORA-06512: 在 "MDSYS.SDO_GEOR", line 826
ORA-06512: 在 line 5
I don't know why?
Anyone can help me?
Thanks.Hi,
I think you are executing the select statement for schema X and the table is in the schema srnr.
And schema X is not having select privilege on the table 'students' present in schema srnr.
Goto schema srnr.
Execute the following statement:
grant select on students to X;
This will give schema X the privilege to query the table students present in srnr.
Regards,
Anupama -
i am using the following description to create a web service reference:
web reference :REST
Name :Yahoo Map
URL :http://local.yahooapis.com/MapsService/V1/mapImage
HTTP Method: GET
Basic Authentication: No
Add Parameter:
Name Type
appid String
location String
Output Format: XML
XPath to Output Parameters : /Result
Output Parameter:
Name Path Type
Url /text() String
Then i tried to create form and report on webservice:
Web Service Reference Type: Yahoo Map
Operation: doREST
All the fields i keep as default
I tick the checkbox (url)in report Parameter
After clicking next whereever required i click create button
I get the following error
ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
Please someone help to solve this as i need to fix it urgently.i exported the application from apex.oracle.com and imported it to our environment
import went fine, but when I ran the IR page I got
ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier
evidently the problem is a lack of public execute on DBMS_LOB, which is used in the generated IR source.
while waiting for the DBA to grant privs on DBMS_LOB, changing the dbms_lob.getlength call to length() fixes the IR.
however, i am not getting the download link on the associated form page... changed templates, that's not the issue -- we'll see if that's a dbms_lob issue as well -
I am using Apex 4.2.2.00.11
am using the following description to create a web service reference:
web reference :REST
Name :Yahoo Map
URL :http://local.yahooapis.com/MapsService/V1/mapImage
HTTP Method: GET
Basic Authentication: No
Add Parameter:
Name Type
appid String
location String
Output Format: XML
XPath to Output Parameters : /Result
Output Parameter:
Name Path Type
Url /text() String
Then i tried to create form and report on webservice:
Web Service Reference Type: Yahoo Map
Operation: doREST
All the fields i keep as default
I tick the checkbox (url)in report Parameter
After clicking next whereever required i click create button
I get the following error
ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
Please someone help to solve this as i need to fix it urgently.336554,
Looks like there is a 127-column limit on the number of report columns supported when using that wizard. Do you have more than that?
57434 -
HI ,
we are facing below issue while activating info object xxxxxxxx
" SQL Error: ORA-00942: table or view does not exist " and " CX_RS_SQL_ERROR "
can any one help us out to resolve this issue.
Thanks,
EDK......Hi,
Check the corrections given in the note 990764:
Reason and Prerequisites
Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
ORA-00942: table or view does not exist
Fehler in CL_SQL_RESULT_SET Include NEXT_PACKAGE
RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
Solution
SAP NetWeaver 2004s BI
Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
In urgent cases you can implement the correction instructions.
The correction instructions contain the tightened inspection for characteristics.
Regards,
Anil Kumar Sharma .P -
Error ORA-10635 when shrink a table!!
Hi all,
I have a table created in a tablespace using ASSM and when i try to shrink this table i receive the error ORA-10635. I can do shrink on other tables that are on the same tablespace of that table that is giving me this error.
Anyone can help please??
Tks,
Paulo.10635, 00000, "Invalid segment or tablespace type"
// *Cause: Cannot shrink the segment because it is not in auto segment space
// managed tablespace or it is not a data, index or lob segment.
// *Action: Check the tablespace and segment type and reissue the statement -
OUTER JOIN -- Error: ORA-01417 (a table may be outer joined to at most one
Hi there,
I have a rather simple task: retrieve all the records in a table, for agiven domain p_domain_id (input parameter). The problem is that there are about 6 FKs in the table, and I need the names (strings) corresponding to those FKs (from other tables). Unfortunately, some of the FKs are NULL, so in '=' I loose records. Without the last 2 lines in WHERE clause, I get the correct result. With d2 in place (and without the "(+)" ) I loose 2 records. With the d3 (and also without "(+)"), I do not get any record.
With the "(+)", the code compiles but I get the run time error ORA-01417
NOTE: I put the "+" within parentheses, in order to show it like a text in this editor.
What's an elegant solution to this?
Thanks a lot.
Here's the code:
SELECT
a.DOMAIN,
b.NAME,
a.DE_ID,
a.NAME,
a.PREFERRED_LABEL,
a.TECHNICAL_DEFINITION,
a.PUBLIC_DEFINITION,
a.DE_TYPE,
c1.NAME,
a.HAS_PARAMETER,
a.VALUE_CLASS,
c2.NAME,
a.INDEX_TERMS,
a.DATA_TABLE_ID,
d1.TABLE_NAME,
a.SP_INSERT,
a.SP_UPDATE,
a.SP_GET_BYMRN,
a.SP_GET_BYATTRIBUTE,
a.VALUE_TABLE_ID,
d2.TABLE_NAME,
a.PARAM_TABLE_ID,
d3.TABLE_NAME,
a.PARAM_DOMAIN_LOGIC,
a.SP_LOV,
a.LOWER_LIMIT,
a.UPPER_LIMIT,
a.BOOLEAN_Y,
a.BOOLEAN_N,
a.COMMENTS,
a.ENTERED_BY,
commons_API.get_person_full_name(a.ENTERED_BY),
a.ENTERED_ON
FROM
DATA_ELEMENT_INDEX a,
DE_DOMAIN b,
GENERAL_LIST c1,
GENERAL_LIST c2,
TABLE_GROUP d1,
TABLE_GROUP d2,
TABLE_GROUP d3
WHERE
DOMAIN = p_domain_id AND
b.DOMAIN_ID = a.DOMAIN AND
c1.ID = a.DE_TYPE AND
c2.ID = a.VALUE_CLASS AND
d1.TABLE_ID = a.DATA_TABLE_ID AND -- it works well without the next two lines
d2.TABLE_ID = a.VALUE_TABLE_ID "(+)" AND
d3.TABLE_ID = a.PARAM_TABLE_ID "(+)"
ORDER BY a.NAME;
Edited by: user10817976 on Oct 19, 2009 8:14 AMOne of my standard replies...
Oracle syntax does not support outer joining to more than one table.
However ANSI syntax does...
SQL> select * from a;
ID B_KEY C_KEY
1 2 3
2 1 4
3 3 1
4 4 2
SQL> select * from b;
ID C_KEY2
1 1
2 5
3 3
4 2
SQL> select * from c;
KEY1 KEY2 DTA
1 1 1-1
1 2 1-2
1 3 1-3
1 4 1-4
2 1 2-1
2 2 2-2
2 3 2-3
2 4 2-4
3 1 3-1
3 2 3-2
3 3 3-3
3 4 3-4
4 1 4-1
4 2 4-2
4 3 4-3
4 4 4-4
16 rows selected.
SQL> ed
Wrote file afiedt.buf
1 select a.id as a_id, b.id as b_id, c.key1 as c_key1, c.key2 as c_key3, c.dta
2 from a, b, c
3 where a.b_key = b.id
4 and a.c_key = c.key1 (+)
5* and b.c_key2 = c.key2 (+)
SQL> /
and a.c_key = c.key1 (+)
ERROR at line 4:
ORA-01417: a table may be outer joined to at most one other table
SQL> ed
Wrote file afiedt.buf
1 select a.id as a_id, b.id as b_id, c.key1 as c_key1, c.key2 as c_key3, c.dta
2 from a JOIN b ON (a.b_key = b.id)
3* LEFT OUTER JOIN c ON (a.c_key = c.key1 and b.c_key2 = c.key2)
SQL> /
A_ID B_ID C_KEY1 C_KEY3 DTA
3 3 1 3 1-3
4 4 2 2 2-2
2 1 4 1 4-1
1 2
SQL>
Maybe you are looking for
-
Questions regarding Adobe Reader Extensions for Adobe Livecycle.
Hi, I'm relatively new to Adobe products, having just started to use Adobe Livecycle over the last couple of weeks. I've produced a set of interactive forms for field engineers to use. When completed, they will submit the xml data via email. However,
-
Mac to iphone paring is not working
Hi, In advance thanks for your help. When i try to connect my iPhone to my macbook it does not work. It does not matter if i try to connect from the macbook or from the iPhone. The devices are already paired. It tries to connect, and actually connect
-
Error occurred during processing of framework class CL_RSRD_DISTRIBUTOR_MAI
Hi Experts, I am sending query through broadcasting, i am getting following error. how can i solve this? Error of type CERR_BCS occurred sending document ZQUERY1.zip Error occurred during processing of framework class CL_RSRD_DISTRIBUTOR_MAIL, t
-
CR2008 can't show images on published report
I have report with subreports, showing images from network path, which saved in database. In design mode everything looks nice, but when I publish report on BO Crystal Decisions Server, I can see only placeholder images. Plese help to fix it. Thanks
-
ITunes doesn't show updates for those Apps synchronized from iPhone
For example, if I download 3 apps through itunes, then download and install 2 apps on my iphone. After synchronizing the PC and iphone, both of them have 5 apps. Once all of them have updates available, the app store on my iphone can show 5 updates,