Oracle client versions - oracle

we are currently running a 10.2.0.1 clients against a 11g database
We would like to update to a more recent version.
Our VB6 applications use oo4o and our .net apps use odac
Is there a way of doing this upgrade without having to change all of our applications.
If we do need to change our code is there a good way to do it so we can install new client versions in the future without needing to tweak code.

I've never had to change any code to update the oracle client. Have you already tried it on your dev system and got errors?

Related

How to upgrade Oracle Enterprise Manager Database Console without upgrade the database version itself?

Maybe the question is not so clear.
I'm not sure about the relations of these Oracle's components.
We have an Oracle 11g with an OEM dbconsole on it.
Is dbconsole and databse control are actualy the same thing?
Since Adobe Flash EOL arrived at 31.12.2020 we want to upgrade our EM product to 13.4
Is EM database console (or database control?) depends the version of the database itself?
The only information about upgrading of OEM is for cloud control.
Thank you.
If you are using "EM express" (the cut down version that comes with the database), then yes, you need a later version of the DB to get the later version of EM express.
Alternatives are to use full blown OEM, but if that is not feasible, I would look at just using the DBA facilities in SQL Developer or SQL Developer Web (available via ORDS).

I am trying to install Oracle 10g but it comes up with an exception of missing file

I am trying to install oracle10g but it comes up with an exception of missing file isqlplus.ini.
iSQLPlus is web-based version of SQLPlus, so I presume that nothing terrible will happen if you ignore this error (presuming that this will be the only error you get during installation). SQLPlus will still work.
Where did you acquire installation files from? The only legal source is Oracle Technology Network's Download section (I'm not talking about Oracle partners nor edelivery); maybe your version is corrupt?
Furthermore, how come you're installing 10g? This is a 4 major versions old database (the newest is 18c, then 12c, 11g, 10g). 10g isn't available any more, and is out of support for 5 years now (unless I'm wrong about it). OK, you may have a valid reason to install it (would you mind to share it with us)? If not, I'd suggest you to install a newer database version.

Service privileges for Patch Download? (Oracle 11gR2)

To perform tests in advance of an upgrade from Oracle 11gR2 to 12c on our production systems, I tried to update the database of a developer virtual machine (Windows 7). The current Oracle Database version of this old developer machine is 11.2.0.1.0.
The setup file of Oracle 12c then told me to patch to 11.2.0.2, 11.2.0.3 or 11.2.0.4 first. So I tried to find and download the Patch to 11.2.0.4 for Windows x64. The official Oracle page only lists 11.2.0.1, so I did a quick search that lead me to this page, which in turn lead me to this page.
I am used to be forced to login to download stuff from Oracle, but the second page tells me I need special support privileges. Seriously? Oracle allows me to setup a developing machine with their enterprise editions but I need support privileges to download a patch to the most recent version of Oracle 11?
Did I miss something? How am I supposed to test the upgrade process on my developing machine(s)?
Thanks for any help!
There is another way to update your database version to version 12c.
Install the new version in a different HOME, export the full database 11g with expdp tool and then import it into the new updated data instance with impdp tool.
Do you happen to know which "Customer Service Identifier" (CSI) you're using when you attempt to download the patch?
See if you can determine the "Customer User Administrator" (CUA) for your company's My Oracle Support (MOS) Account associated with that CSI.
Then send that party a request to grant you download privileges on that CSI.
You may encounter additional hurdles if the CSI in question has moved into "extended support required" status.
I had this very adventure a few months ago.
And note that though I am writing this in 2020 when Oracle 11g is out of support, my aim here is to help people work through the "not authorized to download" issue the question references - which can pertain to Oracle versions new and old.

Installing Oracle XE (older) AFTER installing APEX 10g?

Awhile back I installed the Oracle 10g XE database on my dev machine. Since then, I installed Application Express over top of the XE installation. In other words, it's APEX running on 10g. I found I don't really need APEX after all (it's turned out I'm developing in ASP.NET and Oracle instead), and I recall having more of a GUI to manage the XE 10g instance BEFORE I installed APEX.
Can I remove APEX while leaving my original XE installation? I tried to re-install the original XE, but I didn't see a way of doing this without installing a new HOME (which I'd rather not do; it confuses me). TIA.
Oracle XE comes with APEX installed, along with a ( from memory ) APEX based XE management tool. What it sounds like you actually did was was upgrade/over install a newer version of APEX, then remove APEX all together.
Probably the easiest thing to do would be to backup your user schema's using exp or expdp ( data pump ) , uninstall XE, reinstall XE and then import your user schema's. This will get XE back to how you want it.
There's a bunch of stuff (such as the PL/SQL embedded gateway) that is there irrespective of what you did. You also get a bunch of stuff under the FLOWS_020100 (I think).
What happens when you install, for example, Apex 3.2 on XE is that it creates a new schema (FLOWS_030200 or APEX_0400000 or whatever), and repoints a bunch of synonyms from FLOWS_020100 to the new schema.
Sometimes (because of the space restrictions in XE) you drop the FLOWS_020100 schema. If so, your best bet is probably to copy out anything in the database you need, un-install XE and reinstall it.
If you still have the old schema, you can have a go at following the 'reverting' instructions as you would for a failed upgrade.
AFAIK Apex installs web server and some scripts into the database. Your gui to manage xe should change, though. Are you sure you are accessing the same port?
Also, there is SqlDeveloper, quite good tool for oracle databases.
Finally, have you tried oracle ADF for application development?

Develop on local Oracle instance

I want our team to develop against local instances of an Oracle database. With MS SQL, I can use SQL Express Edition. What are my options?
Oracle has an express edition as well. I believe it is more limited though (IIRC, you can only have one database on an instance)
Oracle XE
I have had a lot of success using Oracle 10g Express Edition. It comes with Oracle Aplication Express which allows the simple admin and creation of software via a web interface. It is limited to 4Gb of Disk Space, 1Gb of Ram and will only use 1 processor.
It's free and in my experience has been 100% reliable. It can easily be hosted within a Virtual machine.
Also Oracle SQL Developer is a cross platform application that can be used with any version of Oracle and is also free. Oracle 10g is superb. Go for it :-)
I'm happy with Oracle XE for development purposes.
I do have this piece of wisdow to share; if you're having problems like ORA-12519: TNS:no appropriate service handler found or ORA-12560: TNS:protocol adapter error from time to time then try to change your PROCESSES parameter, logon to Oracle using sys as sysdba and execute the following:
ALTER SYSTEM SET PROCESSES=150 SCOPE=SPFILE;
After changing the PROCESSES parameter restart your Oracle service.
Oracle allows developers to download and use Oracle for free for the purpose of developing software (at least for the initial prototype, best to read the license terms). Downloads here.
We ended up using Oracle XE. Install client, install express, reboot, it just works.
I don't recommend Oracle XE. My co-workers and I have been doing a project in Oracle and got severely tripped up after trying to use XE for our local development instances. The database worked fine until we started running local stress tests, at which point it started dropping connections.
I don't know whether this is an intentional, documented limitation or if perhaps we each just hit a weird bug, but I strongly recommend that you stay away from XE. When we both switched over to the full version, our problems immediately went away.
Also, Oracle doesn't require any kind of licensing confirmation for the full server; you have to click something to say that you have indeed acquired a license, but it doesn't make you prove it. So if you indeed have a license to use Oracle, there's no reason why you can't just install the full version on your development machines.

Resources