Problem while dropping a table
Dear All,
I am facing a problem while dropping a table in Oracle 10g.
I am able to find the number of records in the table but unble to delete it.
SQL> select count(*) from merchant_audit;
COUNT(*)
30028278
SQL> drop table merchant_audit;
drop table merchant_audit
ERROR at line 1:
ORA-00942: table or view does not exist
I have to drop this table from the database. Please help.
regards,
Santhosh
Hi,
IS it a table ? Is it your table ?
Read this example :
sqlplus scott/*****
SQL> create table merchant_audit(col1 number);
Table created.
SQL> create public synonym merchant_audit for merchant_audit;
Synonym created.
SQL> grant select on merchant_audit to merchant;
Grant succeeded.
SQL> conn merchant/merchant
Connected.
SQL> select count(*) from merchant_audit;
COUNT(*)
0
SQL> drop table merchant_audit;
drop table merchant_audit
ERROR at line 1:
ORA-00942: table or view does not exist
SQL>
See owner into the dba_tables, and if synonym into dba_synonyms.
Nicolas.
Message was edited by:
Nicolas Gasparotto
Similar Messages
-
Ora-00604,ora-01422 error while dropping the table
Hi gurus,
I am using Oracle 10g R2 on windows 2000 platform,while dropping the table the following error occured.
ORA-00604 : error occurred at recursive sql level 1.
ORA-01422: exact fetch returns more than requested number of rows.
Need urgent help.
Thanks in advanceIs there an AFTER EVENT trigger defined on this database? Can you check that?
Secondly, was this database migrated from earlier version? I remember having seen this problem on 9i (it was 9.2.0.1 or 9.2.0.2; I can't recall exactly). -
Hi All,
i got an error while dropping a table which is
ORA-00600: internal error code, arguments: [kghstack_free1], [kntgmvm: collst], [], [], [], [], [], [], [], [], [], []
i know learnt that -600 error is related to dba. now how to proceed.
thanks and regards,
sri ram.00600 errors should be raised as service request with Oracle as it implies some internal bug.
You can search oracle support first to see if anyone has had the same class of 00600 error, and then if not (and therefore no patch) raise your issue with Oracle.
http://support.oracle.com -
Problem while dropping snapshot
Dear sir
I am a junior dba, now I have a problem while I drop a customerinfo snapshot from Oracle 9.2.0.4 database. It seem to be the snapshot has been dropped correctly. But I found it's still remained in user's schema and looks like normal table.
I tried to drop it again but I got error ORA-12083: must use DROP MATERIALIZED VIEW to drop "customerinfo". But when I used command DROP SNAPSHOT CUSTOMERINFO; and DROP MATERIALIZED VIEW CUSTOMETINFO; It's still error ORA-12003 : materialized view "CUSTOMERINFO" does not exist.
Please give me some advice.
PS. Our system is Linux RHAS3 and Oracle 9.2.0.4 Database.It could be that the MV was created on a prebuilt table.
If that is the case, the table must be dropped separately.
First make sure that you actually want to drop the table and lose the data.
Look for 'PREBUILT' under 'CREATE MATERIALIZED VIEW' in the docs. -
Problem while selecting a table after creating the dblink
Hi,
We have created the dblink for oracle to sql server and it created successfully,
But while selecting the table from oracle we are getting the below issue,
select * from "sysdiagrams"@omniyat;
ERROR at line 1:
ORA-00942: table or view does not exist
[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name
'sysdiagrams'. {42S02,NativeErr = 208}[Microsoft][ODBC SQL Server Driver][SQL
Server]Statement(s) could not be prepared. {42000,NativeErr = 8180}
ORA-02063: preceding 2 lines from OMNIYAT
Kindly provide us the solution to resolve this issue.
Regards
ShamPlease see:
Odbc Connection From Oracle To SQL*Server Fails With Errors Ora-28546 and Ora-2063 When Using Connection via Database Link. (Doc ID 1389492.1)
To BottomTo Bottom
Error 08001,NativeErr = 11 Instance Invalid or Not Running Connecting to SQL*Server Using Dg4MSQL (Doc ID 1349023.1)
How to Resolve Common Errors Encountered while using Database Gateways (DG4IFMX, Dg4MSQL, DG4SYBS), DG4ODBC or Generic Connectivity (Doc ID 234517.1)
Thanks,
Hussein -
Problem while dropping tablespace
Hi all,
I am getting following error while i am trying to drop tablespace
ORA-02449: unique/primary keys in table referenced by foreign keys.
I am using followin statement to drop tablespace;
drop tablespace QAREF430 including contents and datafiles;
wat might be the problem?
Thanks.wat might be the problem?You have some referential integrity constraints, outside QAREF430 tablespace, pointing to a table inside QAREF430 tablespace. Try
drop tablespace QAREF430 including contents and datafiles cascade constraints; -
Problem while renaming a table
Hi,
I am running oracle 10.2.0.4.0 on AIX 5.3.
While i issue a table rename statement it just hangs.
the table contains 1500 million rows.
Please suggest what should i check before running a table rename statement.select * from dba_dml_locks is giving following output
SESSION_ID OWNER NAME MODE_HELD MODE_REQUESTED LAST_CONVERT BLOCKING_OTHERS
532 TBAADM CUM_TRAN_DETAIL_TABLE Exclusive None 26888 Not Blocking
533 SYS WRH$_SQL_BIND_METADATA Row-X (SX) None 21701 Not Blocking
533 SYS WRH$_SQL_PLAN Row-X (SX) None 21701 Not Blocking
i am renaming cum_tran_detail_table to hist_tran_detail_table
select * from dba_ddl_locks where owner = 'TBAADM'
SESSION_ID OWNER NAME TYPE MODE_HELD MODE_REQUESTED
534 TBAADM CUM_TRAN_DETAIL_TABLE Table/Procedure/Type None Exclusive
528 TBAADM CUM_TRAN_DETAIL_TABLE Table/Procedure/Type None Share
527 TBAADM CUM_TRAN_DETAIL_TABLE Table/Procedure/Type None Exclusive
532 TBAADM TBAADM 18 Null None
534 TBAADM TBAADM 18 Null None
527 TBAADM TBAADM 18 Null None
525 TBAADM TBAADM 18 Null None
532 TBAADM NABIL_CTD_SHORTFALL_TRIG Trigger Exclusive None
532 TBAADM HIST_TRAN_DTL_TABLE Table/Procedure/Type Exclusive None
should i disable/drop any trigger before trying to rename the table? and then again enable/recreate the same after renaming? -
Problem while saveing in Table Control.
Hi
I am geting error while saving data in table control.
This table contol is pop up window at end of screen .
user enter qty & uom in TC..
Error i am getting is...
Field symbol has not been assigned.
Error analysis
The system tried to access an anasigned field symbol (data segment
number 32772).
The field symbol is no longer assigned, because a Unicode program
previously tried to set the field symbol using an ASSIGN statement with
an offset/length declaration. The memory addressed in this offset/length
declaration, however, no longer lay within the valid range.
Information on where terminated
The termination occurred in the ABAP program "SAPLOMCV" in
"CONVERSION_EXIT_MATN1_INPUT".
i Have coded like this..
MODULE USER_COMMAND_0112 INPUT.
CASE OKCODE.
WHEN 'BACK' or 'CANCEL'.
SET SCREEN 0.
This iti is contain data which diplay in TC
when 'DISPLAY'.
LOOP AT ITI.
read table iti with key ingr_code = iti-ingr_code
ingr_desc = iti-ingr_desc.
wka1-ingr_code = iti-ingr_code.
wka1-ingr_desc = iti-ingr_desc.
wka1-conc = iti-conc.
wka1-quantity = iti-quantity.
wka1-uom = iti-uom.
append wka1 to itf.
ENDLOOP.
WHEN 'SAV'.
loop at itf where check = 'x' .
update zacg_ns
set ingr_code = itf-ingr_code
col_name = itf-ingr_desc
conc = itf-conc
quantity = itf-quantity
UOM = itf-UOM
ru = itf-ru
where ingr_code = itf-ingr_code
and col_name = itf-ingr_desc.
zacg_ns-ingr_code = itf-ingr_code.
zacg_ns-col_name = itf-ingr_desc.
zacg_ns-conc = itf-conc.
zacg_ns-quantity = itf-quantity.
zacg_ns-UOM = itf-UOM.
update zacg_ns.
endloop.
leave program.
ENDCASE.
ENDMODULE. " USER_COMMAND_0112 INPUT
MODULE read_table_control INPUT
MODULE read_table_control INPUT.
MODIFY itf INDEX tc-current_line.
ENDMODULE. "read_table_control INPUT
*& Include ZACG_NS_2 *
*& Module STATUS_0111 OUTPUT
text
MODULE STATUS_0111 OUTPUT.
SET PF-STATUS 'ZNEWSHADE'.
SET TITLEBAR 'ZNS'.
ENDMODULE. " STATUS_0111 OUTPUT
*& Module STATUS_0112 OUTPUT
text
MODULE STATUS_0112 OUTPUT.
SET PF-STATUS 'ZTC'.
SET TITLEBAR 'xxx'.
DESCRIBE TABLE itf LINES lines.
tc-lines = lines.
ENDMODULE. " STATUS_0112 OUTPUt
PROCESS BEFORE OUTPUT.
MODULE STATUS_0112.
LOOP at itf WITH CONTROL TC CURSOR tc-current_line.
MODULE TC_PBO .
ENDLOOP.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
LOOP at itf .
module read_table_control.
ENDLOOP.
MODULE USER_COMMAND_0112.
Can any one help me..Hi,
Did you enter that filed later after creating the table control?
You check in the element list whether for that element u have an entry or not..
Regards,
Nishant -
Problem While exporting HTML table to Excel(.CSV) in SharePoint 2010
Hi ,
I was exporting HTML table to .CSV file.
Problem is if any field contains '>' or '<' symbol then after exporting to .CSV, it was showing like '>' and '<' and the code is as below.
//Export HTML table to CSV
function toCSV() {
var data = document.getElementById('reportstable');
var csvData = [];
var tmpArr = [];
var tmpStr = '';
for (var i = 0; i < data.rows[0].cells.length; i++)
tmpArr.push((data.rows[0].cells[i].innerText || data.rows[0].cells[i].textContent));
csvData.push(tmpArr.join('\t'));
for (var i = 1; i < data.rows.length; i++)
tmpArr = [];
for (var j = 0; j < data.rows[0].cells.length; j++)
tmpArr.push(data.rows[i].cells[j].innerHTML);
csvData.push(tmpArr.join('\t'));
var output = csvData.join('\n');
SaveContents(output);
//For saving the file
function SaveContents(element) {
if (document.execCommand) {
var oWin = window.open("about:blank","_blank");
oWin.document.write(element);
oWin.document.close();
var success = oWin.document.execCommand('SaveAs', false, "FilteredReport.xls")
oWin.close();
Thanks in AdvanceHi,
According to your post, a problem occurred when you exported the HTML table to Excel(.CSV).
The following code for your reference:
function toCSV() {
var data = document.getElementById('reportstable');
var csvData = [];
var tmpArr = [];
var tmpStr = '';
for (var i = 0; i < data.rows[0].cells.length; i++)
tmpArr.push((data.rows[0].cells[i].innerText || data.rows[0].cells[i].textContent));
csvData.push(tmpArr.join('\t'));
for (var i = 1; i < data.rows.length; i++)
tmpArr = [];
for (var j = 0; j < data.rows[0].cells.length; j++)
tmpArr.push(data.rows[i].cells[j].innerHTML);
csvData.push(tmpArr.join('\t'));
var output = csvData.join('\n');
SaveContents(output.replace(/</g, '<').replace(/>/g, '>'));
Best Regards
Dennis Guo
TechNet Community Support -
Problem while exporting ADF table to excel
Hello,
I have some columns of random size which are left padded with 0.
now the problem comes when I export the table containing these columns to excel, excel remove all those zeros from left.
eg: 000000003726819563(table column value) after exporting to excel shows as 3726819563.
Along with this I also want the footer part of table in excel.
For some of the columns I have summary filed(i.e. sum) at the footer of the table which I want to show in excel.
Can someone please guide me through these issues.
Thanks in advance.Take a look at this: http://adfreusablecode.blogspot.com/2012/07/export-to-excel-with-styles.html
With this code you can export the footer: http://dl.dropbox.com/u/22312971/adf-samples/ExportToExcelDemo/ViewController/src/view/ExcelBean.java
Here is the entire demo project: http://dl.dropbox.com/u/22312971/adf-samples/ExportToExcelDemo.zip
I a few days I will update the above post.
Hope this help.
AP -
Problem while dropping partitions
Hi All,
I'm using oracle 11g. I have 2 tables A and B. A is the master table and B is the child table. Both the tables are partitioned based on month. Now when i have to drop partition for previous month, i first drop partition from table B then from table A. With table B the partition is getting dropped successfully. But when i try to drop partition for A it gives an error as it is a master table. Table A does not have any data in the partitioned to be dropped that is being referenced by table B. How do i drop the partition for master table.
Thanks in AdvanceHi,
There may be Chance of Have some rows .. just find out the rows existing in the partition of master table with existence of records in Child table that makes it clear clarificaiton...
- Pavan Kumar N -
Problem while processing internal table
Hi ,
I have to read 2 line item of same invoice no
for eg.
IN_NO ! MAT ! AMT
XYZ ! MAT1 ! 125
XYZ ! MAT2 ! 325
In o/p its display only 325 for both line items
I used this statement for readiing..
loop at i_final
loop at i_itab1 where knumv = i_final-knumv.
move i_itab1-kwert to i_vbtab-comm .
clear i_itab1-kwert.
endloop.
endloop.
In debuging i have determine that both first line item
amt is coming in header line but while coming in body.
I become the second line item amt
Can any one help meYou still are not MODIFYing the table if you intend to write it later
loop at i_final
loop at i_itab1 where knumv = i_final-knumv.
move i_itab1-kwert to i_final-comm .
* clear i_itab1-kwert. "<== No need for this at all
endloop.
endloop.
Additionally, you're moving to your primary loop table. Never going to see two for it unless you write to a 3rd table or
replace the CLEAR with a WRITE:/ .......
Edited by: Paul Chapman on May 14, 2008 10:35 AM -
Problem while partitioning The Table
create table Employee ( empno number(3), name varchar2(10), deptno number(4))
partition by range(deptno)
(partition p1 values less than(11),
partition p2 values less than(21),
partition p3 values less than(31));
create table Employee (
ERROR at line 1:
ORA-00439: feature not enabled: Partitioning
Please help me for solving this problem and send me the details I need to partition my table.
Thanks in advance.
w.regards
R.SatishLooks like you don't have partition license or don't have a complete install of Oracle version 8.0.5. The best way to check is do a sqlplus user/passwd and look for a message that said "Production with the Partitioning and objects options" to appear before the SQL> prompt. Hope this helps....
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by rkumar:
create table Employee ( empno number(3), name varchar2(10), deptno number(4))
partition by range(deptno)
(partition p1 values less than(11),
partition p2 values less than(21),
partition p3 values less than(31));
create table Employee (
ERROR at line 1:
ORA-00439: feature not enabled: Partitioning
Please help me for solving this problem and send me the details I need to partition my table.
Thanks in advance.
w.regards
R.Satish <HR></BLOCKQUOTE>
null -
Problem while dropping a .JSFF onto .JSPX page
Hi All,
I have a very simple BTF with just an output text filed and a blank Main page (.JSPX) . Whenever I am trying to drop.JSFF on to .JSPX. it prompts me for an component Identifier. I dont know what to put in that Prompt.Please help me. I am struck
ThanksGot my problem resolved ... Was creating the JSFF with Facelets , changed it to XML and my thing resolved
-
Problem while populating RFC table into HTMLB tableView control
Hi, We are trying to populate some data from R/3 into the front end. For this we are using tableView control in HTMLB. But the problem is, one particular field is behaving strangely where as all other fields are displayed correctly. This value is sometimes displayed correctly and sometimes not. The FM if executed at the back end is giving correct result always. In Java there is a single line code i.e. table.getString("FIELD_NAME_IN_RFC");. Please guide us to find out the problem if somebody has already faced this before.
Hi, We are trying to populate some data from R/3 into the front end. For this we are using tableView control in HTMLB. But the problem is, one particular field is behaving strangely where as all other fields are displayed correctly. This value is sometimes displayed correctly and sometimes not. The FM if executed at the back end is giving correct result always. In Java there is a single line code i.e. table.getString("FIELD_NAME_IN_RFC");. Please guide us to find out the problem if somebody has already faced this before.
Maybe you are looking for
-
My Macbook Pro 5.1 wont read CD-Rom.
It plays DVDs ok , but when I insert a Konica CD Rom to load drivers for my printer, it doesnt open the disc and after a couple of attempts it ejects the disc. The disc works when inserted into a (spit!) PC. Any ideas? I currently have the CD settin
-
HT204347 i can how to track my stolen mac pro
Someone broke into my house and stolen my new mac pro. Police was notified and filled a report.
-
Last night was the annual IEEE-CNSV (Consultants Network of Silicon Valley) Dinner and the guest speaker was David Laws, who currently serves as the Semiconductor Curator at the Computer History Museum in Mountain View. Laws spoke about an incredible
-
Compare values in a Column.
Hi, I have an requirement like below and would like to have SQL for that. Source Table:+ EMP_NO EMP_CODE 1 'A' 1 'D' 1 'E' 1 'F' 2 'S' 2 'A' 2 'W' 2 'Q' 3 'A' 3
-
Source of the Australia's Address Dictionaries
Which is the source for the Australia Address Cleanse month directory files? The Australia Post? Thanks.