Help out:SQL Assistant for oracle
Any time i use the logminer utility from the SQLaps SQL Assistant for oracle to query either my redo or archive logs i get this error, but the dictionary.txt file exist in the location specified;
Please help out with details on how to solve this error:
ORA-01284: file C\oracle\product\10.2.0\db_1\dictionary.txt cannot be opened
ORA-06512: at "SYS.DBMS_LOGMNR", line 58
ORA-06512: at line 1
kindly help out on the reason for this error and detailed steps to solve this issue
NAIJA-EXBOY wrote:
That is how the error appears when you use the GUI utility for the logminer to query the alert logs,
Does anybody have ideas on how logminer utility works using this software "SQL Assistant for oracle""SQL Assistant for Oracle" doesn't seem to be a tool provided by Oracle, but a third-party tool. Therefore I suggest you contact their technical support for your inquiry.
As a workaround, as already suggested, you might want to use the DBMS_LOGMNR package to use the LogMiner. It's not that complicated at all and just needs a couple of calls to the DBMS_LOGMNR and optionally DBMS_LOGMNR_D packages. You can check the documentation on how to use it.
If you have Oracle Enterprise Manager you could access the LogMiner interface using the Java Console version prior to 11g.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/
Similar Messages
-
Ocacle 12c with SQL navigator for Oracle
Hi, Could anyone help me out. I have recently installed the Oracle 12c on my personal laptop. Trying to connect the oracle database from SQL Navigator for oracle but couldn't succeed
874cb721-f132-4cea-b60b-c221071f680c wrote:
Hi, Could anyone help me out. I have recently installed the Oracle 12c on my personal laptop. Trying to connect the oracle database from SQL Navigator for oracle but couldn't succeed
I tried to make my car go but couldn't succeed.
Tell me how to make my car go.
How do I ask a question on the forums?
https://forums.oracle.com/message/9362002#9362002 -
Need help on SQL Statement for UDF
Hi,
as I am not so familiar with SQL statements on currently selected values, I urgently need help.
The scenario looks as follows:
I have defined two UDFs named Subgroup1 and Subgroup2 which represent the subgroups dependent on my article groups. So for example: When the user selects article group "pianos", he only sees the specific subgroups like "new pianos" and "used pianos" in field "Subgroup1". After he has selected one of these specific values, he sees only the specific sub-subgroups in field "Subgroup2", like "used grand pianos".
I have defined UDTs for both UDFs. The UDT for field "Subgroup1" has a UDF called "ArticleGroup" which represents the relation to the article group codes. The UDT for field "Subgroup2" has a UDF called "Subgroup1" which represents the relation to the subgroups one level higher.
The SQL statement for the formatted search in field "Subgroup1" looks as follows:
SELECT T0.[Name] FROM [dbo].[@B_SUBGROUP1] T0 WHERE T0.[U_ArticleGroup] = (SELECT $[OITM.ItmsGrpCod])
It works fine.
However, I cannot find the right statement for the formatted search in field "Subgroup2".
Unfortunately this does NOT WORK:
SELECT T0.[Name] FROM [dbo].[@B_SUBGROUP2] T0 WHERE T0.[U_Subgroup1] = (SELECT $[OITM.U_Subgroup1])
I tried a lot of others that didn't work either.
Then I tried the following one:
SELECT T0.[Name] FROM [dbo].[@B_SUBGROUP2] T0 WHERE T0.[U_Subgroup1] = (SELECT T1.[Code] FROM [dbo].[@B_SUBGROUP1] T1 WHERE T1.[U_ArticleGroup] = (SELECT $[OITM.ItmsGrpCod]))
Unfortunately that only works as long as there is only one specific subgroup1 for the selected article group.
I would be sooooo happy if there is anyone who can tell me the correct statement for my second UDF!
Thanks so much in advance!!!!
Edited by: Corinna Hochheim on Jan 18, 2010 10:16 PM
Please ignore the "http://" in the above statements - it is certainly not part of my SQL.
Please also ignore the strikes.Hello Dear,
Use the below queries to get the values:
Item Sub Group on the basis of Item Group
SELECT T0.[Name] FROM [dbo].[@SUBGROUP] T0 WHERE T0.[U_GroupCod] =$[OITM.ItmsGrpCod]
Item Sub Group 1 on the basis of item sub group
SELECT T0.[Name] FROM [dbo].[@SUBGROUP1] T0 WHERE T0.[U_SubGrpCod]=(SELECT T0.[Code] FROM [dbo].[@SUBGROUP] T0 WHERE T0.[Name] =$[OITM.U_ItmsSubgrp])
Sub group 2 on the basis of sub group 1
SELECT T0.[Name] FROM [dbo].[@SUBGROUP2] T0 WHERE T0.[U_SubGrpCod1]=(SELECT T0.[Code] FROM [dbo].[@SUBGROUP1] T0 WHERE T0.[Name] =$[OITM.U_ItmsSubgrp1])
this will help you.
regards,
Neetu -
Need help on Sql command for count
Hi,
I have the following table.
Temp_Set Table
ID Names Action
1 John Delete
2 John Add
3 Mary Update
4 Sim Add
5 Sim Update
How do I do a SELECT sql command for count(names) > 1 ?
Please kindly advise me. Thank you very much.It doesnt work when I do this
SELECT * FROM Temp_Set
HAVING Count(names) > 1
It prompts me the following error:
ORA-00937: not a single-group group function
00937.00000 - "not a single-group group function"
*Cause:
*Action:
Error at Line:16 Column:7i am not sure but you can try this:
SELECT B.* FROM
(SELECT NAMES, COUNT(1) CNT FROM TEMP_SET GROUP BY NAMES) A, TEMP_SET B
WHERE A.NAMES = B.NAME
AND CNT > 1 -
Help go count hardware for oracle server
Hi,
I need to count hardware for Oracle server;
users obout 10000 people at the same time.
What memory(RAM) and proceesos frequens(MHz) should be?
Where to find information about it?You should consider that if 10000 users will be concurrently in the database, and if at least 2m ram will be consumed by an oracle server process (just to start), then 20000mb ram will be required (at least) to support 10,000 oracle processes at the same time, about 20Gb for users, next, consider the amount of required SGA memory (not an exact value, as it depends on the database profile, DWH, OLTP, Hybrid). plus the processes for the regular OS operation.
This is not a small application, have you thought about growth? You should be thinking about scaleability. May be not a huge machine, but a cluster of more affordable machines that will grow with your needs. -
Help! SQL Server to Oracle 10.1.0.2
Hello! I need your help.
I need to migrate SQL Server 2000 to Oracle 10g on HP-UX.
I read the SQL Developer documentation, but it only seems to be available for Windows, MacOS, and Linux.
Is there one available for Unix?
Thank you in advance,
siAs user502130 indicates, you don't have to run sqldev on the database server itself; any Linux/Windows/Mac client will do.
Nevertheless, if you can install a JDK on Unix, you can install the platform independent sqldev.
Have fun,
K. -
Refining SQL Replacement for Oracle's WM_CONCAT Function (Pivoting Rows to column)
Greetings,
I am moving a query from Oracle SQL to Microsoft SQL and am having some difficulty with the transition. Part of my code (listed here) used to pivot the data and display RESULT_VALUE
by the CPI_SEQ . In Oracle this was easy to do by using the function: WM_CONCAT.
I have been ‘Googling’ for the non-Oracle way to achieve this and stumbled on to the “STUFF((SELECT…)”
method. This almost works for me except that it places everything into one cell, whereas
I need to concatenate RESULT_VALUE by CPI_SEQ (the CPI_SEQ is the unique ID). The current code gives me this:
RESULTS
Anxiety, Depression, Diabetes,
COPD, ARDS
Whereas I want my code to present it this way instead
CPI_SEQ
RESULTS
22
Anxiety, Depression
44
Diabetes
46
COPD, ARDS
SELECT (STUFF((SELECT ',' + RESULT_VALUE
FROM
SELECT DISTINCT
C1.CPI_Seq AS CPI_SEQ,C1.Result_Value AS RESULT_VALUE
,count(FCurrent.Field_Name) "Current"
,count(FPast.Field_Name) "Past"
,Count(*) Count
,CASE
When count(FCurrent.Field_Name) > 0 and count(FPast.Field_Name) >0 and count(Fcurrent.Field_Name)+ count(FPast.Field_Name) = Count(C1.PF_RESULT_SEQ) Then CONCAT(C1.Result_Value,'(C/P)')
When count(FCurrent.Field_Name) > 0 and count(FPast.Field_Name) =0 and count(Fcurrent.Field_Name)+ count(FPast.Field_Name) = Count(C1.PF_RESULT_SEQ) Then CONCAT (C1.Result_Value,'(C)')
When count(FCurrent.Field_Name) = 0 and count(FPast.Field_Name) >0 and count(Fcurrent.Field_Name)+ count(FPast.Field_Name) = Count(C1.PF_RESULT_SEQ) Then CONCAT(C1.Result_Value,'(P)')
End Result
From
[AnalyticsDW].[dbo].[rr_stag_PF_Results] A1
join [AnalyticsDW].[dbo].[rr_stag_PF_Results] C1 on A1.PF_Result_Seq = C1.PF_Result_Seq
join [AnalyticsDW].[dbo].[rr_PF_Fields_Dept] FCurrent on A1.PF_Result_Seq = FCurrent.RES_SEQ
AND FCurrent.Field_Name = 'Current'
AND A1.Label_Seq in('187582', '187576','187612','187600','187618','187612')
left join [AnalyticsDW].[dbo].rr_PF_Fields_Dept FPast on A1.PF_Result_Seq = FPast.Res_Seq
AND FPast.Field_Name = 'Past'
AND A1.Label_Seq in('187583', '187577','187613','187601','187619','187613')
WHERE
A1.Result_Value ='Yes'
AND (C1.Result_Value in ('Dyspnea', 'Confusion','Pressure Ulcer', 'Stasis Ulcer','Depression','Anxiety'))
GROUP BY
C1.CPI_Seq,
C1.Result_Value
) L1
FOR XML PATH('')),1,2,'')) RESULTS;With CTE
AS
SELECT
C1.CPI_Seq AS CPI_SEQ,
C1.Result_Value AS RESULT_VALUE
From
[AnalyticsDW].[dbo].[rr_stag_PF_Results] A1
join [AnalyticsDW].[dbo].[rr_stag_PF_Results] C1 on A1.PF_Result_Seq = C1.PF_Result_Seq
join [AnalyticsDW].[dbo].[rr_PF_Fields_Dept] FCurrent on A1.PF_Result_Seq = FCurrent.RES_SEQ
AND FCurrent.Field_Name = 'Current'
AND A1.Label_Seq in('187582', '187576','187612','187600','187618','187612')
left join [AnalyticsDW].[dbo].rr_PF_Fields_Dept FPast on A1.PF_Result_Seq = FPast.Res_Seq
AND FPast.Field_Name = 'Past'
AND A1.Label_Seq in('187583', '187577','187613','187601','187619','187613')
WHERE
A1.Result_Value ='Yes'
AND (C1.Result_Value in ('Dyspnea', 'Confusion','Pressure Ulcer', 'Stasis Ulcer','Depression','Anxiety'))
GROUP BY
C1.CPI_Seq,
C1.Result_Value
SELECT CPI_Seq,
STUFF((SELECT ',' + Result_Value
FROM CTE
WHERE CPI_Seq = c.CPI_Seq
FOR XML PATH(''),TYPE).value('.','varchar(max)'),1,1,'') AS Results
FROM (SELECT DISTINCT CPI_Seq FROM CTE)c
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
SQL Interface for Oracle in Windows 64 bit
Hi there,
Is there anyone ever trying to upload data from oracle (relational sql) to the essbase on Windows 64 bit platform ? I've read the documentation about setting SQL Interface by using the ODBC Connection ( using DataDirect Library ), but it seems that I can not see the DataDirect lib in the ODBC Control Panel (64bit), but it is installed in the 32 bit ODBC (odbcad32.exe).
However when I try to add new connection using MERANT OEM 5.2 64-BIT Oracle ODBC driver (DataDirect lib), it raise error : "the setup routines for the MERANT OEM 5.2 64-BIT Oracle ODBC driver could not be loaded due to system error code 193"..
please advice any one.... thanksI got it to work!!!
The reg setting that is provided is for the wrong version of the dll. Notice the 5.1 and then you only have 5.2 directories.
The files in the reg are also wrong they are for the example below. arora21.dll (stated) vs arora22.dll (one's provided)
Some easy tweaks.
I modified the reg with the following and presto. It worked!! To make it better you can change the OEM 5.1 to OEM 5.2.. Good luck
echo off
IF DEFINED HYPERION_HOME (
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol"
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v APILevel /t REG_SZ /d 1
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v ConnectFunctions /t REG_SZ /d YYY
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v CPTimeout /t REG_SZ /d 60
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v Driver /t REG_SZ /d %HYPERION_HOME%\Common\ODBC-AMD64\Merant\5.2\Drivers\arora22.dll
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v DriverODBCVer /t REG_SZ /d 3.52
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v FileUsage /t REG_SZ /d 0
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v HelpRootDirectory /t REG_SZ /d %HYPERION_HOME%\Common\ODBC-AMD64\Merant\5.2\help
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v Setup /t REG_SZ /d %HYPERION_HOME%\Common\ODBC-AMD64\Merant\5.2\Drivers\arora22.dll
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v SQLLevel /t REG_SZ /d 1
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /v UsageCount /t REG_SZ /d 1
REG ADD "HKLM\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers" /v "MERANT OEM 5.1 64-BIT Oracle Wire Protocol" /t REG_SZ /d Installed
) ELSE (
echo "Environment variable HYPERION_HOME must be first defined to run script."
Edited by: user652102 on Aug 23, 2008 11:37 AM -
Oracle ILM assistant for Oracle EBS R12.1 application with 11.1.0.7 DB
Oracle ILM through its ILM Agent, which is a database component provides option for data archiving.
Need to know how ILM agent can be used against Oracle EBS R12 and the options available:
a. Does ILM assistant map to industry Compliance requirements and can we add or modify based on additional Client requirements
b. Is this configured for all components and are the business rules (default) taken care in terms of archiving related data, if not what are the options available
c. What are the options to archive data
i. On Same and archive database
ii. Other RDBMS (mysql, or open source database)
d. Access to archived data
i. Is archive data available from the existing application or only from backend database
ii. Does ILM assistant provide options to access archived data (same Oracle RDBMS or heterogeneous database)
e. Retention options
i. Does ILM assistant provide multi tier retention options for archived data for different range (# of years)
Edited by: user9031099 on May 9, 2013 11:00 PM
Any update on my query please...?Limits the Preferred Read-Write Tablespace to only 1 where as in Oracle EBS we would require multiple tablespaces to be Preferred Read Write. Can we extend the functionality of ILM assistant to have multiple Read-Write tablespaces...?
-
Need help with SQL retrieval for previous month till current date
Hi ,
Need help generating statistics from previous month from date of enquiry till current date of enquiry.
and have to display it according to date.
Date of enquiry : 03/02/2012
Application Type| 01/01/2012 | 02/01/2012 | 03/01/2012 |...... | 31/01/2012 | 01/02/2012 | 02/02/2012 | 03/02/2012 |
sample1 20 30 40
sample 2 40 40 50
sample 3 50 30 30
Hope you guys can help me with this.
RegardsHi,
932472 wrote:
Scenario
1)If i run the query at 12 pm on 03/2/2012. the result i will have to display till the current day.
2)displaying the count of the application made based on the date.
Application type 01012012 | 02012012 | 03012012 | ..... 01022012| 02022012|03022012
sample 1 30 40 50 44 30
sample 2 35 45 55
sample 3 36 45 55Explain how you get those results from the sample data you posted.
It would help a lot if you posted the results in \ tags, as described in the forum FAQ. {message{id=9360002}
SELECT application_type as Application_type
, COUNT (CASE WHEN created_dt = sysdate-3 THEN 1 END) AS 01012012 (should be getting dynamically)
, COUNT (CASE WHEN created_dt = sysdate-4 THEN 1 END) AS 02022012
, COUNT (CASE WHEN created_dt = sysdate-5 THEN 1 END) AS 03022012
, COUNT (CASE WHEN created_dt = sysdate-6 THEN 1 END) AS 04022012
FROM table_1
GROUP BY application_type
ORDER BY application_typeThat's the bais idea.
You can simplify it a little by factoring out the date differences:WITH got_d AS
SELECT qty
, TRUNC ( dt
- ADD_MONTHS ( TRUNC (SYSDATE, 'MON')
, -1
) AS d
FROM table1
WHERE dt >= ADD_MONTHS ( TRUNC (SYSDATE, 'MON')
, -1
AND dt < TRUNC (SYSDATE) + 1
SELECT SUM (CASE WHEN d = 1 THEN qty END) AS day_1
, SUM (CASE WHEN d = 2 THEN qty END) AS day_2
, SUM (CASE WHEN d = 62 THEN qty END) AS day_62
FROM got_d
See the links I mentioned earlier for getting exactly the right number of columns, and dynamic column aliases. -
Require Help on Load Testing for Oracle Applications
Hi,
I have to do a Load Testing on Oracle Application 11i. I am not able to understand from where do I need to start.
Could any one please help on this ?
Ramu.The tool which I am using for this is "Oracle Application Testing Suite".
Any help welcome !
Ramu -
Guaranteed restore point Vs catdwgrd.sql downgrade for oracle 12c
I understand that we have two ways to downgrade (assuming compatible parameter is not modified) when we upgrade a 11.2.0.3 database to oracle 12c.
I am curious to know advantages of catdwgrd.sql when compared to guaranteed restore point downgrade. I think guaranteed restore point looks very simple
compared to catdwgrd.sql. Also I think oracle doesn't exactly bring the database back to the same state when we use catdwgrd.sql whereas
guranteed restore point brings us back to the same state.
Thank You
SarayuWhich method you choose will depend on your circumstances. This blog post may help
https://blogs.oracle.com/UPGRADE/entry/is_there_a_fallback_strategy
A third possible option is to simply restore the database from backups
HTH
Srini -
Can I change the SQL Datatype for Oracle Date?
xMII 11.5 maps Oracle's Date type to its SQL type code 91 (Date). When used in a display template, this xMII type displays only the date component (for example, "5/5/2007"), but in Oracle it holds the date and time. In Java, the java.sql.Date type also holds the time component. To get xMII to display a date/time (for example, "5/5/2007 11:23:59") you must have a SQL type code of 93 (Timestamp).
Is there any way to get my xMII widgets to show the date and time components of an Oracle Date? Is there a mapping of some kind that tells xMII which database SQL types map to which xMII SQL type codes?
-timIn Aqua Data Studio:
SELECT CREATED_DATE_TIME, MESSAGE FROM COLLABORATION_LOG
where CREATED_DATE_TIME > to_date('01/01/07','mm/dd/yy') and site='DEM1'
order by CREATED_DATE_TIME DESC
GO
results:
CREATED_DATE_TIME MESSAGE
5/3/2007 8:30:25 PM (403)Access Forbidden
5/3/2007 8:30:25 PM (403)Access Forbidden
5/3/2007 8:30:25 PM (403)Access Forbidden
If I put the exact same SQL (without the "GO" at the end which is an Aqua Data Studio keyword) into a Fixed SQL Query in xMII and click "Test" and choose html format I get:
CREATED_DATE_TIME MESSAGE
05/03/2007 00:00:00 (403)Access Forbidden
05/03/2007 00:00:00 (403)Access Forbidden
05/03/2007 00:00:00 (403)Access Forbidden
The time component is reported as "00:00:00" in xMII which is not the desired result. I want xMII to see that column as a Timestamp which should read and sore both the date and time components in xMII.
-tim -
Help on UI development for Oracle Lite
Can anyone suggest me a suitable environment that i can use to develop a UI to access Oracle lite database. J2ME does not have odbc support because of which i am not able to build the UI. Hence kindly help me in this regard. REQUIRED ASAP...
You have to use carbide c++ with csql ..Download symbian sql guide . Follow the step .Edit mmp file create csql ->msync ->deploy on device .
Then install Oracle mobile server on public ip machine .Make it accessble. It is backend. You can use UI of nokia as front end.But nowhere examples isnot avaible .If you find some where let me know
Chirag -
Help: Creating a cluster for Oracle Database
In school, we've been testing the grid infraestructure, ASM and oracle database
but now, for a research, we should be able to install, Grid+Asm and oracle database Using at least 3 computers
where should we start?
we want to install all of them since the begining, I mean, A network. Operating system on each computer, disk slices for the ASM, and the Oracle database.
thanks in advance!1. Install OS
2. Set IPs on DNS
3. Prepare the disk storage for ASM
4. create users,groups and directory,
5. install package requirements (see documentations or MOS)
6. runclufy to verify if the systems are ready to be installed
7. install grid infra
8. create diskgroup in asm
9. install oracle software
10. create database
11. verify installation
and the last one is please read http://download.oracle.com/docs/cd/E11882_01/install.112/e17214/toc.htm for full details. post here if you encounter problems
Cheers
Edited by: FZheng on May 21, 2011 7:18 PM
Maybe you are looking for
-
How to get subtotal value in ALV list display
Hi all, How to give condition on the value of subtotal line in ALV list display, i.e.if value of subtotal of plan quantity = actual quantity (in red oval) it should show the message 'ON TIME DELIVERY' else it should not show messagee.In my case(shown
-
I want to download a magazine and it is giving me that I have to fill my first car and my first job and i forgot them what should I do ??
-
Quite disappointed with the camera on the phone. I can live with no zoom, no flash and not being able to send any photos I've taken by either MMS or bluetooth. I could even live with not being able to take pictures in dark places such as at a concert
-
DP3 project won't load into DP4 mapping workbench
I have a toplink mapping project created with Toplink DP3r2. I tried to load it using the mapping workbench in Toplink DP4 (Build 050715). Here's the error: oracle.toplink.workbench.framework.OpenException: java.lang.NullPointerException at orac
-
MXF codecs & encoder for pc? MXF AVI or MOV
Hello, I have a question about MXF codecs for PPro CS3. I have a Sony PDW-530 (2/3" professional SD camera) and I shoot on IMX50. I have a problem when I import the .MXF files in PPro CS3. PPro CS3 says, 'unsupported format or codec is missing'. When