Which edition of oracle is installed - oracle

We are compiling a code which needs 32 bit oracle db to be installed. So i need to install a oracle 32 bit. We have another machine where 32 bit oracle 11g is installed and we are able to compile Succesfully.
I need to know which edition of oracle is installed there (Standard or Enterprise) so I can install the same in my machine.
Additional info:
Oracle 32 bit is just a plain db. it is not installed with configuration or Listner. So i cant find out through any queries.

You have to query the data dictionary view PRODUCT_COMPONENT_VERSION to identify the release of Oracle Database that is currently installed.
The below query will help you.
SELECT product, version, status
FROM PRODUCT_COMPONENT_VERSION
WHERE product LIKE 'Oracle Database%';
PRODUCT VERSION STATUS
====================================== ========== ================
Oracle Database 11g Enterprise Edition 11.2.0.3.0 64bit Production

If you need more information about database, you can query
select * from v$database;
for more information refre here http://docs.oracle.com/cd/B19306_01/server.102/b14237/dynviews_1073.htm#REFRN30047
If you connect to SQL PLUS it will say which version and edition you had installed

Related

Which Oracle 11g has DBCA?

I am having an issue with Oracle 11g. I need to download an Oracle 11g database that has the Database Configuration Assistant. I had already downloaded Oracle 11g Express Edition not realizing it apparently doesn't have DBCA.
So which Oracle 11g do I need to download so I can use DBCA?
I am on the Oracle website and see Oracle 11g Release 2. I have a Windows laptop with Windows 10.
That would be any other version (Standard or Enterprise).
11gXE has its limitations and creates a sample database during the installation process. As it allows only one instance, DBCA is useless in that version and is, therefore, not shipped with it.
Standard or Enterprise edition of Oracle 11g would do.
I have downloaded the version from Oracle and DBCA worked for me.

ODAC 12c Release 3 not bringing Tables Associations from DB

I've just installed ODPwithODAC 12c and I was able to connect to Oracle 12c Database successfully, all the tables was loaded in the designer but without any relations (foreign key constraints) between them.
I am using Windows 8.1 (64 bit) ,Visual Studio 2013 Update 4, latest EF (6.1.2), ODPwithODAC 12 c Release 3 (32 bit) , and the Oracle Database is 12c (PDB) .
am I missing some configuration to get the the relations with the tables ?
Note: I've tried the same thing with Oracle 11g and I get the tables with their relations without any problem, also I tried Oracle 12c DB with EF 5 and once again it works great without any problems.
This sounds like a known bug that is specific to Oracle Multitenant scenarios.
You should use database version 12.1.0.2 or later and make sure you have installed Oracle Developer Tools for Visual Studio version 12.1.0.2 or later.

Oracle 10g xe 64bit version for CentOS 6.2

Are there any places where I could download Oracle 10g Express Edition for CentOS 6.2 64bit environment? I have searched in Oracle official website but I couldn't find a distro. Also I have googled for answers but couldn't find an appropriate one. So, it is much appreciated if anyone could assist me on this please.
According to the Oracle download website, 10g is no longer available, but you can request it using My Oracle Support if you own a valid database license. Unless you explicitly need 10g (e.g. to setup a test environment for supporting a legacy installation), I'd go for 12c instead.
In summary, you have two options:
use 12c Express Edition / 11g Express Edition instead
contact Oracle support to get 10g Express Edition

connect with oracle database through visual studio 2010

I have installed oracle database 11gR2 and visual studio 2010 32 bit. Then I tried to install odac for oracle client 11.2.0.1.2. It gives this error.
"Oracle Data Access Components for oracle client 11.2.0.1.1 can only be installed over and existing Oracle client 11.2 Hoeme. Use Oracle Data Access Components for Oracle server 11.2.0.1.0 to install in Oracle server 11.2.0.1.0 Home."
I can't understand what to do next.Hope your helps...
thank you.
When you install, choose a new Oracle Home directory with the client. If you want a step by step guide how to do this, follow this tutorial:
http://docs.oracle.com/cd/E17781_01/appdev.112/e18751/installation.htm#CACBIDHI

Oracle SqlError: Protocol Violation / OALL8 is in an inconsistant state

I'm getting Protocol Violation and OALL8 is an inconsistant state exceptions trying to execute SELECT queries, but only on SOME of my tables. I first noticed this in a test application that I wrote that did a SELECT * FROM SOMETABLE. It would get through several hundred records and then just lock up on me. I tried running the same query in Oracle' SQLDeveloper, and would get the Protocol Violation exception on some tables. Eventually it gets to a point where it indicates "OALL8 is in an inconsistant state" for any query.
Does anyone know why this is occurring and how to fix the problem? Where is my inconsistent state? Is Oracle's SqlDeveloper its own standalone client, or does it rely on ODAC or Instant Client (referenced in PATH envi var) to be present?
The only thing that changed recently was that I installed ODAC so that I could use odp.net to replace System.Data.OracleClient in .NET. IT was ODAC 11.2.0.3.0 with Oracle Developer Tools for Visual Studio, 32 bit. I since updated my PATH environmetn variable to point to my stand-alone instant client.
Instant Client - 11.2.0.2.0, running on Win XP SP3, 32-bit Oracle DB:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production, Running on Windows Server 2003, x64
ODAC: 11.2.0.3.0
SqlDeveloper was installed before I installed ODAC, but somehow SqlDeveloper seems to be going through ODAC as the client, despite ODAC not being referenced in the PATH environment variable.
Update: When I initially installed ODAC, all of my queries functioned normally. Then they stopped functioning after a day, and I can't explain why. I attempted to uninstall ODAC, which failed when looking for a .DLL to delete. I then manually deleted my ORACLE_HOME, and reinstalled ODAC, and it's working fine for now. I don't understand why this is the case.
SQL Developer uses the ORACLE_HOME and it's drivers when available. The issue you are seeing in this is that the ORACLE_HOME is not the same version as the JDBC Driver bundled in SQL Developer.
The 'fix' for this is to ensure the oracle client is up to date w/ the version of sqldev you have installed. The easiest way to find this is when connection run show jdbc
show jdbc
-- Database Info --
Database Product Name: Oracle
Database Product Version: Oracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit Production
Database Major Version: 12
Database Minor Version: 1
-- Driver Info --
Driver Name: Oracle JDBC driver
Driver Version: 12.2.0.1.0
Driver Major Version: 12
Driver Minor Version: 2

Resources