Sql developer with compute function/ add total to column.
Hello experts i've been strugglin for a couple of hours on this. and im not sure if this is the forum i should be posting this but i could not found a forum directly related to sql developer.
I would like to use the compute function in sql developer but it does not appear to work can someone please point me in the right direction.
i followed this documentation
http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch6.htm
but it does not seem to do the trick. I basically just would like to add a total at the end of my query ?...
can someone throw me a bone on this one.
Miguel
column DUMMY NOPRINT
compute sum of aamt on DUMMY
break on dummy
select a_fa_idoc, b_fr_idoc, a_amt, b_amt, (a_amt-b_amt)
from
(SELECT a.fa_idoc a_fa_idoc, SUM(a.amt) a_amt from fwrinva a group by a.fa_idoc) fwarinva_summary
inner join
(SELECT b.fr_idoc b_fr_idoc, sum(b.amt) b_amt from fwrinvc b group by b.fr_idoc) fwrinvc_summary
on( fwarinva_summary.a_fa_idoc = fwrinvc_summary.b_fr_idoc)
where (a_amt - b_amt) = 0;here is my query but it does not put a total on the end?
Similar Messages
-
Password change fails in SQL Developer with verify function...
A couple of months ago I enforced a password verify function on our 11.2.0.3 databases and also one legacy 10.2.0.4 database.
At the time I tested on my account (which had elevated privileges...doh!). Now some users are hitting expiry, they can't change it via SQL Developer.
If I create a user with 'create session' privilege and set their profile to one that uses the verify function (see both below), I then log in to SQL Developer (we have tried with versions 3.1 (Windows) and 3.2 (Linux) with same failure results.
BTW,.. the password verify function enforces the following:
password must be minimum of 8 characters
password must not be the same as the user name, or user name (1-100)
password must contain at least a single digit
password must contain at least a single character
1. Works = I log into the local server and run command line SQLPlus, type 'password' and update. I can successfully change my password.
2. Fails = I log into the local server and run command line SQLPlus, type 'alter user <me> identified by <newpwd>;' I get:
TEST: SUTEMP > alter user sutemp identified by carport9999;
alter user sutemp identified by carport9999
ERROR at line 1:
ORA-28221: REPLACE not specified
This error is because the account does not have the 'alter user' privilege. I'm okay with this, as I don't want our users having this privilege.
3. I start SQL Developer 3.2, type 'alter user <me> identified by <newpwd>;' I get the same ORA-28221 error as above. That is fine, and as expected.
4. Now in SQL Developer, I type 'password', set a valid password, but I get 'Failed to change password' in the Script Output tab.
I have a database 'after servererror on database' trigger set, and querying the database table it is logging into, I see a record with a date stamp matching my failure with a server_error=28221 (the same as above).
So I'm wondering if I'm doing something wrong here, or if this is a bug in SQL Developer. I don't want standard users having 'alter user' privileges, but I do want to enforce password verification.
I get the same result on three 11.2.0.3 databases (haven't tried any more but suspect same results for others) and one legacy 10.2.0.4 database, and using SQL Developer 3.1 and 3.2.
DBA_PROFILE used:
PROFILE
RESOURCE_NAME
RESOURCE LIMIT
CTRU
COMPOSITE_LIMIT
KERNEL DEFAULT
CTRU
SESSIONS_PER_USER
KERNEL 10
CTRU
CPU_PER_SESSION
KERNEL DEFAULT
CTRU
CPU_PER_CALL
KERNEL DEFAULT
CTRU
LOGICAL_READS_PER_SESSION KERNEL DEFAULT
CTRU
LOGICAL_READS_PER_CALL
KERNEL DEFAULT
CTRU
IDLE_TIME
KERNEL DEFAULT
CTRU
CONNECT_TIME
KERNEL DEFAULT
CTRU
PRIVATE_SGA
KERNEL DEFAULT
CTRU
FAILED_LOGIN_ATTEMPTS
PASSWORD 10
CTRU
PASSWORD_LIFE_TIME
PASSWORD 180
CTRU
PASSWORD_REUSE_TIME
PASSWORD DEFAULT
CTRU
PASSWORD_REUSE_MAX
PASSWORD 5
CTRU
PASSWORD_VERIFY_FUNCTION PASSWORD VERIFY_FUNCTION_11G
CTRU
PASSWORD_LOCK_TIME
PASSWORD .002
CTRU
PASSWORD_GRACE_TIME
PASSWORD 21
16 rows selected.
Verify Function used:
$ cat utlpwdmg.sql
Rem
Rem $Header: utlpwdmg.sql 02-aug-2006.08:18:05 asurpur Exp $
Rem
Rem utlpwdmg.sql
Rem
Rem Copyright (c) 2006, Oracle. All rights reserved.
Rem
Rem NAME
Rem utlpwdmg.sql - script for Default Password Resource Limits
Rem
Rem DESCRIPTION
Rem This is a script for enabling the password management features
Rem by setting the default password resource limits.
Rem
Rem NOTES
Rem This file contains a function for minimum checking of password
Rem complexity. This is more of a sample function that the customer
Rem can use to develop the function for actual complexity checks that the
Rem customer wants to make on the new password.
Rem
Rem MODIFIED (MM/DD/YY)
Rem suren 05/09/13 - customise for NIHI use
Rem asurpur 05/30/06 - fix - 5246666 beef up password complexity check
Rem nireland 08/31/00 - Improve check for username=password. #1390553
Rem nireland 06/28/00 - Fix null old password test. #1341892
Rem asurpur 04/17/97 - Fix for bug479763
Rem asurpur 12/12/96 - Changing the name of password_verify_function
Rem asurpur 05/30/96 - New script for default password management
Rem asurpur 05/30/96 - Created
Rem
-- This script sets the default password resource parameters
-- This script needs to be run to enable the password features.
-- However the default resource parameters can be changed based
-- on the need.
-- A default password complexity function is also provided.
-- This function makes the minimum complexity checks like
-- the minimum length of the password, password not same as the
-- username, etc. The user may enhance this function according to
-- the need.
-- This function must be created in SYS schema.
-- connect sys/<password> as sysdba before running the script
CREATE OR REPLACE FUNCTION verify_function_11G
(username varchar2,
password varchar2,
old_password varchar2)
RETURN boolean IS
n boolean;
m integer;
differ integer;
isdigit boolean;
ischar boolean;
ispunct boolean;
db_name varchar2(40);
digitarray varchar2(20);
punctarray varchar2(25);
chararray varchar2(52);
i_char varchar2(10);
simple_password varchar2(10);
reverse_user varchar2(32);
BEGIN
digitarray:= '0123456789';
chararray:= 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
-- Check for the minimum length of the password
IF length(password) < 8 THEN
raise_application_error(-20001, 'Password length less than 8');
END IF;
-- Check if the password is same as the username or username(1-100)
IF NLS_LOWER(password) = NLS_LOWER(username) THEN
raise_application_error(-20002, 'Password same as or similar to user');
END IF;
FOR i IN 1..100 LOOP
i_char := to_char(i);
if NLS_LOWER(username)|| i_char = NLS_LOWER(password) THEN
raise_application_error(-20005, 'Password same as or similar to user name ');
END IF;
END LOOP;
-- Check if the password contains at least one letter, one digit
-- 1. Check for the digit
isdigit:=FALSE;
m := length(password);
FOR i IN 1..10 LOOP
FOR j IN 1..m LOOP
IF substr(password,j,1) = substr(digitarray,i,1) THEN
isdigit:=TRUE;
GOTO findchar;
END IF;
END LOOP;
END LOOP;
IF isdigit = FALSE THEN
raise_application_error(-20008, 'Password must contain at least one digit, one character');
END IF;
-- 2. Check for the character
<<findchar>>
ischar:=FALSE;
FOR i IN 1..length(chararray) LOOP
FOR j IN 1..m LOOP
IF substr(password,j,1) = substr(chararray,i,1) THEN
ischar:=TRUE;
GOTO endsearch;
END IF;
END LOOP;
END LOOP;
IF ischar = FALSE THEN
raise_application_error(-20009, 'Password must contain at least one digit, and one character');
END IF;
<<endsearch>>
-- Check if the password differs from the previous password by at least
-- 3 letters
IF old_password IS NOT NULL THEN
differ := length(old_password) - length(password);
differ := abs(differ);
IF differ < 3 THEN
IF length(password) < length(old_password) THEN
m := length(password);
ELSE
m := length(old_password);
END IF;
FOR i IN 1..m LOOP
IF substr(password,i,1) != substr(old_password,i,1) THEN
differ := differ + 1;
END IF;
END LOOP;
IF differ < 3 THEN
raise_application_error(-20011, 'Password should differ from the old password by at least 3 characters');
END IF;
END IF;
END IF;
-- Everything is fine; return TRUE ;
RETURN(TRUE);
END;
alter profile ctru limit password_verify_function verify_function_11g;
alter profile default limit password_verify_function verify_function_11g;
alter profile web_and_it limit password_verify_function verify_function_11g;okay,... I just saw another website which shows I should put in the 'replace <oldpwd>' clause in.
This works in SQL Developer: alter user sutemp identified by carport999 replace garage999;
So why does the 'password' command fail? (Developers: it would also be helpful to have the ORA- error displayed as opposed to 'Failed to change password') -
SQL developer with jre but no jdk
Is there a way i can install sql developer with only jre installed in my windows system.
Im trying to install to sql developer 64 bit and when i run the exe file it asks for java.exe file path.
When i give it to the path to exe file in jre/bin it gives an error cannot find j2se sdk installed in jre directory.Normally SQLDeveloper requires a JDK and so will not accept a JRE.
You can try to bypass this check by filling in the SetJavaHome property manually in the sqldeveloper.conf file usually located in
SQLDEVELOPER_INSTALL_DIR/sqldeveloper/binby doing this you are not guaranteed to succeed, because some of the functions of SQLDeveloper specifically requires the JDK and so if you use these functions you will most probably incur in errors or unexpected behavior.
The best thing to do IMHO is to install a proper JDK.
If you do not have the right to do so you can also copy and already installed JDK from another machine and it usually works well enough. -
How to get all tables in oracle sql developer with MS SQLServer
Hi All,
I am using microsoft SQL server 2000. For displaying the tables and other stuff i am using oracle SQL developer tool. The problem is when i connect to sql developer with oracle database i can see all the tables in that database. But when i connect to MS SQL server database it is not showing all the tables in that database. I don't know why?.
i tried doing the samething using another tool called Aqua Data Studio , there i can able to see all the tables in microsoft SQL server 2000.
do you have any knowledge regarding this, why i am not getting all the tables in oracle sql developer when i connect to microsoft SQL server 2000.Same issue here. Haven't found the answer yet..
-
SQL Developer 1.2.1 Build MAIN 32.13 (Windows XP)
We can't Update SQL Developer with Times Ten in-Memory DB Extension 1.2.1.1.0 :-((
We did the same actions as described in tutorial
http://www.oracle.com/technology/products/timesten/viewlets/tt703_sqldev_install_ext_viewlet_swf.html
In addition to tutorial we have "Log In" window
"To download Oracle Times Ten in-Memory Database Extension
you must enter your Oracle Web Account user name and password"
This window was not displayed in tutorial...
We try to use three our OTN accounts and the result
was the same - we was asked with "User name" and "Password"
again, again, again and again,,, :-(
Is it a bug or a feature?
Mayby we didn't understand something or did something wrong?Hi Simon,
I found cause of update failure! It was the HTTP proxy setting.
I turned off "Use HTTP proxy server" checkbox in SQL Developer -> Tools -> Preferences -> Web Browser and Proxy.
After this action SQL Developer was successfully updated with Times Ten Extension.
Valery Yourinsky -
SQL Developer with Mac Os X 1.3.9
Greetings,
I am running Oracle Database 10g Release 1 (10.1.0.3) on my Powerbook G4 1 GHz with 768 MB ram. After reading the requirements for SQL developer for OS X, I thought I would try to install it. Unfortunately there seems to be a conflict in the requirements for installing SQL developer.
"Operating System
Apple Mac OS X Version 10.3
CPU Type and Speed
Dual 1.25 GHz G4/G5 (1 GHz G4 minimum)
Memory
256 MB RAM
Display
"Thousands" of colors
Hard Drive Space
110 MB
Java SDK
Sun J2SE 1.5 release 1, available at ...
" from http://download-uk.oracle.com/docs/html/B28240_02/install.htm#CIHDJBJG
The J2SE 1.5 release is currently only available for OS X 10.4 and higher, so apparently you need this os version to run SQL developer. Is this correct? Is there a SQL Developer version that will run on OSX 10.3 that is running the J2SE 1.4.2 release?Sorry the subject heading should read:
SQL Developer with Mac Os X 10.3.9 -
Integrating sql developer with Subversion
Hi all,
I have Oracle SQL Developer (3.1.07) installed on my local windows machine. Using an external tool Tortise SVN as our VCS. Has anyone been able to integrate SQL Developer with TortiseSVN? I have googled and haven't found any relevant docs to help me integrate both. Is this possible at all? We have a configured repository server. TortiseSVN is installed on my machine and is acting as a working directory.
Kindly advice me.
Thanks!Hi Nick,
it seems that the latest version of SQL Developer is not yet certified to work with Subversion 1.7 and it has some serious problems with it.
Indeed if you have already installed the latest version of TortoiseSVN on your pc, you will have quite a lot of issues in SQL Developer (for example while browsing a working copy on your disk) and weird errors not immediately related with the version control plugin. You may find more details by searching the forum (e.g. see 3.1EA1 File browser bug? ).
The possible solutions are either:
1) install a supported version of TortoiseSVN (1.6 should be fine) and you should be able to perform check-in and check-out from inside SQL Developer;
2) disable the Subversion plugin shipped with SQL Developer and use exclusively TortoiseSVN to manage your working copy;
Currently I am using option 2 and it works fine.
Hope it helps,
Paolo
Edited by: PaoloM on 13-lug-2012 11.42 -
Problem with DBMS_OUTPUT and SQL statment with a function
I am using SQL Developer version 3.0.04 and I have a function that has a dbms_output statment in it. I am running the following SQL to select the output of that statment.
select A.A_FUCTION('TEST') from dual;
The output works fine but the dbms_output line does not show in the dbms_output window. I turned on the output window etc. and i can get the select to print out the output if i wrap it in a declare begin end wrapper... and then change the query to insert the return value into variable.
just wondering if there is way to get the dbms_output to flush out with just an SQL statment instead of in a begin end wrapper etc.just wondering if there is way to get the dbms_output to flush out with just an SQL statment instead of in a begin end wrapper etc.works fine in sql*plus, so I guess it must be a preference or sth. in sql*developer:
SQL> set serverout on
SQL> create or replace function f1 (r int)
2 return int
3 as
4 begin
5 dbms_output.put_line ('Hello World ' || r);
6 return r;
7 end f1;
8 /
Function created.
SQL>
SQL> select f1 (rownum) f1 from dual connect by level <= 3
2 /
F1
1
2
3
3 rows selected.
Hello World 1
Hello World 2
Hello World 3
SQL> -
Issue with the functions "add matching sets" and "modify matching sets"
Hi,
Though 'None' access permission is set for the functions 'Add Matching Sets' and 'Modify Matching Sets', they are accessible.
Is this a bug with the tool? or am I missing something?
Thanks in advance,
Madansorry, missed the version details.
I'm using MDM 5.5 SP6. -
SQL Developer with Data Modeler, No Design Menu Option
Using SQL Developer 3.0.04 Build MAIN-04.34 with Data Modeler. I have created a logical design and wish to forward engineer this to a relational model.
I cannot seem to find the Design Menu option to use the >> Engineer to Relational Model option which is available under the Design Menu on the Stand Alone version of SQL Developer Data Modeler.
Have checked the following locations:
Tools -> Data Modeler
View -> Data Modeler
File -> Data Modeler
Right Click on my Logical Design
I have ensure that all my entities have the Engineer To property set to a valid Relational Model.
Is this a bug or am I missing a menu option / configuration setting?
Thanks in advance for any help
JohnHi John,
you can find ">> Engineer to Relational Mode" button among other buttons for logical diagram.
Philip -
Problem accessing SQL Developer with user sys
Hi Experts;
I'm working with Oracle 10G, in Solaris 10, The DB apparently is working properly, but I can not access the DB thru SQL Developer. When I try to acccess with user sys, and I enter de password, in oracle role I select sysdba, when I choose connect I get this error message:
ORA-01017: invalid username/password; logon denied
However, I can connect with other user without any problem.
I was connecting directly in the server, with sqlplus /as sysdba and I changed the password for user sys, but still the problem continues.
What is wrong with this. I got the same problem if try to connect thru OEM.
Thanks and regards
Al
Edited by: user12048358 on Jul 8, 2011 12:02 PMHi Buntoro;
Thank you for answer.
First, I'm completely sure I'm using the correct password, to be sure I changed the password thru sqlplus.
I'm using tns connection, btw, with the same connection, I can connect, but with other user.
I was trying again, however, with the same results previous explained.
But also I have the same problen when I tried to connect to OEM, and I was trying to stop the dbconsole, and found this:
export ORACLE_SID=YAWIDBLAB
emctl status dbconsole
OC4J Configuration issue. /opt/oracle/102/oc4j/j2ee/OC4J_DBConsole_yawi-db-lab01_YAWIBLAB not found.
export ORACLE_SID=YAWIDBLA
emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://yawi-db-lab01:1158/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
Logs are generated in directory /opt/oracle/102/yawi-db-lab01_YAWIDBLA/sysman/log
If I type export ORACLE_SID=YAWIDBLA and then sqlplus /nolog
SQL> connect /as sysdba
Connected to an idle instance.
But, when I connect settiong the SID in this way:
export ORACLE_SID=YAWIDBLAB
sqlplus /nolog
SQL*Plus: Release 10.2.0.4.0 - Production on Sat Jul 9 23:03:15 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> connect /as sysdba
Connected.
SQL>
Apparently, there is problem with the tnsnames. When I see the tnsnames in SQL DEVELOPER I see this: YAWIDBLA
So, here is the tnsname, in order you have a better idea, what I have.
YAWIDBLA =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = yawi-db-lab01)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = YAWIDBLAB)
Is the first time I see this kind of problem.
Have an idea of what's happening;
Best Regards;
Al -
Administration of APEX in SQL Developer with Proxy Authentication impossibl
Hello!
We are using latest version of SQL Developer to administer APEX. We are connecting to the database with proxy authentication. The syntax is:
personal_user[apex_ws_owner]
e.g.: mdecker[apex_demo]
When trying to deploy APEX application I go to "Database Object" -> Application Express -> Application1 [100] -> right mouse click: "Deploy Application". Then I select the appropriate database identifier and next, I am presented with a screen showing import options. In second line, it says: "Parsing Schema: MDECKER".
This is wrong: it has to be Parsing Schema: APEX_DEMO. It seems that managing APEX with SQL Developer does not support Proxy Authentication.
Could you please confirm?
Is there a way to formally ask for this enhancement?
Best regards,
Martin
Update:
I found out that if I check the flag "Proxy Authentication" in the connect details and provide both passwords, the deploy application parsing schema is set to the correct APEX_DEMO account. However, we are using Proxy Authentication in order to avoid having to know the application password.
Edited by: mdecker on Jan 28, 2013 4:48 PMThere is a write-up about connecting to APEX here: <a href ="http://www.oracle.com/technology/products/database/application_express/html/sql_dev_integration.html" >SQL Dev Oracle APEX Integration</a>
<p>You do need to have updated to Oracle APEX 3.0.1.
<p>Regards <br>
Sue -
PL/SQL development with JDeveloper
We are using Toad and JDeveloper to maintain our legacy IS that count thousands of PL/SQL code object (Packages, Package Bodies, Triggers).
I'm using JDeveloper and SQL Developer in the perspective to verify if it is possible and effective to use only Oracle tools in the project.
I like to work with JDeveloper to edit pl/sql code and i like to have my code in database offline object maintained into subversion.
I'm able to compile these sources in my different platform (development system, test alpha, test beta and final testing instance directly from JDeveloper.
That's fine except JDeveloper didn't return a compile status or a list of compile errrors like in SqlDeveloper. So I need to use SqlDeveloper in parallel of JDeveloper.
This is the beginning of my problems.
SqlDeveloper may have some editor open with source code into I updated into JDeveloper (depends on the change to do, some changes a done in SqlDeveloper to correct some errors and the code is refreshed from the instance into JDeveloper, and more important changes are done in JDeveloper and compiled (loaded) in the instance) and loaded (compiled) into my instance.
When the packages tree is already displayed in SqlDeveloper, the status of the package (valid, invalid) didn't change immediately. That is normal because SqlDeveloper don't know i change it from JDeveloper. I think it check it when i click on the package or the body node. The problem is that the code is not reloaded into the editor if it is opened and i you recompile your package without refreshing all the packages list you will recompile the older version and search sometimes a long time why your package didn't compile after the changes you done in JDeveloper (mainly after 6pm and a day of developing and compiling ) !!!!
The only reason to use both JDeveloper and SqlDeveloper in this phase is the fact that JDeveloper didn't return compile status and a compile error list.
With theses features I will no more use SqlDeveloper for such developing purposes (still using it to debug, obtain object definition, customize database object for some physical properties, etc) and avoid those bad manipulations.micwic --
I logged bug6508875 for this.
One suggestion in the meantime until we can get compile errors directed to the log window for offline objects...
You can open the Database Navigator to point to the same db connection. After generating the offline PL/SQL to the db, refresh the connection in the DB navigator. You will see any invalid objects flagged with an error icon. Then you can right-click on the PL/SQL with the error, and "Make" it. This will display the errors in the log window, similar to SQL Developer.
-- Brian -
SQL Query With analytical function
Hi
Below is the scenario which i am looking for in sql query using analytical functions
I/p
Col1
50
0
-150
-200
300
-100
-300
500
-100
O/p
Col1 col2
50 0
0 0
-150 -100
-200 -200
300 0
-100 0
-300 -100
500 400
-100 0Any help really appreciated
Thanks in advance
Edited by: unique on Aug 10, 2010 4:53 AM
Edited by: unique on Aug 10, 2010 4:55 AM
Edited by: unique on Aug 10, 2010 4:55 AMOh,In this case,There is OLAP solution ;-)
OLAP samples of my homepage http://www.geocities.jp/oraclesqlpuzzle/oracle-sql1-olap.html
with work(SK,Val) as(
select 1, 50 from dual union
select 2, 0 from dual union
select 3,-150 from dual union
select 4,-200 from dual union
select 5, 300 from dual union
select 6,-100 from dual union
select 7,-300 from dual union
select 8, 500 from dual union
select 9,-100 from dual)
select SK,Val,GID,
case when Val > 0
then greatest(0,sum(Val) over(partition by GID))
else Least(0,Val+greatest(0,sum(Val) over(partition by GID
order by SK rows between unbounded preceding
and 1 preceding)))
end as COL3
from (select SK,Val,
sum(greatest(0,sign(Val))) over(order by SK) as GID
from work)
order by SK;
SK VAL GID COL3
1 50 1 0
2 0 1 0
3 -150 1 -100
4 -200 1 -200
5 300 2 0
6 -100 2 0
7 -300 2 -100
8 500 3 400
9 -100 3 0 -
How to configure PL/SQL Developer with instant client
Hi buddies!
I want to install PL/SQL Developer. I should be installing instant client? I need to install PL/SQL Developer in my pc which is going to access the database from the server.
Please enlighten me.
Thank You.
Cheers!
Nith
Edited by: user645399 on May 12, 2010 4:26 PMuser645399 wrote:
These are the steps I followed.
<snipped>I do not see a problem with these steps at all. It is correct. Step 7 is redundant (due to where you placed the tnsnames.ora file) - it's only really needed when you place the file in some other directory where +%ORACLE_HOME%\network\admin+ no longer applies.
Note that the client itself, needs to load the InstantClient OCI DLL - and this DLL uses the environment settings and the rest to "do its thing".
If the client loads some other Oracle client DLL, then the bets are off that InstantClient will be used, never mind will work.
Only a single copy of a DLL can exist in memory. Thus if some other s/w is using some other OCI DLL, then that DLL is already loaded and will be re-used by all other client s/w. None will be able to use the InstantClient DLL itself.
So make sure that no Oracle client driver is loaded at all. Then ensure that when client s/w requests to load the OCI DLL, it is loaded from the InstantClient directory.
As far as I recall, the Win32 LoadLibrary() kernel call is made by the application - if the DLL is not yet in memory, the current directory (in the virtual machine for that Windows process) is used. If the DLL does not exist there, the %PATH% variable is used to find and load the DLL. The DLL usage counter is then set to 1. As more processes request the DLL, it is incremented. When a process terminates, the usage count is decremented. When it reaches 0, its unloaded from memory.
Bottom line to all this is that only a single DLL module (irrespective of the number and versions of physical DLL files on disk) can reside in kernel space, and you need to make sure that the correct physical DLL file is loaded by the kernel.
Maybe you are looking for
-
How to get the output of a standard report RFBILA00 in PDF form.
hi, I have to get the output of the standard report RFBILA00 in the PDF form. Thanks.
-
Downloaded Photoshop trial a few days ago but it has expired already.
I downloaded the photoshop extended trial a few days ago, but when I run it, it says it has expired already. The weird thing is that when I try to redownload photoshop using the adobe download assistant, it says in the top right corner that I have 30
-
Static methods in encoded XML output stream
I have a class designed to be instantiated, then initialized in several steps, one of them being the use of a static method declared in a separate class. The approach works fine in a Java program but when I attempt to devise a persistence delegate to
-
Hi, I want to include two fields of custom infotype in dynamic selection of LDB so that they are handeled automatically by LDB while selection. can anyone tell me how to achieve the same? Thanks -Aleria
-
I am trying to configure a particular SNMP community string on many ATAs for a Cisco 'Know the Network' project. On a Cisco ATA 186, you cannot telnet or SSH to it and the only way to remotely change the parameters are via the web GUI, which doesn't