Packages, function, procedure to access a table
Hello all;Is this possible. I read that somewhere but I don't know if it is possible
Is that what I can write a simple sql statement that basically allows you to determine what packages, functions or procedures are the call or access a table
A simple example will help you.
Also any help is appreciated. Thank you.
You can use the DBA_DEPENDENCIES (or ALL_DEPENDENCIES or USER_DEPENDENCIES depending on the situation). For example, to display all objects that reference the table EMP from the SCOTT schema
SQL> select owner, name, type
2 from dba_dependencies
3 where referenced_owner = 'SCOTT'
4 and referenced_name = 'EMP'
5 and referenced_type = 'TABLE';
OWNER NAME TYPE
------------------------------ ------------------------------ ------------------
SCOTT PKG_EMP PACKAGE BODY
SCOTT V VIEW
SCOTT V2 VIEW
SCOTT EMP_PIPE FUNCTION
SCOTT GIVE_RAISE PROCEDURE
SCOTT P_DIRS PROCEDURE
SCOTT TRG_AUD_EMP TRIGGER
SCOTT ONECUR_PKG PACKAGE
SCOTT V1 VIEW
SCOTT VW_EMP VIEW
SCOTT F2 FUNCTION
OWNER NAME TYPE
------------------------------ ------------------------------ ------------------
SCOTT PKG_EMP PACKAGE
SCOTT IN_UBCC FUNCTION
SCOTT GET_MAX_ROWSCN FUNCTION
14 rows selected.
Justin
Tags: Database
Similar Questions
-
public to package functions and variables via dblink
It is possible to call a public global variable in a package in a database to another package procedure in another database use a database link? If so, could you let me know the syntax? Same question to package functions.Hello
Check this link documentation especially the stmt...
http://www.MCS.csueastbay.edu/support/Oracle/doc/10.2/AppDev.102/b14251/adfns_packages.htm#i1007858You cannot access remote package variables and constants.
Maybe you can write a function in terms of the distance which, once called will returns the value of the variable.
to call remote packaged functions...
[documentation syntax is [[schema.] plan.] function_name[@dblink] [(param_1...param_n)]
an example given in the link above for this...
RUN fire_emp1@boston_server (1043);
Ravi Kumar
Published by: ravikumar.sv on August 31, 2009 11:29
-
Using the procedure to display the table of multiple data
Hi, I need help for the procedure in oracle
I want to create the procedure to display the table of multiples with sample plan
with a parameter imployee_id to display an employee_id, name, function, start_date, end_date
IAM using this query to select more than one table
SELECT e.employee_id, e.first_name, j.job_title, h.start_date, h.end_date
E EMPLOYEES
JOIN j jobs
ON j.job_id = e.job_id
JOIN the job_history:
ON h.employee_id = e.employee_id
WHERE e.employee_id = 200;
Thanks for the help
Blu and Billy showed you the 'real' solution. You can display the data returned by a cursor ref in SQL Developer, too:
http://www.thatjeffsmith.com/archive/2011/12/SQL-Developer-tip-viewing-refcursor-output/
Yet as a duty for a beginner is generally do not have the expected solution. Usually, teachers want to see you using a LOOP and dbms_output. something like
DECLARE
Xy CURSOR IS
SELECT whatever
As much as;
BEGIN
FOR r IN xy LOOP
dbms_output.put_line (r.col1 |' # ' | r.col2);
END LOOP;
END;
Of course this suggestion will inaugurate a discussion abusing DBMS output but I keep my position that it is authorized to use it for learning the basics.
-
[BC] Call a stored procedure taking parameters of table
Hello!
I currently have a request of the OIC that makes thousands of calls per second stored procedure. The stored procedure runs a business logic that I want my client application to stay informed. I want to reduce the cat of the database and instead to call the stored procedure from thousands of times per second, call the procedure (for example) once per second, but with values of one mile.
I used OCIBindArrayOfStruct successfully to perform inserts bulk, where my OCI application executes a () INSERT INTO using the function "iters" and it might be possible to do something similar with the stored procedure, but I want to do something slightly different, because the procedure stored something like this:
* If a specific condition is set, call a secondary stored procedure
* If another special condition is set, insert a row into a table of some
I so wanted to do was to pass a table (or a series of tables) in the stored procedure, then the stored procedure to use optimal methods that are available, such as FORALL, to perform each of the tasks, the more effectively.
So I thought to create a type, such as a TABLE OF VARCHAR2, or a VARRAY and possessing of the parameters for the stored procedure based on this type, something like:
create or replace TYPE 'NTT_VARCHAR2' AS TABLE OF VARCHAR2 (32700);
create or replace FUNCTION bulk_process_values)
p_error_message OUT NOCOPY VARCHAR2,
p_module_context_name OUT NOCOPY VARCHAR2,
p_sql_error OUT NOCOPY VARCHAR2,
p_count in NUMBERS
p_non_array_var_1 IN VARCHAR2,
p_non_array_var_2 IN VARCHAR2,
p_array_var_1 IN NTT_VARCHAR2,
p_array_var_2 IN NTT_VARCHAR2,
p_array_var_3 IN NTT_VARCHAR2
< etc. for all the variables in table >)
RETURN NUMBER
.. .but I am struggling to find an example of how call the procedure "bulk_process_values" stored, and even if I use a TABLE OF VARCHAR2 or a VARRAY as a parameter type.
I searched the Internet and found this: binding table of the structs (OCIBindArrayOfStruct) sample code
- and- but they take different approaches and a bit confused (the second example spoke of OTT).
I think that the first approach is more likely to be the solution I need - but I can't help thinking - it is a bunch of stuff to move if it does not end up significantly improve performance!
My questions are:
* Moves to a call-SP-thousands-of-times-per-second to call-SP-fewer-times-but-with-array-parameters sensitive?
* Should the table or VARRAY, TABLE OF VARCHAR2 parameters or something else?
* Should I use for my case OTT?
Samples I found are both very old - and the second example indicators that the optimal approach evolves with the OCI versions - I'm on 11.2, what is the optimal approach these days?
* < added later > why is there no official useful example?
Thank you very much
Much appreciated. has actually worked, with VARRAY, with a proof of concept. Now I just need to shake a little and then get my PL/SQL for optimal PC experts. I think I was really discouraged by the lack of official documents, with the Community (Paradise) is the only way to get real results.
Thank you JJ.
I intend me to use the binding enforcement of the table and the table and avoid N back and forth, but I do not then get the opportunity to do something clever in the PL/SQL.
In the PL/SQL, there is no logic occurring - I don't call the same SP tons of times, but then I want to be able to use PL/SQL optimizations such as FORALL, BULK COLLECT, reduce the number of validations and others. There is a commit after each SP run, because otherwise the nature of demand means that the application hangs occur; However, there is a way (I think) be smart on the part that is likely to deadlock (making a shape on the Bay First, then applying the updates in the order sorted and then failed to get a blocking theoretically), and then FORALL insert for the second part of the stored procedure.
I guess I may apply the single return, passing a table (to a commit in the SP)-which will reduce back and forth, so gain in performance, but it will not reduce the number of validations that I do - and Oracle said that commits too frequent is not good for performance. I already have code in my framework that does - by making a simple INSERT INTO.
Good to hear that OTT is not explicitly required - and VARRAY resembles the approach to try first.
-
How to check the column updated whereby the package or procedure?
Hi all
Can someone help me how to check the column updated by which the package or procedure
A.Mahesh
Hello.
You can check what object is a reference to the table of the column:
Select *.
of all_dependencies d
where d.REFERENCED_NAME = '
. ' And you can find all the links to the object source data column:
Select *.
of s all_source
where s.name = "
." and s.OWNER = '
. ' and s.TYPE = "
." and as s.TEXT '%
%' -
How the parameter of the procedure with the default table type?
Hello!
How the parameter of the procedure with the default table type?
For example:type varchar2lType is table of varchar2(50) index by binary_integer;
Published by: bullbil on 16.01.2012 06:35create or replace procedure test1 ( s1 varchar2(50) sa2 Varchar2Type ) as begin dbms_output.put_line('yyxxyyy!'); end; /
If he should really be an associative array for some reason any (can't think why, but just for fun...) you could declare a dummy array in the packet header and specify as the default:
create or replace package wr_test as type varchar2ltype is table of varchar2(50) index by pls_integer; g_dflt_varchar2l_tab varchar2ltype; procedure testit ( p_testarray varchar2ltype default g_dflt_varchar2l_tab ); end wr_test; create or replace package body wr_test as procedure testit ( p_testarray varchar2ltype default g_dflt_varchar2l_tab ) is begin dbms_output.put_line('p_testarray contains ' || p_testarray.count || ' elements'); end testit; end wr_test;
It is a bit of a hack, because it relies on a global variable that is exposed. A more orderly approach would overload the procedure so that a version does not have the table and another argument:
create or replace package wr_test as type varchar2ltype is table of varchar2(50) index by pls_integer; procedure testit; procedure testit ( p_testarray varchar2ltype ); end wr_test; create or replace package body wr_test as procedure testit is v_default_array varchar2ltype; begin testit(v_default_array); end testit; procedure testit ( p_testarray varchar2ltype ) is begin dbms_output.put_line('p_testarray contains ' || p_testarray.count || ' elements'); end testit; end wr_test;
-
Find out all the package and procedure names linked using an array of specifc
I have 25 packages
(DBA_SOURCE is not objective).
Each package contains 30-35 procedures
I need to find all packages and procedures
Each procedure handles the Tables from 5 to 20 according to the need of business rule.
I need the entire package and related procedure names where a specific Table name isQuick response appreciated.
Thank you and best regards,It is difficult to help you if you do not want to read what is suggested. The utldtree.sql script will do what you want. Read the first part of the script and it will tell you what it does and how it works:
>
REM $Header: utldtree.sql, v 1.2 1992/10/26 16:24:44 $ RKOOI Stab
REM
REM Copyright (c) 1991 by Oracle Corporation
REM NAME
REM deptree.sql - Show objects recursively depends on given object
REM DESCRIPTION
REM This procedure, temp and table will allow you to see all
Objects REM (recursively) depends on the given object.
REM Note: you will see the objects for which you have permission.
Examples of rem:
REM run deptree_fill ('procedure', 'scott', 'billing');
REM select * from deptree by seq #;
REM
REM Execute deptree_fill ('table', 'scott', 'emp');
REM select * from deptree by seq #;
REM
REM run deptree_fill ("package body ', 'scott', 'accts_payable'");
REM select * from deptree by seq #;
REM
Way prettier REM to display this information only
REM select * from deptree by seq #;
REM is
REM select * from ideptree;
REM This shows the relationship of dependence via indentation. View
REM that no order by clause is necessary with ideptree.
REM RETURNS>
Did you notice the part that says? :
>
REM Execute deptree_fill ('table', 'scott', 'emp');
REM select * from deptree by seq #;>
If you supply a table name, it will display the objects that depend on this table just as you said you want.
Please try this script. -
Function procedures and triggers
Sorry to ask this question,
In oracle. We use the function of triggers and procedures.
for example:
If we wrote a trigger for a table. It fires both to manipulate the table. (database table contains data and database also contains triggers the same function, procedure).
but my questions?: is
In my database, I have not kept only tables. No trigger, no function, no procedures. and
I kept this triggers, function, procedures of data instead of I want kept this function, triggers, procedures in layers of logic (intermediate level)
is it possible? .
If yes means, how to write or where to write? Please help me, otherwise send guidance documents or the blog releated to it.Hi Marie Laura,.
If you want to call the procedures used the following link
http://www.techartifact.com/blogs/2009/04/procedure-calling-in-Oracle-ADF.htmlfor my statement
all logic, triggers can be done using java classes that is attached with the business objects.
This means... in the procedure, you have selection, insertion, updating, and deleting of records in a table...
So map complete things as an object adf...Tables-> object EO
Select the statement - > VO objects
Insert, update, deletion - crud-> dodML() operation, the remove() method in EntityImpl
commit - dbTransaction.commit)
other features... are also can be mapped to specific files, and can be represented as objects adf...That's what I wanted to say, convert the whole procedure into objects of the adf and work on...
I hope you understand now... -
2.1.0.62: problem with Package.Functions and Unit Tests
I like the new Sqldeveloper - I startet try Unit Tests as described here: link: [http://www.oracle.com/technology/obe/11gr2_db_prod/appdev/sqldev/sqldev_unit_test/sqldev_unit_test.htm#t4]
He has worked with a test procedure. Now I'm testing my package functions, but all I get is the following:
---------
Die Prozedur ausgeführt wurde following.
Ausfuhrungsaufruf
BEGIN
: 1: = "PKG_MYPACK". "CREATEFUNCTION"(IN_PROGRAMMEID = >: 2,) "
IN_AMOUNT = >: 3,.
(IN_SWS = >: 4);
END;
Bind-variables verwendet
1 WHOLE (NULL)
INTEGER 2 IN 1
INTEGER FROM 3 TO 10
INTEGER 4 TO 11
Ausfuhrungsergebnisse
ERROR
Ungultige conversion angefordert
oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:439)
oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7723)
oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7496)
oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7978)
oracle.jdbc.driver.OracleCallableStatement.setObject(OracleCallableStatement.java:4063)
oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:221)
oracle.dbtools.raptor.datatypes.strategies.callablestatement.CallableBindingDatum.customBindIN(CallableBindingDatum.java:135)
Oracle. ...
------
What can I do?Created
Bug 8976245 - EA1: UNIT_TEST: CONVERSION not VALID ERROR with the HELP of the INTEGER PARAMETER
and asked the answering machine of bug to keep you informed about the situation here in the forum.Bad news, it is that any INTEGER type parameter for which you specify a non-null value will fail.
Possibly useful new, is that if you create a "clone" of you the function using NUMBER as the data type, you can continue to experiment how unit tests can be useful for you.
Answer no sorry moment. :(
Brian
SQL development team -
Access a table on Oracle 8 worm in Oracle 10 g
Hi all
Could you please tell me how to access a table sitting directly on the version of Oracle 8.1.6 database in Oracle 10 G database. Enjoy your time.
Thank you and best regards,
Ariean.Hello
If you runninng on a client computer, then you can use sql script to extract and use sqlldr to load from it. But if you want to extract using the pl/sql procedure (utl_file) then you must write a procedure that generates the CSV on server 8i db, then you ftp put .csv in shape and use sqlldr. Utl_file in 8i implementation is easy, but it might require a reboot. But in this case, write a small sql script to generate the file (spool) data (csv) and loaded into 10g using sqlldr. Here a little script to genereate a sql script that generates in turn "|" delimited datafile.
Just replace "MY_OBJECTS" with your table name and it will generate the sql script that you can run client to generate .csv ("" | "") bounded. You can change to generate «,»
{code}
SET pagesize 0
SET verify off
SET feedback off
SET linesize 400
SET Termout off
TRIMSPOOL on SET
SET TRIMOUT ONCOIL mytest.sql
SELECT 'spool test.csv' FROM DUAL;
SELECT DISTINCT
«set termout off»
|| CHR (10)
|| 'set feedback off.
|| CHR (10)
|| 'set on '.
|| CHR (10)
|| ' set pagesize 0'
|| CHR (10)
|| 'set linesize 800'
|| CHR (10)
|| "set TRIMOUT on.
|| CHR (10)
|| "set trimspool on."
|| CHR (10)
|| "long set of 2000'.
Of user_tab_columns
WHERE table_name = UPPER ('MY_OBJECTS');SELECT "select".
FROM DUAL;SELECT (CASE
WHEN column_id = 1
THEN
(CASE
WHEN data_type LIKE '% CHAR % '.
THEN
column_name
WHEN data_type = "DATE".
THEN
«to_char (' |)» column_name | ('' DD-MON-YYYY») "
ON THE OTHER
column_name
END)
ON THE OTHER
(CASE
WHEN data_type LIKE '% CHAR %' AND data_length = 4000
THEN
'||''|''|| substr ("|") column_name | 1.4000)"
WHEN data_type LIKE '% CHAR % '.
THEN
'||''|''||' || column_name
WHEN data_type = "DATE".
THEN
'||''|''|| TO_CHAR (')
|| column_name
|| '|'' DD-MON-YYYY ")'
ON THE OTHER
'||''|''||' || column_name
END)
END)
Of user_tab_columns
WHERE table_name = UPPER ("MY_OBJECTS")
ORDER BY column_id;SELECT «|» DELIM "'
FROM DUAL;SELECT "from MY_OBJECTS;"
FROM DUAL;SELECT "off spool.
FROM DUAL;{code}
Concerning
Published by: OrionNet on March 18, 2009 10:15
-
Hello
How to prevent a user not to access a table special (xxx)?
This user has SELECT a TABLE ALL privilege. I need to restrict to only not for access xxx to the table, but this table is not existed in its own schema.
But there is access able as select * from schema.table;
How can I revoke this privilege.
Please help me solve this problem.
Thank you
Lacombe
1623609 wrote:
How can I select privilege on specific tables at the same time?
I want to create a new user and grants the right to select for tables, except a table (xxxx).
It will be possible without the keystone of the database?
One way, in several sql
coil doit.sql
Select ' grant select on ' | owner: '. ' || table_name |' to someuser. »
from dba_tables
where
spool off
Then sanity check "doit.sql" and execute it.
-
How to access the tables in another workspace (same server)?
This is probably simple, but I can't understand it: we have different applications in different areas of work, but on the same server: how I can simply access the tables (just read-only) in a different workspace than the application?
Published by: JJ MAHÉ - Oracle on March 18, 2013 02:07If you really need only Privs-SELECT on tables, it's perhaps easier to grant the privilege to the target schema to your schema.
-
OAF in not recognizing package.function
Dear friends,
I used a function in my application for EXTENSION VO OAF.
It gives the following error... java.sql.SQLException: ORA-00904: "XXSFIPACKAGEVOEXT." "' SFI_EAM_TRANQTY ': invalid identifier.
How to solve help.let .plz know me for any help to clarification.plz.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: 27122 Houston: SQL error in the preparation of the statement. Statement: SELECT * FROM (SELECT concatenated_segments
msi.description
msi.organization_id
primary_uom_code
location_control_code
restrict_locators_code
restrict_subinventories_code
lot_control_code
serial_number_control_code
revision_qty_control_code
eam_item_type
msi.inventory_item_id
msi.padded_concatenated_segments item_code_segment1
msi.description item_description
mOH.LOCATOR_ID
cst.item_cost
moh.subinventory_code sub_inventory_name
mil.segment1 LOCATOR
mcr.cross_reference
xxsfipackagevoext. SFI_EAM_tranqty (moh.organization_id, moh.subinventory_code, Ministry of health. LOCATOR_ID Available_to_transact, msi.inventory_item_id)
sum (moh.primary_transaction_quantity) total_qoh
OF mtl_system_items_kfv msi.
mtl_onhand_quantities_detail Ministry of health,
Mil apps.mtl_item_locations
Apps.mtl_cross_references RCM,
Apps.cst_item_costs cst
WHERE stock_enabled_flag = 'Y '.
AND bom_item_type = 4
AND (eam_item_type IS NULL or eam_item_type = 3)
AND moh.inventory_item_id (+) = msi.inventory_item_id
AND moh.organization_id (+) = msi.organization_id
AND moh.locator_id = mil.inventory_location_id (+)
AND moh.organization_id = mcr.organization_id (+)
AND mcr.cross_reference_type (+) = "SFI_MRO_OLD_PART_NUM".
AND moh.inventory_item_id = mcr.inventory_item_id (+)
AND msi.inventory_item_status_code! = 'Inactive '.
AND msi.item_type! = "AG".
AND msi.item_type! = 'AA '.
AND msi.item_type! = "OP".
AND moh.inventory_item_id = cst.inventory_item_id
AND moh.organization_id = cst.organization_id
- and moh.organization_id = 3159
- and the Ministry of health. INVENTORY_ITEM_ID = 8073
Group of moh.subinventory_code, concatenated_segments, msi.description, msi.organization_id,
primary_uom_code, location_control_code, restrict_locators_code,
restrict_subinventories_code, msi.inventory_item_id,
lot_control_code, serial_number_control_code,
revision_qty_control_code, eam_item_type,
MSI.inventory_item_id,
MSI.padded_concatenated_segments,
MSI. Description,
THE MINISTRY OF HEALTH. LOCATOR_ID,
mil. Segment1, mcr.cross_reference, cst.item_cost,
xxsfipackagevoext. SFI_EAM_tranqty (moh.organization_id, moh.subinventory_code, Ministry of health. LOCATOR_ID, msi.inventory_item_id)
total_qoh desc order) QRSLT WHERE (organization_id = (select distinct organization_id from wip_discrete_jobs where wip_entity_id =: 1)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2704)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1707)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
to _html._OA._jspService(_OA.java:84) oa
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
# # 0 in detail
java.sql.SQLException: ORA-00904: "XXSFIPACKAGEVOEXT." "" SFI_EAM_TRANQTY ": invalid identifier
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:590)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2566)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2963)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:584)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.initQuery(OAViewObjectImpl.java:716)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(OAWebBeanHelper.java:2314)
at oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processFormRequestAfterController(OAListOfValuesHelper.java:1493)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:842)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processFormRequest(OAListOfValuesHelper.java:1399)
at oracle.apps.fnd.framework.webui.beans.layout.OAListOfValuesBean.processFormRequest(OAListOfValuesBean.java:423)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2700)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1707)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
to _html._OA._jspService(_OA.java:84) oa
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
java.sql.SQLException: ORA-00904: "XXSFIPACKAGEVOEXT." "" SFI_EAM_TRANQTY ": invalid identifier
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:590)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2566)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2963)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:584)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.initQuery(OAViewObjectImpl.java:716)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(OAWebBeanHelper.java:2314)
at oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processFormRequestAfterController(OAListOfValuesHelper.java:1493)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:842)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processFormRequest(OAListOfValuesHelper.java:1399)
at oracle.apps.fnd.framework.webui.beans.layout.OAListOfValuesBean.processFormRequest(OAListOfValuesBean.java:423)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2700)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1707)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
to _html._OA._jspService(_OA.java:84) oa
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)Dear Fabrice,
Please check the weather of the database in your data base package.function created or not.
Kind regards
Srinivas -
To access the Tables using DB link.
Hello friends,
I have an env development and production.
I created a public link to DB developing say mylink.
Trying to access the development of production table using the following command say to access x table
Table DEV to access the PROD x using dblink
Select * from x@mylink;
Got the error like:
ORA-02019: description of the connection to the remote database not found
02019 00000 - "description of the connection to the remote database not found"
Any idea on why this error is coming...
Thank you/kumarI have an env development and production.
I created a public link to DB developing say mylink.
Trying to access the development of production table using the following command say to access x table
Table DEV to access the PROD x using dblink
Select * from x@mylink;
You try to run the query in the database of PROD. This query uses a DB link that points to the DEV database.
Very simple to understand: as you use the LINK DB in the PROD database, obviously it should be in the area of PROD... right?
Imagine you use a PROD ("DBLINK") object and it does not exist here. I have it?SELECT * FROM x@mylink;
Here,
x database DEV table
myLink - DB LINK in the database of PROD (pointing to DEV)Please try this.
HTHPublished by: Vanessa B on December 25, 2012 12:24 AM
-
Licensing procedure to create the table for the new user
Hi all
Thank youI have created one new User, and give GRANT CREATE SESSION TO USER. But after that from which grant, i would be able to create table and other object, specially for table.
BrijThe role of resource works in your case, as it consist from under privs
grant resources to
; GRANTEE PRIV NAME -------------------------- -------------------------- RESOURCE | CREATE CLUSTER | CREATE INDEXTYPE | CREATE OPERATOR | CREATE PROCEDURE | CREATE SEQUENCE | CREATE TABLE | CREATE TRIGGER | CREATE TYPE
Please close the message if you feel that you have the answer and to clean the Oracle forum.
https://forums.Oracle.com/forums/Ann.jspa?annID=885
Maybe you are looking for
-
Hey all,. I finally got round to buying an SSD to put in this PC, a crucial MX200 500 GB The drive works perfectly, but I have a little problem with that need a good adapter/drive Bay media. I'm actually now in support Crucial clean but it attaches n
-
I get a flag in the task bar that has a red box attached to it and inside the red zone are a white x. When I click on it it takes me to the center of action and say it detected one or more problems. I tried to solve this problem, but it keeps popping
-
Iexplore.exe process still running in the Task Manager
I was see multiple iexplore.exe processes in the Task Manager when I'm not in IE, so to trouble shoot it I uninstalled IE, run several different scans/squared (which found nothing) and iexplore.exe is still appear in the Task Manager. I guess that it
-
the backup Cloud preventing defragmentation can anyone help please?
Using know-how cloud (wish I had never started it!) Now when I try to defrag computer it stops and tells me:-paused for volume shadow copy? I use XP - can anyone help please?
-
Black screen after restart, and the machine to sign
Send a message to PC-cillan virus my conputer he loses her, so I rebooted it. When he returned to the top of the screen Dell came and then I got floppy diskette seek failure. Strike F1 to continue. I do and it takes a black screen, and the computer i