Not able to drop Temp tables in staging schema
Dear All,
I am facing some issue with the temporary tables in my interface; i am using ODI 11g,
Getting following error;
Message:
ODI-1228: Task FEED_NL_STEP_UPDATE_DATA_TO_XML_WS (Integration) fails on the target XML connection XML_DS_NL_LISTOFACTIVITY.
Caused By: java.sql.SQLException: ORA-00942: table or view does not exist
Code:
Drop Table: C$_ACTIVITY
I heard that there is some known bug in ODI with respect this error.
Please help me to find workaround for the same..
Thanks and Regards
San
well,
When I check my staging schema where this table is supposed to be created, I see the table.
But ODI is thorwing error saying 'ODI-1228: Task FEED_NL_STEP_UPDATE_DATA_TO_XML_WS (Export) fails on the target XML connection XML_DS_NL_LISTOFACTIVITY.
Caused By: java.sql.SQLException: ORA-00942: table or view does not exist'
Even though the table exists physically, ODI is not able to detect is somehow. so need to know why this is happening and how to resolve this.
Thanks
San
Similar Messages
-
It's urgent ! not able to drop a table having clob data type.
Hi all,
I have a table called subject and it has two colum, course id number , course name clob. and the clob dosent have the data actually.
the error it showing "timeout occurred while waiting to lock object
PROJECT.SUBJECT"
wht does this mean timeout occurred while waiting ?
thanks
Alok.The database needed to lock the object for some reason (which you have not told us), but it could not because some other process had a lock on it (which we cannot divine) -- so the attempt to lock the object timed out.
-
External table not able to drop--Urgent Please
hi all
I created external table asd in my schema
but now asd not able to drop
giving error table or view does not exist ?
RegardsHi Rob
I was using plsql developer and i created table like lower case 'asd'
It can drop from tode but not from plsql developer
but i i created table Upper ASD now can drop from plsql developer
Is this the bug of Plsql developer or what ?
Regards -
Not Able to create ADF Table In the Multiple model enviorment
Hi All
I am not able to create ADF Table or ADF Read-only Table
I am having following thinks in my JWS Project
2, Model Project(Different different name)
2,faces-config.xml(Different different name)
1 web Project (View Controller)
and one Databinding.cpx file
i am using following version of jdeveloper to develop application
ADF Business Components 10.1.3.41.57
BPEL Designer 10.1.3.3.0 (Build 070615.0525)
Java(TM) Platform 1.5.0_06
Oracle IDE 10.1.3.41.57
Struts Modeler Version 10.1.3.41.57
UML Modelers Version 10.1.3.41.57
Versioning Support 10.1.3.41.57Are you dragging from the data control? what technologies did you use for the data controls?Ans:I am using data controll as ADF BC
Are the two faces-config.xml files in your web project?
Ans:Yes with one name with faces-config.xml and antoher with different name -
how to drop temp tables if i created with same name in different sessions
create table #temp(id int)
(with same in different sessions)In addition to Olaf's, if you create temp table in two different sessions, you will find the 2 #test in the TempDB.sys.tables.
CREATE TABLE #test (id int);
Either the different object_ids or the "same" names indicate they are
different temp tables. The same named local temp tables created in different sessions are traced with a 12 suffix in the tempdb.sys.tables. That's why when creating temp tables, maximum length can be of 116 characters only, while creating a
table, the maximum is 128.
The fragment referenced from the BOL
You can create local and global temporary tables. Local temporary tables are visible only in the current session; global temporary tables are visible to all sessions.
All local temporary tables are dropped automatically at the end of the current session.
You can read more from the below link.
https://technet.microsoft.com/en-us/library/aa258255(v=sql.80).aspx
If you have any question, feel free to let me know.
Eric Zhang
TechNet Community Support -
Not able to fill setup tables of purchasing
hi gurus,
I'm not able to fill setup tables of purchasing errors raised as following:-
Enter rate INR / rate type M for 12.04.2005 in the system settings
what to do pls guide me step by step process
ponts promisedhi pls tell me the step by step solution to the problem
. i need to enter the exchange rate for that particular date or just make the new entry or wat else
re
rubane -
We are currently converting our student information system from Sybase to Oracle. My task is to convert our existing sql scripts. A number of them use temp tables and I have successfully got them to run except that I cannot drop the tables at the end of the script because they are still in use *[Error Code: 14452, SQL State: 72000] ORA-14452: attempt to create, alter or drop an index on temporary table already in use*. For example:
/* Oracle Version */
-- Select Cactus ID ------------------------------------------------------------
CREATE GLOBAL TEMPORARY TABLE tch1
(name Varchar(45), tid Int, CactusID Varchar(12))
ON COMMIT PRESERVE ROWS;
INSERT INTO tch1
SELECT
t.lastfirst,
t.id teacherid,
c.value
FROM
teachers t
INNER JOIN customvarchars c ON t.id = c.KeyNo
AND fieldno = 148;
-- Select Core Codes ---------------------------------------------------------------
CREATE GLOBAL TEMPORARY TABLE crs1
(name Varchar(45), cid Int, CactusCd Varchar(12))
ON COMMIT PRESERVE ROWS;
INSERT INTO crs1
SELECT
cs.course_name,
cs.id courseid,
c.value
FROM
Courses cs
INNER JOIN customvarchars c ON cs.id = c.KeyNo
AND fieldno = 146;
-- Put it all together ---------------------------------------------------------
SELECT
t.lastfirst AS Teacher,
ct.CactusID,
s.schoolid AS Sch#,
s.TermID,
c.course_number AS Crs#,
s.section_number AS Sec#,
c.course_name AS Course,
cr.CactusCd,
COUNT(*) AS Enroll
FROM
cc
INNER JOIN sections s ON cc.sectionid = s.id
INNER JOIN courses c ON s.course_number = c.course_number
LEFT JOIN crs1 cr ON c.id = cr.cid
INNER JOIN teachers t ON s.teacher = t.id
LEFT JOIN tch1 ct ON t.id = ct.tid
WHERE s.schoolid NOT IN (701,711)
GROUP BY
s.schoolid,
t.lastfirst,
ct.CactusID,
c.course_number,
s.section_number,
c.course_name,
cr.CactusCd,
s.TermID
ORDER BY
s.schoolid,
t.lastfirst,
ct.CactusID,
c.course_number,
s.section_number,
c.course_name,
cr.CactusCd,
s.TermID;
-- Drop Tables -----------------------
DROP TABLE tch1;
DROP TABLE crs1;
I have an Oracle PL/SQL reference guide at hand, but I don't see any mention of dropping the tables when completed. I'm also curious if I'm using the terminator (;) correctly. MS SQL Server and Sybase did not require one.
Thanks.Christopher Soza wrote:
you need to issue a
COMMIT;
prior to issueing the drop table commands
COMMIT will not help since GTT is ON COMMIT PRESERVE ROWS:
Session 1:
SQL> CREATE GLOBAL TEMPORARY TABLE tch1
2 (name Varchar(45), tid Int, CactusID Varchar(12))
3 ON COMMIT PRESERVE ROWS;
Table created.
SQL> insert into tch1 values('A',1,'B');
1 row created.
SQL> commit;
Commit complete.
SQL> Session 2:
SQL> drop table tch1;
drop table tch1
ERROR at line 1:
ORA-14452: attempt to create, alter or drop an index on temporary table already
in use
SQL> SY. -
Oracle dbsonsole not running after drop temp files
before drop temp tablespace
i was create temp2 tablespace as default temp tablespace
after that
i have droppped temp files last to first
temp4.dbf ..3..2
when i have clicked to delete temp table space in dbconsole
after a few time dbconsole not running
in iexplore
i have tired to start db control again with emctl start dbconsole
it was already running
then i have command
emctl status dbconsole
is not running
i have looked log file i see temp file warning
now what can i do to start dbconsole againDbconsole doesn't work proper without temp files. So you should create temp file for temporary tablespace in some other tool.
-
Not able to Populate Qualified Table in Import Manager
Hi,
I am performing following steps for populating Bank Detail Qualified table in MDM from R3 but not able to populate the data.
1.Populating all lookup tables like Account_no,Bank-Key.......
2.Mapping all fields in Bank detail table except the 'Collect Auth'
field which is Qualifier
3.In Customer table(Main) mapping Collect auth to Bank Detail field and
customer_no to its corresponding ID.
It is not populating the Bank detail data which are available in lookup tables
Appreciate your suggestion
-regards,
reoReo
Matching will be based on the Display field (at least one) of the Main table. This is for example the Customer Number.
You also need to map all the display fields of the qualified lookup table. Then you can set the Qualified Update Action by right clicking on the field in the main that is linked to the qualified lookup.(the Collection_Authorization I think). Set the option that well update/append/replace the qualified data fields of the looked table.
There is two how_to_guides that will help. You can download from SAP Service Market Place. (Otherwise I can email to you)
How To Troubleshoot MDM Import Manager
HowTo_LoadQualifiedFields
Rgs
Con -
Not able to create a table with more than 64 fields in dictionary
Hi,
I have created a java dictionary in Netweaver Developer studio. I have to create a table with more than 64 fields in it. I was able to create the table in dictionary, but when i tried to build it, I am getting an error message as "more than 64 fields are not allowed". If i create the table with 64 fields or below 64 fields, i can build the dictionary and deploy it.
That is, when i create a table with more than 64 fieds, I am not able to compile the dictionary, But if i reduce the fields to 64 or below, i can compile the dictionary.
Kindly help me to solve the problem.
Regards,
SudheeshHi,
Sudheesh,as far as I am aware creating of fields in the table actually depends on the total width of table that can be used for various Vendors.
So I actually tried out creating a table with too many fields,and I am reproducing the errors which I have obtained -
<i>Error Dictionary Generation: <b>DB2:checkWidth TMP_1: total width of table (198198 bytes) greater than allowed maximum (32696 bytes)</b> TMP_1.dtdbtable TestDictionary/src/packages
Error Dictionary Generation: <b>DB4:Table TMP_1: fixed length: 198366 (32767).</b> TMP_1.dtdbtable TestDictionary/src/packages
Error Dictionary Generation: <b>DB6:checkWidth TMP_1: total width of table (297200) including row overhead is greater than the allowed maximum for 16K tablespaces .</b> TMP_1.dtdbtable TestDictionary/src/packages
Error Dictionary Generation: <b>MSSQL:checkWidth TMP_1: total width(198215) greater than allowed maximum (8060)</b> TMP_1.dtdbtable TestDictionary/src/packages
Error Dictionary Generation: <b>SAPDB:checkWidth TMP_1: total width(198297) greater than allowed maximum (8088)</b> TMP_1.dtdbtable TestDictionary/src/packages
Error Dictionary Generation: Table TMP_1 is not generated TMP_1.dtdbtable TestDictionary/src/packages </i>
I hope you can understand what the errors state.I am trying to create a table whose total width(sum of width all columns) is greater than the maximum allowed for various Vendors,such as DB2,MSSQL,SAPDB etc.
I hope this answer helps you create your table suitably
Regards,
Harish
(Please award points if this answer has been usefull) -
Not able select SYS.DBA_IND_COLUMNS table.
Dear all,
I am not able to select the records from the table SYS.DBA_IND_COLUMNS in my procedure, it shows table or view does not exists. but i am able to select the same as a separate query (not in procedure).
Please help me out in this.
Thanks,
Anand.This is a standard oracle security functionality. You can select in a standalone query because you have been granted the privilege through a role, but roles are not active within procedures.
You need to have the privilege (probably select any dictionary) granted directly. -
Not able to Import SH Table in the Physical Layer
Hi,
I am not been able to import Tables from sh schema in the physical layer of OBIEE 11g and got error message.
"Failed to Perform Requested action". Please tell me how to create sh RPD now.
Appreciate all the help in advance.
Thanks
AshishI am sharing the screen shot of the error message
https://app.box.com/s/afwnwjyb8c4h65uhao0w
another thing that i found that their are duplicate column shown. Screen shot of that below.
https://app.box.com/s/aoux5lurxso55qcofz7k
and i am importing Table,key & Foreign Key. Please tell me how is this possible and how to remove this. -
Scheduled job that drops temp tables.
Hi, I have a 3rd party app that creats temp tables and never drops them. I need to come up with a scrip that I can run every thirty days and clean them up. Here is the select I run to find them. I just don't know how to format the drop statement.
select owner, object_name, created from dba_objects where object_name like 'DWTEMP%' and created > '01-MAY-11' and object_type='TABLE';
Thanks
BryanIt sounds like you want something like
BEGIN
FOR tbl IN (select owner, object_name, created
from dba_objects
where object_name like 'DWTEMP%'
and created BETWEEN trunc(sysdate) - 30 AND trunc(sysdate)
and object_type='TABLE')
LOOP
EXECUTE IMMEDIATE 'DROP TABLE ' || tbl.owner || '.' || tbl.object_name || ' PURGE';
END LOOP;
END;or
BEGIN
FOR tbl IN (select owner, object_name, created
from dba_objects
where object_name like 'DWTEMP%'
and created BETWEEN add_months(trunc(sysdate), -1) AND trunc(sysdate)
and object_type='TABLE')
LOOP
EXECUTE IMMEDIATE 'DROP TABLE ' || tbl.owner || '.' || tbl.object_name || ' PURGE';
END LOOP;
END;depending on whether you want to go back 30 days or 1 month.
Justin -
How to drop a table in another schema.
Hi there, was looking to drop a table that is currently created under GL schema when consolidation process is done. These tables are kind of temporary and stay there if consolidation process doesn't complete successfully.
So, I'm try to execute a script that would drop the table but the particularity is that this drop isn'T executed by apps but with bolinf (custom user).
So, while trying to delete it with bolinf, I always get an error message that the table doesn't exists or so.
Here's the code
r_gl_int_ctrl.INTERFACE_TABLE_NAME is retreived from gl_interface_control table and from INTERFACE_TABLE_NAME column.
EXECUTE IMMEDIATE 'DROP TABLE GL.' || r_gl_int_ctrl.INTERFACE_TABLE_NAME;
and this generates the following error : ORA-00942: table or view does not exist
R12.0.6
RDBMS 10.2.0.3.0
Custom package under bolinf schema is trying to drop GL.GL_CONS_INTERFACE_38190 and it's not working. Nevertheless, if I install this package under apps, table get dropped.
Is there a way that I can drop a GL table like GL.GL_CONS_INTERFACE_38190 from BOLINF schema ? If so, what privileges/grant should user BOLINF have in order to drop this table from a GL Schema ?
Thank you.Hi;
You need to give drop grant to your user.Easy way is to give
GRANT DROP ANY TABLE TO USER; << but its mean it will give drop grant for all table.
Also see:
OERR: ORA 942 "table or view does not exist" [ID 18536.1]
Regard
Helios -
How to drop all tables in perticular schema??
Hi,
I am new in oracle.
I want to drop all tables in one perticular schema,
Please tell me solution.
PratHameshIf your few of your tables have referential intigrity constraints and trying to drop master table whithout droping child table first, oracle will produce an error.
Better option would be to drop the entire schema and then create a new schema with the same name.
on sql plus.
set long size 20000
select dbms_metadata.get_ddl('USER','USERNAME') from dual;
--then save the above output to create the user later.
drop username cascade
use the above saved script to create the user again.
Jaffar
Maybe you are looking for
-
Query is immediate in sqlplus but doesn't finish in Apex
OK, so i wrote this fairly simple 4 table query for a report. This query when run from SQL Developer or directly in SQL Plus runs and completes in less than a second. I create an APEX application that would run this same query and the report never co
-
Quarterdeck/Starnine Mail replacement (OS X)
Perhaps not the correct forum for this question, but doesn't really fit anywhere else. Small office of about 30 employees. We run a very simple intra-office mail program called Quarterdeck or Starnine mail. The client and server software require OS 9
-
Union of 2 columns in OBIEE 10g
I have 2 columns, Global Amount and Opening Amount, The requirement is to get both sets of amounts into one column. I know I have to do a union of the two but when I try to combine two similar requests, it gives me an error. What is the best way to g
-
I can no longer see my code. I've tried two different .fla files, one I made and one someone sent me, but no luck. Clicking on the first frame on the Actions layer, I either press F9 or right-click and choose actions. The properties panel changes,
-
When I double click the "Macintosh HD" icon, on desktop, the window always appears in list view although I've selected icon view for this window. Can I fix this? Thanks