?
Solved

Last Executed query

Posted on 2002-04-04
4
Medium Priority
?
2,383 Views
Last Modified: 2008-03-17
Hi experts,

how can i find the last executed query by a session.
0
Comment
Question by:nmagesh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 5

Expert Comment

by:sora
ID: 6920003
By looking at V$SQLTEXT

The mimimum recommended points by EE for easy questions is 50


sora
0
 
LVL 9

Accepted Solution

by:
konektor earned 200 total points
ID: 6920181
increase points and than look into v$session for your session and than to v$sql by joining sql_hash_value
0
 

Expert Comment

by:ComTech
ID: 6921438
Hello nmagesh, welcome to EE.  I would like to point out to you the importance of proper grading, first of all, and the following is from out memeber agreement"


How Do I Know What Grade to Give?

Although we use an A-D scale here at Experts Exchange, it works differently than, say, school grades. If one or more Experts' proposals are accepted as answers, they should usually be given an A or B grade, since they have taken the time to provide you with a working solution. If a possible solution is incomplete - ask for clarification or details before accepting the answer and grading it. People should not be given lower grades because of incorrect grammar or because you just accepted their answer or comment to close the question. Keep in mind, your question and any follow-up comments should be focused so that there can be a specific answer. The following is a good guideline to follow when grading:

A: The Expert(s) either provided you with a thorough answer or they provided you with a link to information that thoroughly answered your question. An "A" can also be given to any answer that you found informative or enlightening beyond the direct question that you asked.

B: The Expert(s) provided an acceptable solution, or a link to an acceptable solution, that you were able to use, although you may have needed a bit more information to complete the task.

C: Because Experts' reliability are often judged by their grading records, many Experts would like the opportunity to clarify if you have questions about their solutions. If you have given the Expert(s) ample time to respond to your clarification posts and you have responded to each of their posts providing requested information; or if the answers, after clarification, lack finality or do not completely address the issue presented, then a "C" grade is an option. You also have the option here of just asking Community Support to delete the question.

Remember, the Expert helping you today is probably going to be helping you next time you post a question. Give them a fair chance to earn an 'Excellent!' grade and they'll provide you with some amazing support.
**********************************************************

By the terrible grading, many Experts will avoid your questions, as they will not return to questions from Users or Experts that grade poorly, therefore grading will have a lot of the quality of help you receive.  I have also noticed that you signed ua as an Expert yourself, and will experience the same once you are used to our system.

For example: If a question is worth 100 points,

Grade
A=400 points to the expert,
B-300
C-200

We do it this was as an incentive for the Experts, all of whom work here as a volunteer ane are not paid.

Some of us feel you could be a valuable asset to the community, but you will have to be accepted by the Experts before you, and learn from them.  If done in that mannor, and better grading, you will soon find yourself in very good company, and will quickly making friends here.

To start you off on the right foot, minimum points, easy questions are recommended at 50 points, as a question that requires more knowledge, or is harder, the points are ususally 100 + depending on how hard a question it may be.

To help you and the Experts begin a relationship, I will change your grades to reflect an A.

Again, welcome.

ComTech
CS Admin @ EE

0
 

Expert Comment

by:ComTech
ID: 6921448
To show our good will, I have given you some exptra points to add to the low point questions, as an Expert, you will give 5 ponts per day, once you reach a cerian level, with having 10,000 expert points, and the next month with 3,000 will qualify you for Kpro, which has more features, and point distribution is 500 question points per month.

ComTech
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question