Change Behaviour of Sorting in 11g to 9i -Upgrading form 9i to 11g Issue
We are trying to perform only Select * from the Table(There are more than 25 columns in the table) with mentioned ORDER By Clause.
But the same query fetches the result set in below diffrenet ORDER in 9i and 11g
Query will look like this :-
The CURSOR SELECT Statement:
CURSOR Cur1 IS
SELECT *
FROM TABLE_NAME
WHERE CLAUSE
ORDER BY
COLUMN1 DESC , COLUMN2 ASC,COLUMN3 ASC;
COLUMN1 Value will HOLD only Y or N or ‘ ’ ----Empty
COLUMN2 Value will HOLD only Y or N or ‘ ’ ----Empty
COLUMN3 Value will HOLD any NUMBER value or ‘ ’ ----Empty
9i –ORDER of Result set
Rownum Record
1. 1234
2. 5678
3. 8888
4. 9999
5. 3333
6. 4444
7. 5555
8. 1111
11g –ORDER of Result set
Rownum Record
1. 8888
2. 9999
3. 1234
4. 5678
5. 3333
6. 4444
7. 1111
8. 5555
We tried with below Options to Enable the
Oracle Optimizer feature to behave like 9.2.0 version.
1. ALTER session set optimizer_features_enable='9.2.0'; -
SELECT /*+ optimizer_features_enable=('9.2.0' )*/ *
FROM TABLE_NAME
WHERE
ORDER BY COL1 DESC , COL2 ASC,COL3 ASC;
Then also we didn’t the same ORDER of result set.
2. alter session set "_newsort_enabled"=FALSE; - Altered the Session value. Then also ORDER of Result Set is Different from 9i.
3. ALTER session SET NLS_SORT=BINARY – ; - Altered the Session value. Then also ORDER of Result Set is Different from 9i.
After altering the sessions, the altered value is correctly set to the corresponding environment variable in 11g server, but still the order is different from 9i and 11g.
Can anyone help on this.??
Is there any way like this to make 11g oracle Complier to behave as 9i Compiler. Since The Inbuilt compiler algorithm of 9i and 11g are Entirely diff. The records are not coming in that Order
Thanks!
Bala
This is expected behavior - see the explanation in MOS Doc 456707.1 (Order Of Data Retrieval Differs after upgrading 9i To 10g) - essentially, releases before 10g were not fully compliant with ANSI standards.
Explictly call out all the columns in the ORDER BY clause to fix your issue. Why does the order matter ?
HTH
Srini
Similar Messages
-
Change Behaviour of Sorting in 11g to 9i
Hi,
We are trying to perform only Select * from the Table(There are more than 25 columns in the table) with mentioned ORDER By Clause.
But the same query fetches the result set in below diffrenet ORDER in 9i and 11g
Query will look like this :-
The CURSOR SELECT Statement:
CURSOR Cur1 IS
SELECT *
FROM TABLE_NAME
WHERE CLAUSE
ORDER BY
COLUMN1 DESC , COLUMN2 ASC,COLUMN3 ASC;
COLUMN1 Value will HOLD only Y or N or ‘ ’ ----Empty
COLUMN2 Value will HOLD only Y or N or ‘ ’ ----Empty
COLUMN3 Value will HOLD any NUMBER value or ‘ ’ ----Empty
9i –ORDER of Result set
Rownum Record
1. 1234
2. 5678
3. 8888
4. 9999
5. 3333
6. 4444
7. 5555
8. 1111
11g –ORDER of Result set
Rownum Record
1. 8888
2. 9999
3. 1234
4. 5678
5. 3333
6. 4444
7. 1111
8. 5555
We tried with below Options to Enable the
Oracle Optimizer feature to behave like 9.2.0 version.
1. ALTER session set optimizer_features_enable='9.2.0'; -
SELECT /*+ optimizer_features_enable=('9.2.0' )*/ *
FROM TABLE_NAME
WHERE
ORDER BY COL1 DESC , COL2 ASC,COL3 ASC;
Then also we didn’t the same ORDER of result set.
2. alter session set "_newsort_enabled"=FALSE; - Altered the Session value. Then also ORDER of Result Set is Different from 9i.
3. ALTER session SET NLS_SORT=BINARY – ; - Altered the Session value. Then also ORDER of Result Set is Different from 9i.
After altering the sessions, the altered value is correctly set to the corresponding environment variable in 11g server, but still the order is different from 9i and 11g.
Can anyone help on this.??
Is there any way like this to make 11g oracle Complier to behave as 9i Compiler. Since The Inbuilt compiler algorithm of 9i and 11g are Entirely diff. The records are not coming in that Order
Thanks!
BalaHere is the O/P
9i –ORDER of Result set
Rownum Primary Key Record COL1 COL2 COL3
1. 1234 Y Y 4
2. 5678 Y Y 13
3. 8888
4. 9999 Y Y 25
5. 3333 Y Y 78
6. 4444 Y Y 85
7. 5555
8. 1111 Y Y 90
11g –ORDER of Result set
Rownum Record COL1 COL2 COL3
1. 8888
2. 9999 Y Y 25
3. 1234 Y Y 4
4. 5678 Y Y 13
5. 3333 Y Y 78
6. 4444 Y Y 85
7. 1111 Y Y 90
8. 5555 -
How to change the default sorting in iTunes
Hi,
Does anyone know how to change the default sorting method for all items in iTunes? I use the third option for organizing the library as a whole (the one that has a list of icons for bands that you double click to show only that band's songs). The only sorting method I use is to sort by Album by Year (ascending), this makes the most sense to me. I can tell that iTunes is attempting to remember when I do this for certain artists, but it epically fails at maintaining this sorting pattern.
To be clear, say I open Radiohead and click through to have it sort with the above method. Everything works great, but when I return a few days later to play Radiohead again, the sorting is not maintained. It could be as simple as sorting in a descending direction, or could even be trying to sort by the number it was added in my library.
I'd really appreciate it if someone knew of a way (maybe even through scripts if possible / the only solution) to eliminate this problem and have every (NOT just the artists who I've told iTunes to sort a specific way) artist sort that way.
I don't know if my copy is just corrupt? It may be, since for some artists it's started playing them in the above mentioned order they were added to my library even if I force a sort by album by year (i.e. it will go from playing a 2007 album to a 2002 album and not the 2008 album).
Thanks!Andrew, I know I am extremely late to the party but I too use Grid View. I had the same problem that you had but have found this to work for me. I used it and it is still holding as my default sorting even after switching between the Artist page and Grid View.
Once you are inside of the Artist page continue to click on the Album column until it shows Album by Artist/Year.
That will give you each album sorted by the year instead of it randomly sorting it for you each time you leave an Artist's page and then back again.
Hope this helps. -
Error when inserting or changing in a sorted table
Hi Experts,
When i am executing a webdynpro application it says Error when inserting or changing in a sorted table. Can any one help for this.
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: GET_CATEGORY_LIST of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
Method: IF_COMPONENTCONTROLLER~GET_CATEGORY_LIST of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
Method: WDDOMODIFYVIEW of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP
Method: MODIFY_VIEW of program CL_WDR_VIEW===================CP
Method: DO_MODIFY_VIEW of program CL_WDR_CLIENT_COMPONENT=======CP
Method: DO_MODIFY_VIEW of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
in ST22
Object Definition
DATA: lo_node TYPE REF TO if_wd_context_node,
lo_node_info TYPE REF TO if_wd_context_node_info,
lo_element TYPE REF TO if_wd_context_element.
Additional Data declarations
DATA: lv_key TYPE string.
Get context node.
lo_node = wd_context->get_child_node( name = 'DROPDOWNLISTS' ).
lo_node_info = lo_node->get_node_info( ).
Call method to fetch the categories.
CALL METHOD cl_hap_wd_start_page_ui=>category_get_list
EXPORTING
add_on_application = add_on_application
IMPORTING
t_categories = lt_categories.
Append Default selection entry 'All'.
lw_category-category_id = '00000000'.
lw_category-category_name = 'All'.
APPEND lw_category TO lt_categories.
Sort table after appending the new entry.
SORT lt_categories ASCENDING.
Loop through the category list and populate key(category_id) value(category_name) pair for
LOOP AT lt_categories INTO lw_category.
lw_key_value-key = lw_category-category_id.
625 lw_key_value-value = lw_category-category_name.
>>>>> APPEND lw_key_value TO lt_key_values.------>Here it throws an error
627 CLEAR: lw_key_value, lw_category.
628 ENDLOOP.
629
630 * Bind the category key-value pair to the context attribute.
631 CALL METHOD lo_node_info->set_attribute_value_set
632 EXPORTING
633 name = 'CATEGORY_LIST'
634 value_set = lt_key_values.
635
636 * Make the entry 'All' as default selected.
637 CALL METHOD lo_node->set_attribute
638 EXPORTING
639 value = '00000000'
640 name = 'CATEGORY_LIST'.
641
642 ENDMETHOD.
643
644 method GET_EMPLOYEES.
645Hello Durga,
from the error what I understood is lt_key_values is a sorted table and you are trying append a new line to it. Incase of sorted table you need to use the INSERT statement and not the APPEND statement.
INSERT lw_key_value INTO table lt_key_values.
BR, Saravanan -
Is it possible to change role's sort priority dynamically?
Dear repliers,
I want to implement menu personalization.
I mean i want user to change their menu structure dynamically in webdynpro java.
Is there any way or code to do this?
If it isn't, is there any way to change role's sort priority dynamically in webdynpro java?
Please let me know if u have any information about it..
Yours Regards,
JS Parkwe can change pages/workset/roles sort priority dynamically. But it will affect all users. There only one copy of pages/workset/roles exists.
The work around could be... You can develop a custom application in which you have predefine set of possible values.
example :
role (sort Priority)
1) employee (100)
2) Manager (200)
3) Sales Manager (300)
Create copy of Each role with different sort priority for all roles
for eg.
1) Employee (200)
2) Employee (300).
And in your web dynpro application assign roles according to users choice.
But It would be difficult to maintain roles. Because if you need to perform one change you need to apply them to their copies as well. -
Want to change the default sort order of a Advanced table
Hi all ,
Hope all of you doing good.
I am trying to change the deafult sort order of a " View Applicants" advanced table on Irecruitment selfservice page , using personalization feature but its not sorting as expected.
The default sort order is asc by the name of the applicants. I wanted to override it by " Date Applied " desc using personalizing the advanced table.
But its not sorting by Date applied and still shows the sort by applicant name.
Any inputs will be greatly helpful
I am using the Oracle Apps 11.5.10 version.Hey guys m I got the answer for the below question.
Oracle have few Restriction and limitation on such Advanced table in sorting the data,
Few of them are as mentioned below ...
1. Sorting is not allowed for tables that allow inserts.
2. Sorting is not supported for tables containing updateable columns
3. Sorting is disabled when the Select column is checked for a row in a table or when Hide/Show is present in a table.
Because of the above limitations , we cannot sort or override the existing alphabetical name sort order to Date applied sort order on the View Applicant advanced table.
You can observe that , View Applicant page is having an option called "Update Status" which allow us to update applicant’s status or rating in the Advanced table.
On such updatable advanced tables, oracle does not allow us to override the sort order on any of the table columns.
Keeping it in a nutshell , I can say it's does not allow us to change the sort order of the view applicant advanced table ( which is having updateable columns ) to sort them in Date applied instead of Name( which is default ). -
Sort on the Measure in Pivot table in OBIEE 11g
The pivot table ignores the sort on the measrure in the criteria section, so how can we enable sort on the measure columns in pivot in OBIEE 11g ?
887111 wrote:
The pivot table ignores the sort on the measrure in the criteria section, so how can we enable sort on the measure columns in pivot in OBIEE 11g ?Try this:
1) Make a duplicate layer of the measure column.
2) Move the duplicate layer to the far left in the Rows section.
3) Apply the desired sort order.
4) Hide the duplicate layer column. -
How can i change the default sort Arrow Color in the datagrid?
How can i change the default Sort Arrow Color in the
datagrid? i didnt found any style properties to change the sort
arrow color, i know it can be do it in flex 1.5 but how to do it in
flex2?Type about:config in the address bar. Find browser.download.dir and change it to the path you want. Remember that Android has a linux base so the path will similar to /mnt/sdcard/downloads/
-
Error while upgrading OBIEE10g RPD to 11g Cannot release MBean - not locked
Hi,, I have successfully installed OBIEE 11g and now truing to upgrade 10g RPD to 11g RPD using Upgrade Assistant. The process gets failed with following error in the LOG file;
*[2013-02-19T00:54:53.367+05:30] [bi] [NOTIFICATION] [oracle.bi.security] Adding member 'REPORTING_USER' to role 'REPORTING_USER'*
[Comment] The above line is last line without any WARNING or ERROR, the WARNING and ERROR starts brom next line (below)
*[2013-02-19T00:56:55.375+05:30] [BIEE] [WARNING] [upgrade.BIEE] Cannot release MBean - not locked*
*[2013-02-19T00:56:55.376+05:30] [BIEE] [ERROR] [upgrade.BIEE] javax.management.OperationsException: WARNING: Element Type: DOMAIN[[*
Element Id: null
Operation Result: FAILED_TO_APPLY_CHANGES
Detail Message: Timeout; Waiting for all managed servers to push configuration changes; [120 secs]; AdminServer
Please help.
Edited by: 923934 on Feb 25, 2013 2:41 AMwhile upgrading the RPD make sure that user weblogic server must be up and running including the all the BI Services.
first look into these servers and run the upgrade utility.
let me know is there any issues.
Regards,
Yogi. -
Changing Oracle Fusion Middleware text in background of the forms.
Dear All,
I have migrated forms 6i into 11g.
Now In the background of forms, "Oracle Fusion MiddleWare" Text displaying.
While searching for the solution I got something like JAR and all. I dont understand this.
Can anybody tell me where to change the setting for "Oracle Fusion MiddleWare" Text display.
Please help me out.
Thanks in Advance.
Regards,
Raja.In formsweb.cfg, change BACKGROUND to point to the image of your choice. The value is a virtual path so you can use a fully qualified path or relative path. For example:
BACKGROUND=http://myServer/icons/background.gif
OR
BACKGROUND=/icons/background.gif
The same is true for LOGO and SPLASHSCREEN
Check out the documentation. This is always a good place to start.
http://docs.oracle.com/cd/E24269_01/doc.11120/e24477/configure.htm#i1077074
Edited by: Michael Ferrante on Mar 6, 2012 3:55 PM -
Error in upgrading database9i into database 11g
Hi Dear Firends ,
In converting database oracle9i to oracle 11g when I start to upgrade old database into oracle 11g with DataBase Upgrade Assistant , I face to an this error
error :
This is error in creating the following process : c:\oracle\ora90\bin\sqlplus.exe-S\NoLog
This error is :
Create process : c:\oracle\ora90\bin\sqlplus.exe-S\NoLog
error=2
I was wondering if you could help me again?
thanksGreetings,
These are the steps I use to install Apex 3.2 on Oracle XE:
1. Install Oracle Database Express
2. Download the latest version of Oracle Application Express.
3. Extract the zip file to “C:\OracleXE”. The unzip process will create the necessary “root” folder as it is extracting.
4. Open a terminal session and:
Change directory to c:\oraclexe\apex
Type: sqlplus /nolog
Type: connect sys as sysdba
NOTE: You will be prompted to supply the password.
Type: @apexins SYSAUX SYSAUX TEMP /i/
5. Once you have completed the standard install, you need to perform the following steps to complete the upgrade:
a. Find the file called APXLDIMG.SQL and change:
FROM:
create directory APEX_IMAGES as ‘&1/apex/images’ ;
TO:
create directory APEX_IMAGES as ‘c:\oraclexe\apex\images’ ;
b. Follow the directions in Step 4 to open a terminal session.
i. Type: @apxldimg.sql
ii. Type: @apxxepwd.sql password (where password is the password of the Application Express internal ADMIN account)
6. Exit from the SQL*Plus session.
7. Change directory to c:\oraclexe\apex\owa, open the README.TXT file and follow the instructions within to complete the installation -
Oracle Upgrade from 10g to 11g [BRANCHED BY MODERATOR]
Hi Deepak/Folks,
Another question that I have is that while doing the Oracle Upgrade on an EP server, the patches were not installed properly and I had to shut down the Patches installation after it did not do anything for a while.
Now when I try to install the patches it fails telling me that the Installed patches cannot be verified, I had written to SAP and they told me to follow the
SAP note 1862446 - Inventory
load failed... OPatch cannot load inventory for the given Oracle Home
and re-create the oracle inventory.
This has also not helped in anyway.
Is there a solution to this problem.
Following is the error that I am getting when I try to Install the patches
Getting pre-run patch inventory...
Getting pre-run patch inventory...failed.
Cannot get pre-run patch inventory.
Refer to log file
$ORACLE_HOME/cfgtoollogs/mopatch/mopatch-2014_08_06-14-52-51.log
when I open the log file specified here I get the following
more mopatch-2014_08_06-14-52-51.log
more /oracle/<SID>/11203/cfgtoollogs/mopatch/mopatch-2014_08_06-15-01-51.log
MOPatch - Install Multiple Oracle Patches in One Run - 2.1.15.
Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
Version: 2.1.15
Revision: 5.1.2.26
Command-line: /oracle/<SID>/11203/MOPatch/mopatch.sh -v -s SAP11203P_1312-20009978.zip
Oracle Home: /oracle/<SID>/11203
RDBMS version: 11.2.0.3.0
OPatch version:11.2.0.3.3
Clean-up: supported
PSUs: supported
Log file: $ORACLE_HOME/cfgtoollogs/mopatch/mopatch-2014_08_06-15-01-51.log
Patch base: .
Patch source: SAP11203P_1312-20009978.zip
Link script: ./link.mts<SID>ua.sh
Readmes: <none>
Strpd. Readmes:<none>
make utility: /usr/ccs/bin/make
unzip utility: /oracle/<SID>/11203/bin/unzip
User name: ora<SID>
Working dir: /oracle/stage
System: HP-UX mts<SID>ua B.11.31 U ia64 2468369872 unlimited-user license
Disk free: 11734549 KBytes on /oracle/<SID>
Disk required: 886496 KBytes on /oracle/<SID>
Getting pre-run patch inventory...
executing: "/oracle/<SID>/11203/OPatch/opatch" lsinventory -retry 0 -xml "./mopatch-187-21696-tmpdir/preinv.xml"
========================================================
GENERIC OPATCH VERSION - FOR USE IN SAP ENVIRONMENT ONLY
========================================================
Oracle Interim Patch Installer version 11.2.0.3.3
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/<SID>/11203
Central Inventory : /oracle/<SID>/oraInventory
from : /oracle/<SID>/11203/oraInst.loc
OPatch version : 11.2.0.3.3
OUI version : 11.2.0.3.0
Log file location : /oracle/<SID>/11203/cfgtoollogs/opatch/opatch2014-08-06_15-01-56PM_1.log
List of Homes on this system:
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
Oracle Home dir. path does not exist in Central Inventory
Oracle Home is a symbolic link
Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
OPatch failed with error code 73
Getting pre-run patch inventory...failed.
Cannot get pre-run patch inventory. Exiting.
I would appreciate if you folks can help me out on this
Thanks
APSFOLLOW UP QUESTION BRANCHED:
Oracle Upgrade from 10g to 11g [BRANCHED BY MODERATOR] -
Dear All,
I am using 10.2.0.1 database and planning to upgrade to 11.1.0.6 and while executing the utlu102i.sql I found the database is using the old timezone.
SQL> select * from v$timezone_file;
FILENAME VERSION
timezlrg.dat 2
The issue is there is no patch available for the timezone upgrade for the windows platform in metalink.
Questions?
1. How can I upgrade the Time zone version before upgrading the database to 11g, if there is no patch available.
2. It is mandatory to upgrade the timezone or 11g will automatically upgrade it.
3. If I will go for the database upgrade without updating the timezone, will update fail.
4. Do I have to upgrade the timezone to the current database (10.2.0.1) and then install the 11g binaries and start the upgrade or install the 11g binary first and apply the patch on 11g and then start the database upgrade.
Below is the some part of the output of utlu102i.sql
Miscellaneous Warnings
WARNING: --> Database is using an old timezone file version.
.... Patch the 10.2.0.1.0 database to timezone file version 4
.... BEFORE upgrading the database. Re-run utlu111i.sql after
.... patching the database to record the new timezone file version.
WARNING: --> Database contains stale optimizer statistics.
.... Refer to the 11g Upgrade Guide for instructions to update
.... statistics prior to upgrading the database.
.... Component Schemas with stale statistics:
.... SYS
.... OLAPSYS
.... SYSMAN
.... CTXSYS
.... XDB
WARNING: --> Database contains schemas with objects dependent on network
packages.
.... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
.... USER SYSMAN has dependent objects.
WARNING: --> EM Database Control Repository exists in the database.
.... Direct downgrade of EM Database Control is not supported. Refer to the
.... 11g Upgrade Guide for instructions to save the EM data prior to upgrade.
Eagarly waiting for your response.
Thanks in advance.1. How can I upgrade the Time zone version before upgrading the database to 11g, if there is no patch available.
See Metalink Document How To Apply The V4 DST Patches To Windows Clients or Servers [ID 417893.1], this should help you here.
2. It is mandatory to upgrade the timezone or 11g will automatically upgrade it.
You will need to update the Timezone to V4 prior to attempting an upgrade
3. If I will go for the database upgrade without updating the timezone, will update fail.
Yes that upgrade will not work without first updating the timezone for the 10.2.0.1 database you have
4. Do I have to upgrade the timezone to the current database (10.2.0.1) and then install the 11g binaries and start the upgrade or install the 11g binary first and apply the patch on 11g and then start the database upgrade.
The binary installations can be handled separately, however no upgrade operations can happen until the DST v4 is taken care of for the upgrade.
Edited by: mrmessin on Dec 31, 2009 1:41 AM -
Images after upgrade from 10g to 11g
We recently upgraded from 10g to 11g and all the images are broke in the dashboard.
Can anyone provide the steps needs to be done in order to fix the broken images?
Thanks.Put image files at
Drive:\Oracle\Middleware\Oracle_BI1\bifoundation\web\app\res\s_blafp\images
Drive:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\s_blafp\images
If required
Drive:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\.appmergegen_1291264099332\analytics.ear\ukjjdc\res\s_blafp\images
Call them using fmap
Syntax: fmap:images/imagename.imageformat
for e.g: fmap:images/geograph.jpg
Pls mark correct/helpful if helps -
After Upgrade OBI 10g to 11g:Odbc driver returned an error - SQLExecDirectW
Hi all,
for an OBI upgrade from 10g to 11g I used a RPD and Webcatalog based on a remote machine other than my local machine. Firstable I am making the tests on a Linux Virtual machine, which uses the Sample Lite version from Oracle.
I made the following steps:
1. I upgraded the RPD and Webcatalog. It worked without any errors.
2. I set the static variable BI_EE_HOME via Administration Tool to the path in the Linux machine.
--> Here I am not sure if the set path is correct. It begins with: \bi\ ...\instances\...\coreapplication_obis1 (... : I can't mention here the whole path name).
--> When the OBI Server is installed in Windows, the mentioned static variable points to something like 'C:\<install folder>\...\coreapplication_obis1'
--> Question: is the begin of my set path correct?. I set that pointing to the Linux OBI Server, because the OBI Server is installed on Linux.
Problem:
After login as the user in RPD: Administrator/<Password for my upgraded RPD> I can see the links in the Catalog and the Dashboards links. But I can not see any values, any Reports when going through the links.
For example when trying to see a Dashboard with date 12.02.2011it happens:
Odbc driver returned an error (SQLExecDirectW).
Status: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] general error.
[nQSError: 43113] Message returned from OBIS.
[nQSError: 43119] Query Failed:
[nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified
at OCI call OCIServerAttach.
[nQSError: 17014] Could not connect to Oracle database. (HY000)
SQL Issued: SELECT "Dimension_-_My Dimension"."MyDimension" saw_0 FROM "Accounting (ACC)" WHERE "Dimension_-_My Dimension"."MyDimension" LIKE 'J%' ORDER BY saw_0
I think its not retrieving the data from the remote database, because I don't have the data of the remote database in my local. I think the OBI Server still is pointing to the local virtual machine Oracle database.
Can anybody tell me what happens here and how can I solve this problem?.
I would appreciate any help....Hi gerardnico,
I've tried many things and did as in your articles, but I don't have success with that.
These are the things I did:
1. I searched for the file tnsnames.ora in my Linux virtual machine. I could find it in many paths:
/.../Oracle_BI1/network/admin/samples/tnsnames.ora
/.../oracle/xe/app/oracle/product/10.2.0/server/hs/admin/tnsnames.ora.sample
/.../oracle/xe/app/oracle/product/10.2.0/server/network/admin/tnsnames.ora
/.../oracle/xe/app/oracle/product/10.2.0/server/network/admin/samples/tnsnames.ora
/.../oracle/xe/app/oracle/product/10.2.0/server/network/admin/temp/tnsnames.ora
/.../usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin
in the last path I found the listener.ora as well.
2. I took the tnsnames.ora from the last path, because the ORACLE_HOME points to /.../usr/lib/oracle/xe/app/oracle/product/10.2.0/server
3. I edited the tnsnames.ora this way:
# tnsnames.ora Network Configuration File:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = host_of_the_remote_machine)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = database_name_of_the_remote_machine)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = database_SID_of_the_remote_machine)
(PRESENTATION = RO)
4. I made a backup of the tnsnames.ora in path /.../Oracle_BI1/network/admin/samples/tnsnames.ora
and copied the tnsnames.ora from /.../usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin to the Oracle_BI1 path
5. I set the TNS_ADMIN to /.../usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin
6. I restarted the BI Server
No success in what I did. The error is still there.
7. I've tried also: sqlplus database_user_remote_machine/database_password_remote_machine@database_SID_remote_machine
I didn't get the connection:
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 16 04:36:10 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Enter user-name: database_user_remote_machine
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
What am I doing wrong here?. I am still thinking that I need the import of the database.
Additional SID=Service-Name=Database-name in the remote machine.
Maybe you are looking for
-
RFQ stored in which table.
Hi Gurus, I want to know in which table the RFQ(Vendor Requisition number) is stored. Regards, Krishna
-
Reoccurring problem with email.
Anyone else having trouble sending emails? Incoming is not a problem.
-
I have a 3GS and I was planning on the following: 1) Backup / Sync 2) Install iOS 4 3) Backup / Sync 4) Activate iPhone 4 5) Restore from backup My friend has a 3G and is upgrading to iPhone 4. I told him he should do the same process. Was I correct
-
Im reading Light Novels PDF Generated by people, after some time that person updated a new volume but the images of the PDF is corrupted on the Adobe Reader Program. But when opening it on a browser the images are okay -.- Help please.
-
What account info will I need to buy the data add on for europe
Only know my mobile number will I need my EE account number when I buy the add on?