How to find the sql query by using the hash value
HelloDBVERSION: 9.2.0.8
I generated the statspack report and I want to see total request and I hash_value here.
in v$ sql can't see all querys... .pls suggest me other ways...
Thank you
Srini...
Have you seen Peter's response? There is no installation other than that would be to store the history of the IMO. Another reason that you must pass to 10g or 11g better, now.
Aman...
Tags: Database
Similar Questions
-
How to find the ASCII value of the TAB?
Hi friends,
I'm trying to find the ASCII value of the TAB character using ASCII standard as:
SELECT ASCII ('< TAB >') FROM DUAL;
I'm running the command above in SQL * more.
Is not treated as TAB.
It is considered space and give the ASCII value of the space - 32.
Please let me know how?
Version of Database - 9i
Concerning
Anthony Alix.Its only editor that gives you the problem; Try it on TOAD or sql developer, it works perfectly.
Is there a particular reason you want in sql * more?
-
How to find the max value of scrollV in AS3?
I used the response from Ned to get my 3 fields of scrolling text set based on the value of one of them. Thanks Ned!
The other two text fields scroll to match the text box 'parent', but in the end – you get to the last scroll position - the other two do not update and 3 text fields are out of alignment. It's just at the end of the roll. The rest of the scroll values line up. I think that if I can find the scrollV max value, I can force the two others to scroll one last time when this value is reached by the text field "parent".
The textfield object has a property for this: maxScrollV.
-
How to find the last value of the row in a Datagrid?
Hello world
Thanks in advance.
I need your help to find the latest data from the line in the Datagrid control.
In fact I use Datagrid to display my data in flex. In my data, I stored the value of gender of the employees. So if the last row in my datagrid 'female' I need to highlight this particular line. So please help me to solve this problem.
Thank you
Charles. J
mylastrowitem dg.dataProvider.getItemAt = (dg.dataProvider.length - 1).
-
How to find the maximum value in a collection
Hi all
I'm using Oracle 11 g 2. I need to know the maximum value in a collection of items.
When I run the following, I get the maximum number of collection as '5' but I need the max value itself which is 8, please help.
DECLARE
type v_number1 is table of number of directory indexes;
v_number v_number1;
IDX NUMBER.
psrc_file VARCHAR2 (10): = '1,2,4,8,6';
v_src_file_string_array v_number1;
number of max_temp;
BEGIN
SELECT regexp_substr (psrc_file, "[^,] +', 1, level") coll
LOOSE COLLECTION v_src_file_string_array
FROM (SELECT psrc_file FROM dual)
CONNECTION OF LEVEL < = length (regexp_replace (psrc_file, "[^,] +")) + 1;
-Set up some test values:
BECAUSE me IN v_src_file_string_array. FIRST... v_src_file_string_array. COUNTING LOOP
-v_numbers (i): = v_src_file_string_array (i);
v_number (i): = i;
END LOOP;
max_temp: = v_number (v_number.first);
IDX: = v_number.first;
-Display the contents of the table:
While the idx is not null
loop
If (idx) v_number > = max_temp
then
max_temp: = v_number (idx);
end if;
IDX: = v_number.next (idx);
end loop;
dbms_output.put_line ('Max: ' | max_temp);
end;
/
Thank you!Harinath Arasu says:
Hi allI'm using Oracle 11 g 2. I need to know the maximum value in a collection of items.
When I run the following, I get the maximum number of collection as '5' but I need the max value itself which is 8, please help.
DECLARE
type v_number1 is table of number of directory indexes;v_number v_number1;
IDX NUMBER.
psrc_file VARCHAR2 (10): = '1,2,4,8,6';
v_src_file_string_array v_number1;
number of max_temp;BEGIN
SELECT regexp_substr (psrc_file, "[^,] +', 1, level") coll
LOOSE COLLECTION v_src_file_string_array
FROM (SELECT psrc_file FROM dual)
CONNECT BY LEVEL<= length(regexp_replace(psrc_file,="" '[^,]+'))="" +="">=>-Set up some test values:
BECAUSE me IN v_src_file_string_array. FIRST... v_src_file_string_array. COUNTING LOOPIt should be-online 1... v_src_file_string_array. COUNTY
-v_numbers (i): = v_src_file_string_array (i);
v_number (i): = i;This should be-online v_numbers (i): = v_src_file_string_array (i);
Can't do you all just...
DECLARE type v_number1 is table of number index by binary_integer; v_number v_number1; idx NUMBER; psrc_file VARCHAR2(10) := '1,2,4,8,6'; v_src_file_string_array v_number1; max_temp number; BEGIN SELECT regexp_substr(psrc_file, '[^,]+', 1, level) coll BULK COLLECT INTO v_src_file_string_array FROM (SELECT psrc_file FROM dual) CONNECT BY LEVEL <= length(regexp_replace(psrc_file, '[^,]+')) + 1; FOR i IN 1..v_src_file_string_array.COUNT LOOP if max_temp is null or v_src_file_string_array(i) > max_temp then max_temp := v_src_file_string_array(i); end if; END LOOP; dbms_output.put_line ('Max: ' || max_temp); end;
Or more simply...
DECLARE type v_number1 is table of number index by binary_integer; v_number v_number1; idx NUMBER; psrc_file VARCHAR2(10) := '1,2,4,8,6'; v_src_file_string_array v_number1; max_temp number; BEGIN SELECT to_number(regexp_substr(psrc_file, '[^,]+', 1, level)) BULK COLLECT INTO v_src_file_string_array FROM (SELECT psrc_file FROM dual) CONNECT BY LEVEL <= length(regexp_replace(psrc_file, '[^,]+')) + 1 order by 1 desc; dbms_output.put_line ('Max: ' || v_src_file_string_array(1)); end;
Published by: JAC on April 3, 2013 18:56
Unhandled exception... -
How to find the maximum value of the alphanumeric column
Hello
I have following data varchar column.
USR_UDF_ALPHANUMERIC
--------------------------------
234123
CS/123762
987643
CS/990087
999999
CS/761287
I'm looking to separate the 2 SQL queries which should get the output as CS/990087 for the first query and * 999999 * for the second query.
database is 10g.As always: it is documented.
See:
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/functions043.htm#i1064409And make a few quick searches yourself:
http://www.Oracle.com/pls/db102/homepage
or
http://www.Oracle.com/pls/db112/homepage -
How to find the primary key columns in the tables in MS Access using SQL queries
How to find the primary key columns in the tables in MS Access using SQL queries
Hello
This is the forum for Windows Vista programs related issues.
For better assistance, please try instead the Forums in SQL Server .
Thank you! Vincenzo Di Russo - Microsoft MVP Windows Internet Explorer, Windows Desktop Experience & security - since 2003. ~ ~ ~ My MVP profile: https://mvp.support.microsoft.com/profile/Vincenzo
-
How to find the definition of an indextype sql
Hi all
I would like to know how to find the "indextype" sql definition...?
could not understand this. I even tried sql developer and TOAD to extract the sql definition but couldn't!
Thanks in advance.
Hello
You can use the dbms_metadata.getddl
the query would be like this:
Select dbms_metadata.get_ddl ('INDEXTYPE', 'indextype_name') of double;
How to recover or retrieve oracle database operator. Master of geodata
Kind regards
-
How to find the yahoo flickr Photo password used to download photos from the Photo app?
I have 151 000 pictures on Flickr that were loaded from Iphoto, then more recently the Apple Photo app on my imac.
I can't open a session using a browser because the browser (Chrome) has lost the password of his records.
How to find the password that the Photo is using app?
You can not extract the code to access from iPhoto or Photo. I could go to the Web of Flickr site and see what password recovery options they offer for your account.
-
How to find the right server to use windowsmail to send and receive e-mails?
How to find the right server to use windowsmail to send and receive e-mails?
Who is your current e-mail server? (Which is after the @ in your address).Windows Mail: Setting up an account of end-to-end
http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-mail-setting-up-an-account-from-start-to-finish -
How to find the Bookmarks panel is enable or disable the use of Applescript?
Hi all
In Indesign, how to find the Bookmarks panel is enable or disable the use of applescript?
Please any idea on this subject!
Thank you
John.
Hi John,.
Version CC 2015 (and I guess in earlier versions) you would use:
Tell application "Adobe InDesign CC 2015"
the visible isVisible value of "Bookmarks" Panel
tell the end
isVisible
-
Photoshop CS4 - is - does anyone know how to find out if two people use the same file?
Photoshop CS4 - is - does anyone know how to find out if two people use the same file?
Yes, I assumed that was the case, and I thought that this link addressed to her. I would have thought it was more a function of your network and the OS than Photoshop.
-
How to find the second largest in a pl/sql table
Hello friends,
I want to find the first and second maximum items in a pl/sql table.
Here's the code...
DECLARE
Max_earnings_type TYPE TABLE IS NUMBER;
max_earnings_tab max_earnings_type: = max_earnings_type();
number of v_count: = 0;
number of v_max_earnings;
Can someone give me how to find the maximum first max and second in the type of the given table.
appreciate your help.
Thank you/kumar
Published by: kumar73 on October 21, 2010 09:42kumar73 wrote:
When I tried to implement your logic in my application, I get the following error...
PL/SQL: digital or value error: NULL index key value table
What happens if the PL/SQL table has NULL values. Question is how you want to handle NULL values. You want to ignore nulls as GROUP BY do? If you want to consider NULL values, you can say if you want to order the NULLS FIRST or NULLS LAST. I guess that logical GROUP BY:
DECLARE TYPE max_earnings_type IS TABLE OF NUMBER; TYPE max_earnings_sorted_type IS TABLE OF NUMBER INDEX BY BINARY_INTEGER; max_earnings_tab max_earnings_type; max_earnings_tab_sorted max_earnings_sorted_type; BEGIN SELECT sal + comm BULK COLLECT INTO max_earnings_tab FROM emp; FOR v_i in 1..max_earnings_tab.count LOOP IF max_earnings_tab(v_i) IS NOT NULL THEN max_earnings_tab_sorted(max_earnings_tab(v_i)) := 1; END IF; END LOOP; DBMS_OUTPUT.PUT_LINE('MAX value in PL/SQL table is ' || nvl(to_char(max_earnings_tab_sorted.last),'NULL')); DBMS_OUTPUT.PUT_LINE('Second MAX value in PL/SQL table is ' || nvl(to_char(max_earnings_tab_sorted.prior(max_earnings_tab_sorted.last)),'NULL')); END; / MAX value in PL/SQL table is 2650 Second MAX value in PL/SQL table is 1900 PL/SQL procedure successfully completed. SQL> SELECT sal + comm 2 FROM emp; SAL+COMM ---------- 1900 1750 2650 1500 SAL+COMM ---------- 14 rows selected. SQL>
SY.
-
How to find the version of the application deployed on wls9 using wlst
Hello
How to find the version of the application deployed on wls 9.2 wlst wsing. I know that we can use the Mbean version but I did not give any version while deploying.
Say I have an application with name test and the path is c:/temp/test1.ear.
(WHN deploy the app name (test) remains the same, but I could be deployed test1.ear(c:/temp/test1.ear) or test2.ear(c:/temp/test1.ear).
Is there a way to wlst to know what test1.ear or test2.ear is deployed.
Thanks in advance
NeerajHi Neeraj,
Here is the code that you had asked for.
# START OF SCRIPT
Connect('vasadmin','vaspassword','t3://localhost:7001')
domainConfig()
vasApps = cmo.getAppDeployments)for app in vasApps:
vasAppPath = ' / AppDeployments / ' + app.getName)
CD (vasAppPath)
print app.getName () + ': the source path is: "+ cmo.getAbsoluteSourcePath)# END SCRIPT
Thank you.
Naour Vijay.
-
How to find the ADDRESS, HASH_VALUE of V$ SQLAREA for a request to purge?
I read on how to use the INVALIDHTOMEH package to remove an application from the shared pool.
I'm looking at the example on this page:
https://blogs.Oracle.com/Mandalika/entry/oracle_rdbms_flushing_a_single
He gives an example of:
SQL > select ADDRESS, HASH_VALUE of V$ SQLAREA where SQL_ID like '7yc % ';
ADDRESS HASH_VALUE
---------------- ----------
000000085FD77CF0 808321886
My question how they find the SQL_ID of the query they are wanting to be served before this step?
Thanks in advance,
Cayenne>
How did find the SQL_ID of the query they are wanting to be served before this step?
>
They probably got from V$ SQLselect sql_id, plan_hash_value, exact_matching_signature, sql_plan_baseline from v$sql where sql_text = '. . put your query here . . .';
Make a request like this or use WHERE SQL_TEXT LIKE if you know a part of the text of the query. Then use the SQL_ID.
-
How to find the properties of thin client, PC?
Original title: Thin Client
Hello
How to find the properties of Thin Client, PC.
When I check the properties of my computer it shows properties of a server
and also I check with cmd Systeminfo it shows also the connected server properties
Hi Yogi,
Thanks for posting your query in Microsoft Community.
According to the description of the issue, I recommend you post your query in the TechNet Forums. TechNet is watched by other computing professionals who would be more likely to help you.
Hope this information is useful.
Maybe you are looking for
-
Satellite A500-1CO - HARD drive recovery problem
I have a PC laptop toshiba Satellite A500-1CO.Previously, when I wanted to again pour WindowsRecovery program HARD drive that I used But now I delete d:\HDDRecovery folder and when I run the HARD drive recovery program a mistake with this article sho
-
What is the best micro sd?
I was looking on the Micro SD that better suites my Titanium, really, it uses a Micro SDHC card up to 32 GB, but I also want to know the class of the SDHC, can someone help me on this? Thanks in advance.
-
Pavilion au003ne: decrease volume on its own!
my laptop down on its own then I'm reading any video is his from internet or my files!
-
Could not open installed Quicken Deluxe 2011 in Windows XP
We tried the clean boot and create a new user account, which didn't solved our problem with the inability to open our software Quicken Deluxe 2011. Somewhere, we believe we have a conflict with Microsoft or XP, but we do not know where to look long
-
No controller USB (USB2) improved to SIS 7001
I have an Iridium Starbook 505. XP SP3 installed. No show in Device Manager USB2 controllers Does anyone have any ideas what to try? Works very well with a knoppix boot CD, so I'm pretty sure that the BIOS is ok and hardware is supported.