Ref Curosrs in Oracle 8i
Hi,
Am currently using the Oracle 8i, i have return ref cursors in oracle 10g.. which is working fine.. but when am trying to use the same in Oracle 8i... am facing lot of problems.. could some one help me on this.. Please.
Oracle 10g:
CREATE OR REPLACE PROCEDURE emp_by_dept (
p_deptno emp.deptno%TYPE
IS
emp_refcur SYS_REFCURSOR;
X emp%ROWTYPE;
BEGIN
OPEN emp_refcur FOR SELECT empno, ename FROM emp WHERE deptno = p_deptno;
DBMS_OUTPUT.PUT_LINE('EMPNO ENAME');
DBMS_OUTPUT.PUT_LINE('----- -------');
LOOP
FETCH emp_refcur INTO X;
EXIT WHEN emp_refcur%NOTFOUND;
DBMS_OUTPUT.PUT_LINE(X.EMPNO || ' ' || X.ENAME);
END LOOP;
CLOSE emp_refcur;
END;
Where as 8i Is not working.. i just found that.. we can not do it in 8i using sys refcursor... could some one help me .. little urgent..
SQL> CREATE OR REPLACE PROCEDURE emp_by_dept (
2 p_deptno emp.deptno%TYPE
3 )
4 IS
5 TYPE ref_cursor IS REF CURSOR;
6 emp_refcur ref_cursor;
7 X emp%ROWTYPE;
8 BEGIN
9 OPEN emp_refcur FOR SELECT * FROM emp WHERE deptno = p_deptno;
10 DBMS_OUTPUT.PUT_LINE('EMPNO ENAME');
11 DBMS_OUTPUT.PUT_LINE('----- -------');
12 LOOP
13 FETCH emp_refcur INTO X;
14 EXIT WHEN emp_refcur%NOTFOUND;
15 DBMS_OUTPUT.PUT_LINE(X.EMPNO || ' ' || X.ENAME);
16 END LOOP;
17 CLOSE emp_refcur;
18 END;
19 /
Procedure created.
SQL> EXECUTE emp_by_dept(20);
EMPNO ENAME
7369 SMITH
7566 JONES
7788 SCOTT
7876 ADAMS
7902 FORD
7941 ABCDEFGHIJKLMNOPQRSTUVWXYZAAAAAA
100 %Saubhik%
PL/SQL procedure successfully completed.
Similar Messages
-
Using Implicit REF Cursor in Oracle DB 12c
For those interested in using ODP.NET implicit REF Cursors in Oracle DB 12c, the syntax is different from what was available in Oracle 11g. Here's a 12c-specific example:
=======================
Create or Replace PROCEDURE GetEmpAndDept
AS
EMPS sys_refcursor;
DEPTS sys_refcursor;
BEGIN
OPEN EMPS for SELECT empno, ename from emp;
dbms_sql.return_result(EMPS);
OPEN DEPTS for SELECT deptno, dname from dept;
dbms_sql.return_result(DEPTS);
END;
=======================
// C#
OracleConnection conn = new OracleConnection("User Id=scott; Password=tiger);
conn.Open(); // Open the connection to the database
// Create the command object for executing cmdTxt
OracleCommand cmd = new OracleCommand("GetEmpAndDept", conn);
cmd.CommandType = CommandType.StoredProcedure;
OracleDataReader rdr = cmd.ExecuteReader();
while(rdr.Read())
Console.WriteLine("{0}\t{1}", rdr.GetInt32(0), rdr.GetString(1) );
rdr.NextResult();
while(rdr.Read())
Console.WriteLine("{0}\t{1}", rdr.GetInt32(0), rdr.GetString(1) );i am using Oracle.ManagedDataAccess.dll v4.121.1.0
Oracle Data Base 12c
Visual Studio 2012 .net framework 4
But if I use Unmanaged Dll I get implicit results in my .net application. -
How to open a Ref cursor in Oracle Reports
I have a stored procedure that returns a ref cursor as an output parameter. I want to call this stored procedure in Oracle Reports After Form trigger. I am having trouble with the syntax of the output parameter. Event_record is the name of the cursor.
After Form Trigger
pkg_DEAL_WHITESHEET_CONCERTS.prc_Event_Information(:p_field_6,event_record);
Error: Event_record must be declaredRe-Write the procedure as Package Spec and Body. Declare the REFCursor in the Package Spec. Probably that helps.
-
Using plsql table and ref cursor in oracle forms 10g
Hi all,
Can anyone give me an example of a scenario where we need to create a form manually based on a database stored procedures.
And in that procedure i have created a pl/sql table and a ref cursor in data base level.
CREATE OR REPLACE PACKAGE SCOTT.BONUS_PKG IS TYPE bonus_rec
IS RECORD(
empno bonus_EMP.empno%TYPE,
ename bonus_EMP.ename%TYPE,
job bonus_EMP.job%TYPE,
sal bonus_EMP.sal%TYPE,
comm bonus_EMP.comm%TYPE);
TYPE b_cursor IS REF CURSOR RETURN bonus_rec;
TYPE bontab IS TABLE OF bonus_rec INDEX BY BINARY_INTEGER;
PROCEDURE bonus_refcur(bonus_data IN OUT b_cursor);
PROCEDURE bonus_query(bonus_data IN OUT bontab);
END bonus_pkg;
CREATE OR REPLACE PACKAGE BODY SCOTT.BONUS_PKG IS
PROCEDURE bonus_query(bonus_data IN OUT bontab) IS
ii NUMBER;
CURSOR bonselect IS
SELECT empno, ename, job, sal, comm FROM bonus_EMP ORDER BY empno;
BEGIN
OPEN bonselect;
ii := 1;
LOOP
FETCH bonselect INTO
bonus_data( ii ).empno,
bonus_data( ii ).ename,
bonus_data( ii ).job,
bonus_data( ii ).sal,
bonus_data( ii ).comm;
EXIT WHEN bonselect%NOTFOUND;
ii := ii + 1;
END LOOP;
END bonus_query;
PROCEDURE bonus_refcur(bonus_data IN OUT b_cursor) IS
BEGIN
OPEN bonus_data FOR SELECT empno, ename, job, sal, comm FROM bonus_EMP ORDER BY empno;
END bonus_refcur;
END bonus_pkg;
i want to populate the data in forms manually not using forms data block wizard and programmatically.
please reply...Can anyone give me an example of a scenario where we need to create a form manually based on a database stored procedures.Typically, you would use a procedure based block when you have a collection of data from multiple tables presented in a Form and your user needs to be able to update the information displayed.
From your code example, it looks like you are using Oracle Support document "Basing a Block on a Stored Procedure - Sample Code [ID 66887.1]". If this is the case, keep following the document - it walks you through all of the steps. There is no need to Manually configure things that the Data Block Wizard will perform for you!
i want to populate the data in forms manually not using forms data block wizard and programmatically. Why? Let the Data Block Wizard take care of configuring your block based on a procedure for you. There is no need to manually loop through the data! I've actually done what you are attempting and it was more work than was needed. Let Forms do the work for you. :)
If you absolutely must do things manually, I recommend you use the PROCEDURE bonus_query(bonus_data IN OUT bontab) instead of the bonus_refcur(bonus_data IN OUT b_cursor) . Then, in your code create a variable of type BONTAB and then call the bonus_query procedure. Then it is a simple case of looping through the table of records returned by the bonus_query procedure. For example:
DECLARE
t_bonus bonus_pkb.bontab;
BEGIN
bonus_pkg.bonus_query(t_bonus);
FOR i in 1 .. t_bonus.count LOOP
:YOUR_BLOCK.EMPLOYEE_NUMBER := t_bonus(i).empno;
:YOUR_BLOCK.EMPLOYEE_NAME := t_bonus(i).ename;
:YOUR_BLOCK.EMPLOYEE_JOB := t_bonus(i).job;
:YOUR_BLOCK.EMPLOYEE_SALARY := t_bonus(i).sal;
:YOUR_BLOCK.EMPLOYEE_COMMISSION := t_bonus(i).comm;
END LOOP;
END;This code sample demonstrates the basics, but as it is sample code - you will have to adapt it to your situation.
Also, I strongly recommend you look at the article InoL listed. This is a very comprehensive discussion on REF CURSORs. If you are set on using a procedure based data source - it is more efficient to pass the table of records back to your form than it is to pass a ref cursor. Using a ref cursor, you might as well just using a standard named cursor and loop through your named cursor. The effect is the same (one row returned at a time creating lots of network traffic). Using the table of records is more efficient because the entire data set is returned so network traffic is reduced.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
Is it so we can provide only one ref-cursor in a package...
Any help on this...
Thanks and Regards,
Kapil UppalHi,
Why do you want to use Dynamic SQL here? Can you exlain in a bit more detail?
And if you do that, please mention your database version as well...
I read dbms_sql built-in package can be used but not finding a good example on how to do this.Where did you read that?
Examples regarding DBMS_SQL can be found by doing a search on this forum and on http://asktom.oracle.com
Besides DBMS_SQL you can also use EXECUTE IMMEDIATE, did you know that?
Examples are also documented by Oracle @ http://tahiti.oracle.com -
Not able to refer 64-bit oracle.dataaccess.dll from GAC
Hi,
I have installed 64-bit oracle 11g client with ODP.net and deployed Oracle.DataAccess.dll in GAC(it is deployed to C:\Windows\Microsoft.NET\assembly\GAC_64\Oracle.DataAccess). But i am not able to refer this dll in a project in visual studio 2010, it is not appearing in "Add reference" window. Please help me in resolving this issue. My system is a 64-bit machine.
I didn't face this problem in 32-bit machine. In 32-bit machine, I installed 32-bit oracle 11g client and deployed Oracle.DataAccess.dll in GAC (it is deployed to C:\Windows\Microsoft.NET\assembly\GAC_32\Oracle.DataAccess). I was able to refer this dll in project in visual studio 2010.
Regards,
Kiran.Please move this thread to a relevant forum. Best bet is {forum:id=146}. (Even better probably is some MS forum for VS 2010, as it seems VS specific.)
-
Passing Ref Cursor to Oracle Stored Procedure Via C#
Hi all,
I am new to oracle and stuck with an issue. I have three insert stored procedures for three different tables. Two of them have multiple rows to be inserted, which is currently done via iterating through each row and insert to db in C# code. My requirement is to merge these three procedures in one and instead of iterating from C# code send table rows as (ref cursor or collection) to procedure and the procedure will handle the rest.
I read that ref cursor only works if you're data is in database as it reference the memory but in my case data is build on client side.
I am using Oracle 11i and ASP.Net 2.0
Can any help me on this please?
Edited by: 929463 on Apr 23, 2012 12:38 AM929463 wrote:
I am new to oracle and stuck with an issue. I have three insert stored procedures for three different tables. Two of them have multiple rows to be inserted, which is currently done via iterating through each row and insert to db in C# code. My requirement is to merge these three procedures in one and instead of iterating from C# code send table rows as (ref cursor or collection) to procedure and the procedure will handle the rest.Why a single procedure? How is the procedure to determine the target table to insert the data into? And please - no dynamic SQL as that is 99% of the time wrong.
A ref cursor is something that PL/SQL creates - with the purpose of passing the cursor handle to your code. This enables the actual SQL statement for that cursor to be moved from client code, into a PL/SQL stored proc. It abstracts the client from having to understand SQL, understand the data model and so on. All clients use the same PL/SQL proc and thus the same code for creating that cursor. Thus no issue of some clients getting it half right or half wrong and dealing with data inconsistencies between clients.
The PL/SQL proc can be tuned and optimised, modified for catering for data model changes and so on. Without your client code having to be even recompiled as it is isolated against these server changes.
For all other interaction (running PL/SQL code, doing insert/update/delete/etc SQL statements), you need to create the cursor yourself in your code.
Also, the SQL engine only sees cursors. There are no differences between cursors. The client (e.g. PL/SQL) can call it a reference cursor, or an implicit cursor, or a DBMS_SQL cursor.. the SQL engine does not know that and does not care.
A ref cursor is simply a special type of client interface to a SQL cursor, allowing PL/SQL to create that SQL cursor and then pass the handle of that SQL cursor to other code to consume that cursor.
Okay, so if you want to insert data, you need in your code to create a cursor. This can be a SQL INSERT cursor - the actual insert statement. Or it can be a PL/SQL call - an anonymous PL/SQL code block that calls a stored proc that performs the insert (after applying validation and business logic).
The cursor will have one or more bind variables. Your client will pass values for these variables and the server-side code (SQL or PL/SQL) will be executed using this as variable data.
You can for example create a cursor as follows:
begin
DoFunkyInsert( :1, :2, :3 );
end;
{code}
3 bind variables are expected. You can now in the client build an array for each of these variables, containing a 100 values each (total of a 100 rows to insert). Do a single execute of the cursor, and tell Oracle that the bind is actually a 100 element array.
The complete array ships to Oracle - Oracle opens a loop and execute the cursor for each element in the array.
This is called bulk binding.
An alternative approach is to define the bind variable as a collection (a non-scalar value). And then code the PL/SQL procedure to open a loop and iterate through the collection/array, inserting a row per iteration.
The binding itself is more complex as your code know needs to understand Oracle object types and be able to define an array/collection that is a valid Oracle non-scalar data type.
The +Oracle Call Interface+ (OCI) is quite flexible in this regard. However, as you work via an abstraction layer (e.g. ADO, OleDB, ODBC, etc) your code is subject to whatever functionality this abstraction layer makes available to your code. And this is seldom includes all the power, functionality and flexibility of the (more complex) OCI itself. -
I put Oracle in the subject just as an example. I want to know if I can connect the reference implementation to relational databases other than Cloudscape?
I would appreciate some ideas on how I would go about this. I have a Personal Edition of Oracle so that will be what I use.
ThanksYes. You can connect to any database for which there exists a JDBC driver.
See http://www.javasoft.com/j2ee/j2sdkee/techdocs/release/ConfigGuide.html#12442 to read about configuring JDBC drivers in j2ee server. -
Ref Cursor Problem in Oracle Forms 6i
Hi all.
In Oracle Forms 6i, can not I do this?
DECLARE
TYPE CUR_REF IS REF CURSOR;
CUR_PRODUCTS CUR_REF;
VAR_QUERY VARCHAR2(3000) := 'SELECT something FROM table';
BEGIN
OPEN CUR_PRODUCTS FOR VAR_QUERY;
END;
It generates error on opening that it expects a SELECT statement.
How can I open a dynamic ref cursor in Oracle Forms 6i??? The same thing works fine in PL/SQL.
Regards,
Zaaf
Thanks in advance.It could be like this:
PROCEDURE dynamic_cursor ( PC$Clause IN Varchar2 )
IS
cursor_number EXEC_SQL.CursType;
-- Variables for the data to be returned into
LC$ACTYPE Number;
-- Control variables
LN$count Number;
LC$sql_order Varchar2(256);
BEGIN
-- Open the cursor --
cursor_number := Exec_SQL.Open_cursor;
-- build the complete SQL order --
LC$sql_order := PC$clause ;
-- Parse the SQL order --
EXEC_SQL.PARSE(cursor_number, LC$sql_order);
-- Define the columns for the data to be returned --
EXEC_SQL.DEFINE_COLUMN(cursor_number,1,LC$ACTYPE);
-- Execute the Cursor --
LN$count := EXEC_SQL.EXECUTE(cursor_number);
-- Loop and fetch each row from the result set --
While EXEC_SQL.FETCH_ROWS(cursor_number) > 0 Loop
EXEC_SQL.COLUMN_VALUE(cursor_number,1,LC$ACTYPE);
begin
select chqfac, pasfac, indbcr ,
staxfl, excise, incchg, cat001 , trntyp , subtyp
into s_chkbok, s_pasbok, s_intber,
s_staxfl, s_excise, s_incchg, s_cat001 , ss_trntyp , ss_subtyp
from stfeacty
where brancd = s_brancd
and actype = LC$ACTYPE;
s_actype := LC$ACTYPE ;
exception
when no_data_found then
NULL;
when too_many_rows then
NULL;
end;
End Loop ;
-- Close the cursors
EXEC_SQL.CLOSE_CURSOR(cursor_number);
EXCEPTION
When EXEC_SQL.INVALID_CONNECTION Then
message('Unexpected Invalid Connection error from EXEC_SQL');
When EXEC_SQL.PACKAGE_ERROR Then
message('Unexpected error from EXEC_SQL: '||to_char(EXEC_SQL.LAST_ERROR_CODE)|| EXEC_SQL.LAST_ERROR_MESG);
If EXEC_SQL.IS_OPEN(cursor_number) Then
EXEC_SQL.CLOSE_CURSOR(cursor_number);
message('Exception - Cleaned up Cursor');
End if;
END; That you could call with the following:
dynamic_cursor('SELECT ac_type FROM SYSADM.SAVINGS');But, if the query is as simple with only the table name change, you could aslo use a simpliest solution based on a record group.
Francois -
REF Cursor in Forms 4.5
I am using forms 4.5. I have a function whcih returns cursor. I would like to store the return values in Forms cursor variable and iterate thru the result set. When I declare TYPE cname IS REF CUROSOR I get compilation error. Is it possible to declare REF CURSOR in forms 4.5 . Help is greatly appreciated
Thanks. Is there any way I can capture the ref curosr (or resultset) passed from server from the oracle forms. The purpose is to call the function from the forms with a table id which will return a resultset which is the items in the list , which is used to populate list in forms. To have a centralised location for list elements.
Is there any package on forms which can be used to capture the returned resultset, pl. let me know -
Error in installing Oracle client 11g on Windows 2008 R2 (64bit) XenApp 6
I am trying to install "win64_11gR2_client.zip" Oracle 11g Client 64bit on Windows 2008 R2 that has been clamped and restricted by our security department. Details of the clamp:
http://support.microsoft.com/kb/885409
The Windows 2008 R2 server is running on CITRIX XenApp 6.
When we try to install the client on a normal version of Windows 2008 R2 without the Clamp, the installation follows through and successfully. However, when we try to install the 11g Client on the Clamped Windows 2008 R2, we get the error below:
[INS-08802] Unable to instantiate the View class referred by View ID 'SummaryUI'
This indicates the primary issue is with the clamp. My issue now is knowing what exactly is causing the error. what restrictions should I enable from the clamp in order to get the installation working?
Here is the error log:
Error log:
INFO: Loading data from: jar:file:/C:/Users/setupc/AppData/Local/Temp/OraInstall2011-10-10_04-13-35PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
INFO: Loading beanstore from jar:file:/C:/Users/setupc/AppData/Local/Temp/OraInstall2011-10-10_04-13-35PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
INFO: Restoring class oracle.install.driver.oui.ConfigCmdMappings from jar:file:/C:/Users/setupc/AppData/Local/Temp/OraInstall2011-10-10_04-13-35PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
INFO: Verifying target environment...
INFO: Checking whether the IP address of the localhost could be determined...
INFO: Completed verification of target environment.
INFO: Inventory exists: false
INFO: Registering setup bean
INFO: Building Flow
INFO: Building the flow graph
INFO: Loaded state init
INFO: Loaded state clientInstallType
INFO: Loaded state productLanguage
INFO: Loaded state getOracleHome
INFO: Loaded state prereqExecutionDecider
INFO: Loaded state checkPrereqs
INFO: Loaded state postPrereqs
INFO: Loaded state summary
INFO: Loaded state clientCustomInstall
INFO: Loaded state schedulerAgent
INFO: Loaded state mtsDialog
INFO: Loaded state setup
INFO: Loaded state finish
INFO: Linking states
INFO: State[checkPrereqs]: route=success; to=summary
INFO: State[clientCustomInstall]: route=TO_ENDCUSTOM; to=prereqExecutionDecider
INFO: State[clientCustomInstall]: route=TO_ORAMTS; to=mtsDialog
INFO: State[clientCustomInstall]: route=TO_SCHEDULERAGENT; to=schedulerAgent
INFO: State[clientInstallType]: route=ic_no; to=productLanguage
INFO: State[clientInstallType]: route=ic_yes; to=getOracleHome
INFO: State[getOracleHome]: route=INVENTORY_NO; to=prereqExecutionDecider
INFO: State[getOracleHome]: route=INVENTORY_NO_CUSTOM_YES; to=clientCustomInstall
INFO: State[getOracleHome]: route=INVENTORY_YES; to=prereqExecutionDecider
INFO: State[getOracleHome]: route=INVENTORY_YES_CUSTOM_YES; to=clientCustomInstall
INFO: State[init]: route=success; to=clientInstallType
INFO: State[mtsDialog]: route=success; to=prereqExecutionDecider
INFO: State[postPrereqs]: route=CUSTOM; to=clientCustomInstall
INFO: State[postPrereqs]: route=NON_CUSTOM; to=summary
INFO: State[prereqExecutionDecider]: route=executeprereqs; to=checkPrereqs
INFO: State[prereqExecutionDecider]: route=ignoreprereqs; to=summary
INFO: State[productLanguage]: route=productlanguage_yes; to=getOracleHome
INFO: State[schedulerAgent]: route=TO_ENDCUSTOM; to=prereqExecutionDecider
INFO: State[schedulerAgent]: route=TO_ORAMTS; to=mtsDialog
INFO: State[setup]: route=success; to=finish
INFO: State[summary]: route=success; to=setup
INFO: Successfully built the flow
INFO: Opening bean stores from which the beans can be loaded
INFO: Loading beanstore from a given input stream
INFO: Translating external format into raw format
INFO: Registering the flow data beans
INFO: [INS-07001] Value for property 'INSTALL_TYPE' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_WindowsSystemDirectory' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_LaunchNetCA' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_NoMigration' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_RACInstall' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_ConfigurationType' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_InstallType' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_InstallEdition' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_client_CustomComponents' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_client_OraMTSPortNumber' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_client_SchedulerAgentHostName' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_client_SchedulerAgentPortNumber' not found in the bean store.
INFO: [INS-07001] Value for property 'ORACLE_HOME' not found in the bean store.
INFO: [INS-07001] Value for property 'FROM_LOCATION' not found in the bean store.
INFO: [INS-07001] Value for property 'ORACLE_BASE' not found in the bean store.
INFO: [INS-07001] Value for property 'TOPLEVEL_COMPONENT' not found in the bean store.
INFO: [INS-07001] Value for property 'TopLevelComponentVersion' not found in the bean store.
INFO: [INS-07001] Value for property 'UNIX_GROUP_NAME' not found in the bean store.
INFO: [INS-07001] Value for property 'INVENTORY_LOCATION' not found in the bean store.
INFO: [INS-07001] Value for property 'SELECTED_LANGUAGES' not found in the bean store.
INFO: [INS-07001] Value for property 'COLLECTOR_RESPONSE_FILE' not found in the bean store.
INFO: [INS-07001] Value for property 'MYORACLESUPPORT_USERNAME' not found in the bean store.
INFO: [INS-07001] Value for property 'MYORACLESUPPORT_PASSWORD' not found in the bean store.
INFO: [INS-07001] Value for property 'DECLINE_SECURITY_UPDATES' not found in the bean store.
INFO: [INS-07001] Value for property 'PROXY_HOST' not found in the bean store.
INFO: [INS-07001] Value for property 'PROXY_PORT' not found in the bean store.
INFO: [INS-07001] Value for property 'PROXY_USER' not found in the bean store.
INFO: [INS-07001] Value for property 'PROXY_PWD' not found in the bean store.
INFO: [INS-07001] Value for property 'SECURITY_UPDATES_VIA_MYORACLESUPPORT' not found in the bean store.
INFO: [INS-07001] Value for property 'COLLECTOR_IGNORE_FAILURES' not found in the bean store.
INFO: [INS-07001] Value for property 'COLLECTOR_IGNORE_CONFIGURATION' not found in the bean store.
INFO: [INS-07001] Value for property 'ORACLE_HOSTNAME' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_WindowsSystemDirectory' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_LaunchNetCA' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_NoMigration' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_RACInstall' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_db_ConfigurationType' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_db_InstallType' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_db_InstallEdition' not found in the bean store.
WARNING: [INS-07001] Value for property 'FROM_LOCATION' not found in the bean store.
WARNING: [INS-07001] Value for property 'TOPLEVEL_COMPONENT' not found in the bean store.
WARNING: [INS-07001] Value for property 'TopLevelComponentVersion' not found in the bean store.
WARNING: [INS-07001] Value for property 'OCMSettings' not found in the bean store.
INFO: Set value for bean ClientSetupBean
INFO: [INS-07001] Value for property 'INSTALL_TYPE' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_WindowsSystemDirectory' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_LaunchNetCA' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_NoMigration' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_RACInstall' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_ConfigurationType' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_InstallType' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_InstallEdition' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_client_CustomComponents' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_client_OraMTSPortNumber' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_client_SchedulerAgentHostName' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_client_SchedulerAgentPortNumber' not found in the bean store.
INFO: [INS-07001] Value for property 'ORACLE_HOME' not found in the bean store.
INFO: [INS-07001] Value for property 'FROM_LOCATION' not found in the bean store.
INFO: [INS-07001] Value for property 'ORACLE_BASE' not found in the bean store.
INFO: [INS-07001] Value for property 'TOPLEVEL_COMPONENT' not found in the bean store.
INFO: [INS-07001] Value for property 'TopLevelComponentVersion' not found in the bean store.
WARNING: Failed to load bean oracle.install.ivw.client.bean.ClientInstallSettings. Reason: [INS-07001] Value for property 'ClientInstallSettings' not found in the bean store.
INFO: Closing bean stores from which the beans can be loaded
INFO: Registering the flow views
INFO: Adding View[type: oracle.install.commons.base.interview.common.view.PrereqGUI viewId: null uiType: null]
INFO: oracle.install.commons.base.interview.common.view.PrereqGUI added to View Type Registry with the key as [PrereqUI]
INFO: Adding View[type: oracle.install.commons.base.interview.common.view.SummaryGUI viewId: null uiType: null]
INFO: oracle.install.commons.base.interview.common.view.SummaryGUI added to View Type Registry with the key as [SummaryUI]
INFO: Adding View[type: oracle.install.commons.base.interview.common.view.SetupGUI viewId: null uiType: null]
INFO: oracle.install.commons.base.interview.common.view.SetupGUI added to View Type Registry with the key as [SetupUI]
INFO: Adding View[type: oracle.install.ivw.common.view.ProductLanguageGUI viewId: ProductLanguageUI uiType: null]
INFO: oracle.install.ivw.common.view.ProductLanguageGUI added to View Type Registry with the key as [ProductLanguageUI]
INFO: Adding View[type: oracle.install.ivw.client.view.CustomInstallGUI viewId: null uiType: null]
INFO: oracle.install.ivw.client.view.CustomInstallGUI added to View Type Registry with the key as [CustomInstallUI]
INFO: Adding View[type: oracle.install.ivw.client.view.SchedulerAgentGUI viewId: null uiType: null]
INFO: oracle.install.ivw.client.view.SchedulerAgentGUI added to View Type Registry with the key as [SchedulerAgentUI]
INFO: Adding View[type: oracle.install.ivw.client.view.OraMTSGUI viewId: null uiType: null]
INFO: oracle.install.ivw.client.view.OraMTSGUI added to View Type Registry with the key as [OraMTSUI]
INFO: Adding View[type: oracle.install.ivw.client.view.InstallLocationGUI viewId: null uiType: null]
INFO: oracle.install.ivw.client.view.InstallLocationGUI added to View Type Registry with the key as [InstallLocationUI]
INFO: Adding View[type: oracle.install.ivw.client.view.InstallTypesGUI viewId: null uiType: null]
INFO: oracle.install.ivw.client.view.InstallTypesGUI added to View Type Registry with the key as [InstallTypesUI]
INFO: Adding View[type: oracle.install.ivw.client.view.FinishGUI viewId: null uiType: null]
INFO: oracle.install.ivw.client.view.FinishGUI added to View Type Registry with the key as [FinishUI]
INFO: Initial values of Setup Properties :
PROPERTY VALUE
COLLECTOR_IGNORE_CONFIGURATION false
COLLECTOR_IGNORE_FAILURES false
COLLECTOR_RESPONSE_FILE
DECLINE_SECURITY_UPDATES false
FROM_LOCATION C:\Dev Citrix Tools\Oracle Tools\Oracle 11g client Releas
e 2\client\install\../stage/products.xml
INSTALL_TYPE InstantClient
MYORACLESUPPORT_PASSWORD Protected value, not to be logged
MYORACLESUPPORT_USERNAME
ORACLE_BASE
ORACLE_HOME
ORACLE_HOSTNAME mndwg068cs.rad.afpaa.r.mil.uk
PROXY_HOST
PROXY_PORT
PROXY_PWD Protected value, not to be logged
PROXY_USER
SECURITY_UPDATES_VIA_MYORACLESUPPORT true
SELECTED_LANGUAGES {"en","en_GB"}
oracle_install_LaunchNetCA false
oracle_install_NoMigration true
oracle_install_RACInstall false
oracle_install_WindowsSystemDirectory
oracle_install_client_OraMTSPortNumber 49155
oracle_install_db_ConfigurationType
oracle_install_db_InstallEdition EE
oracle_install_db_InstallType
INFO: Launching Oracle Client Installer
INFO: Started executing the flow in INTERACTIVE mode
INFO: Waiting for completion of background operations
INFO: Finishing all forked tasks at state init
INFO: Waiting for completion all forked tasks at state init
INFO: All forked task are completed at state init
INFO: Completed background operations
INFO: Executing action at state init
INFO: Completed executing action at state <init>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <init>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <init>
INFO: Completed validating view at state <init>
INFO: Validating state <init>
WARNING: Validation disabled for the state init
INFO: Completed validating state <init>
INFO: Verifying route success
INFO: Get view named [InstallTypesUI]
INFO: size estimation for InstantClientinstall is 199.0705451965332
INFO: size estimation for Administratorinstall is 1068.0003070831299
INFO: size estimation for Runtimeinstall is 751.6538038253784
INFO: View for [InstallTypesUI] is oracle.install.ivw.client.view.InstallTypesGUI@2398dc19
INFO: Initializing view <InstallTypesUI> at state <clientInstallType>
INFO: InstallTypesPane installType is: InstantClient
INFO: Completed initializing view <InstallTypesUI> at state <clientInstallType>
INFO: Displaying view <InstallTypesUI> at state <clientInstallType>
INFO: Completed displaying view <InstallTypesUI> at state <clientInstallType>
INFO: Loading view <InstallTypesUI> at state <clientInstallType>
INFO: Completed loading view <InstallTypesUI> at state <clientInstallType>
INFO: Localizing view <InstallTypesUI> at state <clientInstallType>
INFO: size estimation for InstantClientinstall is 199.0705451965332
INFO: size estimation for Administratorinstall is 1068.0003070831299
INFO: size estimation for Runtimeinstall is 751.6538038253784
INFO: Completed localizing view <InstallTypesUI> at state <clientInstallType>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state clientInstallType
INFO: Completed executing action at state <clientInstallType>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <clientInstallType>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Client Install Type set in InstallTypeUI is : Runtime
INFO: Validating view at state <clientInstallType>
INFO: Completed validating view at state <clientInstallType>
INFO: Validating state <clientInstallType>
WARNING: Validation disabled for the state clientInstallType
INFO: Completed validating state <clientInstallType>
INFO: In Transition of InstallTypesAction:
INFO: Verifying route ic_no
INFO: Get view named [ProductLanguageUI]
INFO: View for [ProductLanguageUI] is oracle.install.ivw.common.view.ProductLanguageGUI@1875a340
INFO: Initializing view <ProductLanguageUI> at state <productLanguage>
INFO: Completed initializing view <ProductLanguageUI> at state <productLanguage>
INFO: Displaying view <ProductLanguageUI> at state <productLanguage>
INFO: Completed displaying view <ProductLanguageUI> at state <productLanguage>
INFO: Loading view <ProductLanguageUI> at state <productLanguage>
INFO: Completed loading view <ProductLanguageUI> at state <productLanguage>
INFO: Localizing view <ProductLanguageUI> at state <productLanguage>
INFO: Completed localizing view <ProductLanguageUI> at state <productLanguage>
INFO: Fetching Available Languages...
INFO: Waiting for completion of background operations
INFO: Finishing all forked tasks at state productLanguage
INFO: Waiting for completion all forked tasks at state productLanguage
INFO: All forked task are completed at state productLanguage
INFO: Completed background operations
INFO: Executing action at state productLanguage
INFO: Completed executing action at state <productLanguage>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <productLanguage>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: The languages in which the product will be installed are [en, en_GB]
INFO: Validating view at state <productLanguage>
INFO: Completed validating view at state <productLanguage>
INFO: Validating state <productLanguage>
INFO: Using default Validator configured in the Action class oracle.install.ivw.common.action.ProductLanguageAction
INFO: Completed validating state <productLanguage>
INFO: Verifying route productlanguage_yes
INFO: Get view named [InstallLocationUI]
WARNING: Active Help Content for InstallLocationPane.cbxOracleBases do not exist. Error :Can't find resource for bundle oracle.install.ivw.client.resource.ContextualHelpResource, key InstallLocationPane.cbxOracleBases.conciseHelpText
WARNING: Active Help Content for InstallLocationPane.cbxSoftwareLoc do not exist. Error :Can't find resource for bundle oracle.install.ivw.client.resource.ContextualHelpResource, key InstallLocationPane.cbxSoftwareLoc.conciseHelpText
INFO: View for [InstallLocationUI] is oracle.install.ivw.client.view.InstallLocationGUI@15837e8
INFO: Initializing view <InstallLocationUI> at state <getOracleHome>
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: Completed initializing view <InstallLocationUI> at state <getOracleHome>
INFO: Displaying view <InstallLocationUI> at state <getOracleHome>
INFO: Completed displaying view <InstallLocationUI> at state <getOracleHome>
INFO: Loading view <InstallLocationUI> at state <getOracleHome>
INFO: Completed loading view <InstallLocationUI> at state <getOracleHome>
INFO: Localizing view <InstallLocationUI> at state <getOracleHome>
INFO: Completed localizing view <InstallLocationUI> at state <getOracleHome>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state getOracleHome
INFO: Completed executing action at state <getOracleHome>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <getOracleHome>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <getOracleHome>
INFO: Completed validating view at state <getOracleHome>
INFO: Validating state <getOracleHome>
INFO: custom prereq file name: oracle.client_Runtime.xml
INFO: refDataFile: C:\Dev Citrix Tools\Oracle Tools\Oracle 11g client Release 2\client\stage\cvu\oracle.client_Runtime.xml
INFO: isCustomRefDataFilePresent: false
INFO: InstallAreaControl exists: false
INFO: Checking:NEW_HOME
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:COMP
INFO: Checking:ORCA_HOME
INFO: Reading shiphome metadata from C:\Dev Citrix Tools\Oracle Tools\Oracle 11g client Release 2\client\install\..\stage\shiphomeproperties.xml
INFO: Loading beanstore from file:/C:/Dev Citrix Tools/Oracle Tools/Oracle 11g client Release 2/client/install/../stage/shiphomeproperties.xml
INFO: Translating external format into raw format
INFO: Restoring class oracle.install.driver.oui.ShiphomeMetadata from file:/C:/Dev Citrix Tools/Oracle Tools/Oracle 11g client Release 2/client/install/../stage/shiphomeproperties.xml
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: inventory location isC:\Program Files\Oracle\Inventory
INFO: size estimation for Runtimeinstall is 751.6538038253784
INFO: PATH has :==>C:\Users\setupc\AppData\Local\Temp\OraInstall2011-10-10_04-13-35PM\jdk\jre\bin;.;C:\Windows\system32;C:\Windows;D:\ORADEV10g\jdk\jre\bin\classic;D:\ORADEV10g\jdk\jre\bin;D:\ORADEV10g\jdk\jre\bin\client;D:\ORADEV10g\jlib;D:\ORADEV10g\bin;D:\ORADEV10g\jre\1.4.2\bin\client;D:\ORADEV10g\jre\1.4.2\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\CA\SharedComponents\ScanEngine;C:\Program Files\CA\SharedComponents\CAUpdate\;C:\Program Files\CA\SharedComponents\ThirdParty\;C:\Program Files\CA\SharedComponents\SubscriptionLicense\;C:\Program Files\CA\eTrustITM;C:\Program Files (x86)\Citrix\system32\;C:\Program Files (x86)\Citrix\System32\Citrix\IMA;C:\Program Files (x86)\Citrix\System32\Citrix\IMA\Subsystems;C:\Windows\System32\Citrix\IMA;C:\Program Files (x86)\Citrix\system32;C:\Program Files (x86)\Common Files\Citrix\System32\
INFO: Completed validating state <getOracleHome>
INFO: InstallLocationAction to INVENTORY_NO
INFO: Verifying route INVENTORY_NO
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state prereqExecutionDecider
INFO: Completed executing action at state <prereqExecutionDecider>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <prereqExecutionDecider>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <prereqExecutionDecider>
INFO: Completed validating view at state <prereqExecutionDecider>
INFO: Validating state <prereqExecutionDecider>
WARNING: Validation disabled for the state prereqExecutionDecider
INFO: Completed validating state <prereqExecutionDecider>
INFO: Verifying route executeprereqs
INFO: Get view named [PrereqUI]
INFO: View for [PrereqUI] is [email protected]2ac
INFO: Initializing view <PrereqUI> at state <checkPrereqs>
INFO: Completed initializing view <PrereqUI> at state <checkPrereqs>
INFO: Displaying view <PrereqUI> at state <checkPrereqs>
INFO: Completed displaying view <PrereqUI> at state <checkPrereqs>
INFO: Loading view <PrereqUI> at state <checkPrereqs>
INFO: Completed loading view <PrereqUI> at state <checkPrereqs>
INFO: Localizing view <PrereqUI> at state <checkPrereqs>
INFO: Completed localizing view <PrereqUI> at state <checkPrereqs>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state checkPrereqs
INFO: custom prereq file name: oracle.client_Runtime.xml
INFO: refDataFile: C:\Dev Citrix Tools\Oracle Tools\Oracle 11g client Release 2\client\stage\cvu\oracle.client_Runtime.xml
INFO: isCustomRefDataFilePresent: false
INFO: Completed executing action at state <checkPrereqs>
INFO: Waiting for completion of background operations
INFO: Finishing all forked tasks at state checkPrereqs
INFO: Waiting for completion all forked tasks at state checkPrereqs
INFO: Creating PrereqChecker Job for leaf task Physical Memory
INFO: Creating CompositePrereqChecker Job for container task Free Space
INFO: Creating PrereqChecker Job for leaf task Free Space: mndwg068cs:C:\Users\setupc\AppData\Local\Temp
INFO: Creating PrereqChecker Job for leaf task Architecture
INFO: Creating PrereqChecker Job for leaf task Environment variable: "PATH"
INFO: CVU tracingEnabled = false
INFO: Nodes are prepared for verification.
INFO: *********************************************
INFO: Physical Memory: This is a prerequisite condition to test whether the system has at least 128MB (131072.0KB) of total physical memory.
INFO: Severity:IGNORABLE
INFO: OverallStatus:SUCCESSFUL
INFO: -----------------------------------------------
INFO: Verification Result for Node:mndwg068cs
INFO: Expected Value:128MB (131072.0KB)
INFO: Actual Value:3.9996GB (4193848.0KB)
INFO: -----------------------------------------------
INFO: *********************************************
INFO: Free Space: mndwg068cs:C:\Users\setupc\AppData\Local\Temp: This is a prerequisite condition to test whether sufficient free space is available in the file system.
INFO: Severity:IGNORABLE
INFO: OverallStatus:SUCCESSFUL
INFO: -----------------------------------------------
INFO: Verification Result for Node:mndwg068cs
INFO: Expected Value:130MB
INFO: Actual Value:26.0185GB
INFO: -----------------------------------------------
INFO: *********************************************
INFO: Architecture: This is a prerequisite condition to test whether the system has a certified architecture.
INFO: Severity:CRITICAL
INFO: OverallStatus:SUCCESSFUL
INFO: -----------------------------------------------
INFO: Verification Result for Node:mndwg068cs
INFO: Expected Value:64-bit
INFO: Actual Value:64-bit
INFO: -----------------------------------------------
INFO: *********************************************
INFO: Environment variable: "PATH": This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.
INFO: Severity:CRITICAL
INFO: OverallStatus:SUCCESSFUL
INFO: -----------------------------------------------
INFO: Verification Result for Node:mndwg068cs
INFO: Expected Value:1023
INFO: Actual Value:791
INFO: -----------------------------------------------
INFO: All forked task are completed at state checkPrereqs
INFO: Completed background operations
INFO: Moved to state <checkPrereqs>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <checkPrereqs>
INFO: Completed validating view at state <checkPrereqs>
INFO: Validating state <checkPrereqs>
INFO: Using default Validator configured in the Action class oracle.install.ivw.client.action.PrereqAction
INFO: Completed validating state <checkPrereqs>
INFO: Verifying route success
INFO: Get view named [SummaryUI]
WARNING: Failed to load the view [SummaryUI] . Reason: .
Refer associated stacktrace #oracle.install.commons.flow.ViewManager:367
INFO: Terminating all background operations
INFO: Terminated all background operations
SEVERE: [FATAL] [INS-08802] Unable to instantiate the View class referred by View ID 'SummaryUI'.
CAUSE: The given class do not represent a valid View class or an unexpected error occured while instantiating it.
ACTION: No additional information available.
SUMMARY:
- java.lang.NullPointerException.
Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:370
INFO: Advice is ABORT
SEVERE: Unconditional Exit
INFO: Adding ExitStatus FAILURE to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -1
INFO: Shutdown Oracle Client Installer
INFO: Unloading Setup DriverHi;
Please see below note than Please see:
Master Note For Oracle Database Client Installation [ID 1157463.1]
*+<Moderator edit - MOS Doc content deleted - pl do not post contents of MOS Docs>+*
If notes not help than i suggest rise SR
Regard
Helios -
Hi all,
In the middle of the last week for my final year project and having to convert to an Oracle database due to compatibility problems with university Tomcat Server and MS Access. I'm having trouble connecting to the Oracle database and would appreciate some help please.
Running on Windows 98 in the lab here, and the Oracle 9i, release 9.2.0.2.0, J2SDK1.4.0, Classes12.zip installed OK.
Code for connection looks like this inside the constructor of my class:
Class.forName("oracle.jdbc.driver.OracleDriver");
cardSaleConnexion = DriverManager.getConnection("jdbc:oracle:[email protected]:1521:sid","user_name","pwdt");
System.out.println("Connection Successful ");
And I'm getting the following error when calling the constructor in a driver program:
java.sql.SQLException: Invalid Oracle URL specified
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:188)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at CardSale.<init>(CardSale.java:30)
at Driver.main(Driver.java:11)
Exception in thread "main"
Please reply on a very urgent basis.
Kind regards,
PeterTry ojdbc14.jar as the JDBC driver instead of classes12.zip.
Refer:
http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/jdbc9201.html
http://docs.sun.com/source/817-5603-10/index.html
Database Driver
This section describes the known database driver issues and associated solutions.
ID Summary
4700531 On Solaris, an ORACLE JDBC driver error occurs.
This new Java Database Connectivity (JDBC) driver is for Oracle (R) working with JDK1.4. The problem is caused by a combination of the Oracle 9.1 database and ojdbc14.jar. Applying the patch will fix the problem on Solaris 32-bit machine, running an Oracle 9.0.1.3 database.
Solution
Obtain and apply the patch to your server from the Oracle Web site for Bug 2199718. Perform the following steps:
1.��Go to the Oracle web site.
2.��Click the 'patches' button.
3.��Type 2199718 in the patch number field.
4.��Click the 32-bit Solaris OS patch.Go to Metalink.oracle.com.
5.��Click patches.
6.��Under patch number, enter 2199718.
7.��Click the 32 bit Solaris OS patch.
4707531 On Solaris, accessing an Oracle 9.1 database with an Oracle 9.2 Client may cause data corruption.
If you use an Oracle (R) 9.2 client to access an Oracle 9.1 database, data corruption might occur when a number column follows a timestamp column.
The problem might be caused by using the ojdbc14.jar file with an Oracle 9.1 database. Applying the patch might assist in addressing the situation on Solaris 32-bit machines, running an Oracle 9.1 database. This JDBC driver is for Oracle working with JDK1.4.
Solution
Obtain the patch that Oracle might make available from the Oracle web site for Bug 2199718 and apply it to your server.
Regards,
Pankaj D. -
Dynamic Ref Cursor report in 6i
Hello,
I apologise that this question is so similar to many in this forum, but I haven't found a solution to my problem yet.
I've created a ref cursor query because I need to include a variable p_orgs in my WHERE clause, like so:
where e.org_id in ('||p_orgs||')
I've constructed the report as mentioned on this page:
www.dulcian.com
FAQs - SQL & PL/SQL FAQs - FAQ ID# 5:
"How can you use 'dynamic' ref cursors in Oracle Reports 3.0 / 6i?"
(Thanks to Zlatko Sirotic for the information).
I get a compile error when compiling the package body that holds my ref cursor open statement:
Error 103 Encountered the symbol ''select'' when expecting one of the following:
Select
Is there any way around this problem?
If I was to upgrade to Reports 9i would it work?
Many thanks,
HazelHello,
Just a remark : you don't need to use a Ref Cursor if you just want to use a "dynamic where clause".
You can use a lexical reference :
You can find examples at :
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/whatare/dmobj/sq_a_lexical_references.htm
(This page is about Reports 10.1.2 but Lexical references are identical in Reports 6i and Reports 10.1.2)
Regards -
Using Oracle Berkeley DB Java Edition RELEASE 3.2
Hi,
I am completely new to Oracle. I intend to use Oracle Berkeley DB Java Edition RELEASE 3.2., in conjunction with Java.
Can some one help me figure out what documentation I should use, and the learning path ?
Any suggestions would be greatly appreciated.
Thanks
Ravi Banthia
KolkataPlease refer
http://www.oracle.com/technology/products/berkeley-db/je/index.html -
Oracle Legacy System to SAP Data Migration
Hi Experts,
New to data migration:
Can you guide me in how oracle staging is useful for data migration:
Here is my few doubts:
1. What is Oracle Staging?
2. How Oracle staging is useful for data migration?
3. I see few ETL tools for data migration such as Informatica, Ascential Datastage etc. but our requirement is how can we use oracle staging for data migration?
4. What are the benefits in using oracle staging for data migration?
Expecting your response of above queries.
Thanks,
--KishoreHere is my few doubts:
1. What is Oracle Staging?It is where ODI creates temporary tables. It does the transformation and if required cleans the data aswell.
2. How Oracle staging is useful for data migration?ODI loads source data into temporary tables(staging) and applying all the required mappings, staging filters, joins and constraints. The staging area is a separate area in the RDBMS (a user/database) where Oracle Data Integrator creates its temporary objects and executes some of the rules (mapping, joins, final filters, aggregations etc.). When performing the operations this way, Oracle Data Integrator behaves like an E-LT as it first extracts and loads the temporary tables and then finishes the transformations in the target RDBMS.
3. I see few ETL tools for data migration such as Informatica, Ascential Datastage etc. but our requirement is how can we use oracle staging for data migration?
4. What are the benefits in using oracle staging for data migration?You can refer https://blogs.oracle.com/dataintegration/entry/designing_and_loading_your_own
http://docs.oracle.com/cd/E21764_01/integrate.1111/e12643/intro.htm#autoId10
Expecting your response of above queries.
Thanks,
--Kishore
Maybe you are looking for
-
Search capabilities in iCal (Mac OSX v10.7 Lion)
I've lost the ability to search through my calendars with the "upgrade" to Lion. Does anyone have a solution?
-
Free Goods additional Material
Dear Friends In Free Goods when Order material = A Free Goods = B Free Goods=C How we will configure this scenario in Sap Thanking to All Arun
-
Update from 10.4.11 to Snow Leopard
Just got the Mac Box Set to upgrade to Snow Leopard. Do I need to back up before I start installing the upgrade? If so, I've never done a backup on my MacBook. Can you suggest the best way to do so?
-
I am new to PHP & MySQL and am having a little difficulty. I am using Dreamweaver CS5.5 for website building. I just recently completed a tutorial by David Powers titled "Setting up a PHP developement environment for Dreamweaver. I downloaded and ins
-
I can't get the volume to work on my ipod. works only with the headset in. Thanks
Hello I can't get the volume to work on my ipod touch. Only works witht the headset. Thanks