Select in 10g and 11g R2
Hi,
a select in 10g and in 11g from the same table does not return the data in the same order.
Any solution ?
I have a dblink in a 10g reading a table in a 11g database.
Is there any option in creating DB_LINK for that ?
Thank you.
user522961 wrote:
Hi,
a select in 10g and in 11g from the same table does not return the data in the same order.
Any solution ?
I have a dblink in a 10g reading a table in a 11g database.
Is there any option in creating DB_LINK for that ?
Thank you.What order? Use an Order By clause to get the data in the order you want .
Aman....
Similar Messages
-
Difference in select for update of - in Oracle Database 10g and 11g
Hi, I found out that Oracle Database 10g and 11g treat the following PL/SQL block differently (I am using scott schema for convenience):
DECLARE
v_ename bonus.ename%TYPE;
BEGIN
SELECT b.ename
INTO v_ename
FROM bonus b
JOIN emp e ON b.ename = e.ename
JOIN dept d ON d.deptno = e.deptno
WHERE b.ename = 'Scott'
FOR UPDATE OF b.ename;
END;
/While in 10g (10.2) this code ends successfully (well NO_DATA_FOUND exception is raised but that is expected), in 11g (11.2) it raises exception "column ambiguously defined". And that is definitely not expected. It seems like it does not take into account table alias because I found out that when I change the column in FOR UPDATE OF e.empno (also does not work) to e.mgr (which is unique) it starts working. So is this some error in 11g? Any thoughts?
Edited by: Libor Nenadál on 29.4.2010 21:46
It seems that my question was answered here - http://stackoverflow.com/questions/2736426/difference-in-select-for-update-of-in-oracle-database-10g-and-11gThe behaviour seems like it really is a bug and can be avoided using non-ANSI syntax. (It makes me wonder why Oracle maintains two query languages while dumb me thinks that this is just a preprocessor matter and query engine could be the same).
-
NVL in view: discrepancy between 10G and 11G
Hi,
I've discovered some discrepancy between 10G and 11G in a way how view deals with NVL-based column in a where clause.
Here are two examples:
*10G:*
Connected to:
Oracle Database 10g Release 10.2.0.4.0 - Production
SQL> create table test_nvl (null_column number);
Table created.
SQL> insert into test_nvl values (null);
1 row created.
SQL> commit;
Commit complete.
SQL> create view view_nvl as select nvl(null_column,0) null_column from test_nvl;
View created.
SQL> select * from view_nvl where null_column is not null and null_column = 0;
NULL_COLUMN
0
*11G*
Connected to:
Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
SQL> create table test_nvl (null_column number);
Table created.
SQL> insert into test_nvl values (null);
1 row created.
SQL> commit;
Commit complete.
SQL> create view view_nvl as select nvl(null_column,0) null_column from test_nvl;
View created.
SQL> select * from view_nvl where null_column is not null and null_column = 0;
no rows selected
Does anyone know why it behaves differently?
I couldn't find any documentation regarding this.
Or I'm just missing something here.
ThanksBANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for HPUX: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
CREATE TABLE test_nvl (null_column NUMBER);
INSERT INTO test_nvl
VALUES (NULL);
COMMIT;
CREATE VIEW view_nvl
AS
SELECT NVL (null_column, 0) null_column FROM test_nvl;
SELECT *
FROM view_nvl
WHERE null_column IS NOT NULL AND null_column = 0;
NULL_COLUMN
0 -
How to Install oracle 10g and 11g on aix 6.1
Can we install oracle 10g and 11g Enterprise Editions on IBM aix 6.1 ? If so how
Chetan
Edited by: chetan0926 on Jan 11, 2012 2:56 AMHi;
Can we install oracle 10g and 11g Enterprise Editions on IBM aix 6.1 ? If so how Yes you can,both version is certified
I agree Sybrand, Please check installation guide. All your questions will be answered in it
http://www.oracle.com/pls/db102/homepage
http://www.oracle.com/pls/db112/homepage
Also see:
Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
Regard
Helios -
Differences between Oracle Discoverer 10g and 11g .
we would like to know if they are any differences between Oracle Discoverer 10g and 11g and any issues with 10g that are overcome in 11g.
Please make us aware of any merits in going for 11g over 10g.
apps version 11.5.10.2
RegardsPlease see these links for the list of new features, bug fixes, certification, and installation of Discoverer 11g on 11i instance.
Discoverer 11.1.1.4 Certified with E-Business Suite
http://blogs.oracle.com/stevenChan/2011/02/discoverer_11114_ebs.html
EBS Sysadmin Primer: Oracle BI Discoverer 11gR1
http://blogs.oracle.com/stevenChan/2010/08/discoverer_11gr1_primer.html
Oracle Business Intelligence Discoverer 11g
http://www.oracle.com/technetwork/developer-tools/discoverer/overview/index.html
Oracle Business Intelligence Discoverer 11g documentation
http://www.oracle.com/technetwork/developer-tools/discoverer/documentation/index.html
Thanks,
Hussein -
Important differences between oracle 10g and 11g
Hi friends, can anyone tell me (pointwise) what are the major (and minor) differences between Oracle 10g and 11g.
Please point me to some documents if possible.
Thanks in advanceThe name of the link says it all: "top_features."
In short it is Oracle's list of what they have for marketing and sales reasons designated "top features."
It is not intended to be, and is not, a complete list of features. Often the features Oracle does not
talk about are the most important.
Let me give you some examples. I have never seen Oracle announce DBMS_XPLAN as a new feature
yet you should not run an explain plan without it. Neither have I ever seen Oracle announce the new
NO_DATA_NEEDED predefined exception. I have listed literally hundreds of new features you will not
find in Oracle's new features docs.
I did a presentation at OpenWorld this year as part of the unconference titled "New Features in
Database 11gR2 that Oracle will not announce." It was easy to prepare a one hour presentation with
little fear of being proved incorrect. As I turned out only one of the features I presented was mentioned
by Oracle.
You can find the presentation slides here:
http://www.morganslibrary.org/pres/oow09_ucnf.pdf -
Running Oracle database 10g and 11g on same 5 RAC nodes
Hello Gurus,
Could any body throw light if I can install and sucessfully run Oracle database 10g and 11g on the same Oracle RAC installation setup.My setup is below
Number of nodes-5
OS- windows 2003 or RHEL5
storage- DELL EMC SAN
Clusterware- oracle version11g
File system-Automatic storage management(ASM)
After I successfully setup clusterware,ASM on the nodes,I would want to install 11g database on all 5 nodes .
Then Install 10g database on only 3 of the nodes using the same clusterware.
What are your views on the same.
Also FYI... as per metalink node 220970.1(RAC: Frequently Asked Questions) one can do such a setup.
what iam looking for is practical experience if anyone has implemented this in production system,if yes any issues faced and how tough it is to support.
Thanks,
ImtiyazYou could run an 11g database and 10g database on the same cluster as long as you use Clusterware 11g.
The administration aspect will drastically change according to the platform you run on. As of now, it appears you don't know whether it will be Linux or Windows.
It would be practical to support the same database release. -
Difference between Materialised view in 10g and 11g
Hi,
I am beginner . I want to know the difference between Materialized view between 10g and 11g. Is there any impact if the materialized view used in 10g gets upgraded to 11g ?
awaiting ur response.Please and ThanksIn addition to the documentation, you might want to look at the blog of Alberto Dell'Era:
http://www.adellera.it/blog/
Alberto writes quite a bit about materialized views, including this important change in 11GR2:
http://www.adellera.it/blog/2009/11/03/11gr2-materialized-view-logs-changes/ -
Difference between oracle bpm 10g and 11g
Newbie: I am trying to understand 10g. The basic questions I have is
1)What is the difference between 10g and 11g?
2)What is the infrastructure & skillset needed for me to do implementation in 10g?
3)How is migration from 10g to 11g is accomplished?
Any resource links that would help me to get started with 10g would be appreciated.
ChaitanyaHi,
Please follow the below mentioned link to find your answer.
Re: Main differences between oracle bpm 10.3 vs 11g
Migration from ALBPM 5.7 to BPM 11g
Bibhu -
Diff between oracle 10g and 11g
Can any one could tell me what is the main diff between oracle 10g and 11g ?
Thanks in Advance
VenkatHi,
You can read
http://www.oracle.com/technetwork/articles/sql/index-082320.html
http://www.oracle.com/technetwork/articles/sql/index-099021.html
Anand -
Difference- Architenture of 10g and 11g
Hi All,
Pls just let me know is ther any huge difference between architecture of Oracle 10g and 11g ?.
Kindly suggest in very brief or just yes/no.
Thanks,Nimish Garg wrote:
There r no major difference b/w 10g & 11g Architecture
check this link out for new features of 11g
http://www.dba-oracle.com/oracle11g/oracle_11g_new_features.htm
I'm sure I've mentioned before about being careful when using that site to demonstrate answers. It's notoriously lacking information and only gives partial answers, mainly because it's trying to get people to purchase the books it sells for complete answers.
Far better would be to link to Oracle's own resources... e.g.
http://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.html -
Hi,
Is it fine to install oracle 10g and 11g on RHEL 6?
Please guide!!
thanksHi;
Is it fine to install oracle 10g and 11g on RHEL 6?Its not certified as mention. But if you want to make installation on that release see Tim's site:
http://www.oracle-base.com/blog/2011/02/13/oracle-11gr2-on-oracle-linux-6/
Regard
Helios -
Diffrence between OBIEE 10g and 11g Architecture
Hi
Please help me by providing either the differences between the OBIEE 10g and 11g Architecture or a pointer/link.
ThanksHi,
There are some!!
Check here;
http://www.rittmanmead.com/obiee11g/
http://www.biconsultinggroup.com/images/VideoAlbum/WhitePapersFAQ10-31-10.pdf
http://blogs.oracle.com/robreynolds/2010/12/security_in_obiee_11g_part_1.html
http://blogs.oracle.com/robreynolds/2010/12/security_in_obiee_11g_part_2.html
This will give an indication of all the changes.
Cheers,
Daan Bakboord
http://obibb.wordpress.com -
Golden Gate 32bit for Oracle 10g and 11g
Does oracle released Golden Gate 32bit for Oracle 10g and 11g, i could not able to find out 32bit http://edelivery.oracle.com or OTN.
Thanksnever mind, i was able to download from e-delivery.
-
Installing oracle 10g and 11g client on the same Linux RHEL 5.4 host
Is it possible to install Oracle 10g and 11g client on the same Linux RHEL 5.4 host and have the application switch between 10g and 11g? and how would the 10g and 11g be installed?
Thanks for your reply.
Typeically if 10g is installed in /home/roacle/product/10.2.0, are you saying that for 11g, it would be /home/oracle/product/11.0.0 ?
How about switching the application? Does changing the ORACLE_HOME and PATH environment variable setting enough ? Let's say from
ORACLE_HOME=/home/oracle/product/10.2.0/client_1 to /home/oracle/product/11.0.0/client_1
Maybe you are looking for
-
Top 3 maximum values in a table
Dear Friends, I'm just looking for a query to get the top 3 maximum values from a table. For example is a table contains the salary of employees, I would like to get the top 3 maximum salary. Can you please help? Thank you in advance. Regards, Senthi
-
Hi, Could you have a look and see why I am getting an error in my link to the style sheet. http://www.bench-buddy.ca It says: Found 3 errors in oneColFixCtrHdr.css Affects: Firefox 1.5; Internet Explorer 6.0, 7.0; Internet Explorer for Macintosh 5.2
-
Db_link related question
Hi Folks, Environment: Oracle 10g (Rel 2) 1, created a new schema (with GRANT ALL PRIVILEGES) 2, created a db link to a remote database (off this new schema) Verification Steps: I can see the new db link entry in "ALL_DB_LINKS" table I can also acces
-
Keep getting a weird error message in AE CS4
I keep getting this error message concerning a few of the files in my Project bin: I get this message multiple times when I open this particular project and repeatedly click "OK" until the project finishes opening up. The result is missing files. W
-
i would like to buy iphone4$ in Canada for my brother who lives in Russia. is it possible to change language on iphone from English to Russian, and will this phone work in Russia?