I would like to capture all the SQL and  PL/SQL   with full syntax that is

Hi
I would like to capture all the SQL and PL/SQL with full syntax in a sequence that is being executed in the last 30 or 40 min for a particular session in sqlplus.
Enabling SQL trace is not an option.
Will appreciate your input.
thanks
KS
Edited by: user12710695 on May 22, 2010 11:08 PM

Welcome to the Forum.
Most important information (especially for such queries) is Oracle Version.
Is AUDITING an option?
Flashback can provide UNDO SQL.
For SQL there are many options...
1. LOGminer
sudhakar@ORCL>desc dba_hist_sqltext;
Name                                                  Null?    Type
DBID                                                  NOT NULL NUMBER
SQL_ID                                                NOT NULL VARCHAR2(13)
SQL_TEXT                                                       CLOB
COMMAND_TYPE                                                   NUMBER2. SELECT SQL_TEXT FROM DBA_HIST_SQLTEXT WHERE SQL_ID IN (SELECT SQL_ID FROM V$ACTIVE_SESSION_HISTORY WHERE USER_ID = ???)
vr,
Sudhakar B.
Edited by: Sudhakar_B on May 23, 2010 8:35 AM

Similar Messages

  • HT1918 Hi - I think I have different apple devices recorded under different apple IDs. Now I would like to consolidate all the devices under one Apple-ID.  I have tried to do this going through the manage accoung like, but it timed out - could somebody he

    Hi - I think I have different apple devices recorded under different apple IDs. Now I would like to consolidate all the devices under one Apple-ID.  I have tried to do this going through the manage accoung like, but it timed out - could somebody help, pls

    Purchases of multple Apple ID accounts cannot be merged as noted here >  Frequently asked questions about Apple ID

  • I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?

    Hello everybody,
    I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?
    I share one Itunes account with other people from my family and one person would like to keep the same songs on the new Ipod as the ones which were on the old one.
    Thanks in advance for your answer.
    Yan

    Hello Chris,
    Thanks for your answer. I was hoping for an easier answer. Too bad there is no drag and drop solution, it would have been much easier.
    Thanks for answering so fast.
    Bye.
    Yan

  • I would like to see all the purchases on my itunes account. How do I do that?

    I would like to see all the purchases on my itunes account.  How do I do this?

    Welcome to the Apple Community.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.

  • We just got a new computer and I would like to download all the music on my ipod to the computer.  How do I do this?  Thank you.

    I would like to download all the music on my ipod nano to my itunes account on my new computer.  How can I do that?  Thank  you.

    Can I still get music from the iTunes store and add them to my playlists?

  • I would like to detect all the keyboard key is okay, but not every key can be detected by using LabVIEW example, keyboard keycode

    I would like to detect all the keyboard key is okay, but not every key can be detected by LabVIEW example ( we can use 『basic input demo.vi』to detect normal key』.
    I want to detect some 『hot key』 for example some keys exist in the upper part like 『search key』、『e-mail key』、『volumn control key』...etc. They are very often to be watched in some new keyboards, but we still don't know how to detect if their functions are okay.
    Can we detect signals of these 『hot key』 in LabVIEW? We can apply these hot key's functions in XP, so we should detect their signal, I think, but I can't do it.
    I serach some information about this question, and somebody said we can detect hot key's signal by grabing 『keybode』 these hot key feedback. But I don't know how to do these. I can't use VC. So anyone can give me a LabVIEW VI to grab keycode? Or any other solution we can detect all the key on the keyboard, including hot keys?
    Thanks!
    Regards,

    Maybe that is the limitation of Acquire Input Data.vi.The vi can't identify the Unformal key.
    You can try to use Event structure and set to listen "key down" event.
    There are two terminals VKey, ScanCode will sent out the information when you press key.
    There are two pictures in attached file, 2.jpg will show you the detail.
    Good luck.
    Attachments:
    SpecialKey.zip ‏17 KB

  • Hello, each time I register my appleID I get diverted to the German iTunes/iCoud...I bouth my iPhone in Germany but would like to get all the information in English...thanks!

    Hello, each time I register my appleID I get diverted to the German iTunes/iCoud...I bouth my iPhone in Germany but would like to get all the information in English...thanks!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I have a sequence on tcp that is Standard Def. I have a new set of files in High Def that match the old files. I would like to replace all the SD footage with the HD footage. Anyone know of a workflow to do this task?

    I have a sequence on tcp that is Standard Def. I have a new set of files in High Def that match the old SD files. I would like to replace all the SD footage with the HD footage. Anyone know of a workflow to do this task?

    Do a media manage of the sequence converting the files to the appropriate HD format making the clips offline.  Then simply reconnect the offline clips to the HD clips.  There may be issues in the file names, but they can usually be worked out either with the naming options in media manager or renaming your hd files.  There are many utilities that allow you to batch rename files. 

  • I have a Coby video MP3 player. I would like to download all the music on it onto my laptop with iTunes version 11.0.1.12.

    I have a Coby video MP3 player. I would like to download all the music on it onto my laptop with iTunes version 11.0.1.12.

    Beach15 wrote:
    II have misplaced the Instructions manual.
    lmgtfy:
    How to use a Coby MP3 Player

  • I would like to keep all my Music and photos on my mac but only top rated music and certain photos on my iPad and iPhone please help

    I would like to keep all my Music and photos on my mac but only top rated music and certain photos on my iPad and iPhone how do i stop iCloud from sending all to iPad and iPhone
    please help
    Regards
    Steve Davey

    If you manually manage the device the you can remove the content from the PC after you have put it on the device. However this isn't the recommended way. At some point you'll probably need to restore it which involves wiping all the data. If you don't have all this data to hand then you'll have to try to recover it from a now problematic device first. It's much easier to sync with your library - yes you have two copies, but that's not a waste, it is prudent. As long as you have two copies you can afford to lose one knowing you have a backup. In practice I keep a complete backup of my library, in addition to the subsets of it that I can put on my devices.
    tt2

  • I would like to print out the icon and title of each of my apps to another document for printing and sharing within my family

    I would like to print out the icon and title of each of my IOS apps to another document for printing and sharing within my family.  My son has my old iPod touch so I erased it so he could put whatever games he wants to play on that I used to play with.  It is difficult to download every game at one time because there is too much to download at one time.  I have many hundreds of apps.  One way I found was to create a screen grab of each page in iTunes  then open it in Preview contact sheet but that is really tiny unreadable image of each screen.  I also tried importing a screen shot of the contact sheet into Paint 2 and magnifying it on several pages but that is really blurry.  The ideal solution would be to import the icon and text to another app or to provide a print list of apps solution within iTunes.

    Create iPad screen shots by briefly pressing the home and on/off buttons together.  You will hear a shutter click sound and find a screen shot on your iPad's Camera Roll.  You can then print these screen shots as you would any iPad photos.
    UPDATE: I assumed you had an iPad.  Hopefully your iOS device does have an on/off and home button and is capable of producing screen shots.

  • Hi, I have bought Photoshop and Premiere Elements for windows, but I now have a iMac and would like to deactivate on the PC and transfer the programs to the iMac. Is that possible even do I bought it for Windows?

    Hi, I have bought Photoshop and Premiere Elements for windows, but I now have a iMac and would like to deactivate on the PC and transfer the programs to the iMac. Is that possible even do I bought it for Windows?

    Normally an Elements purchase is good for both platforms.  You should only need to download and install the Mac versions of the programs and install and activate them using the serial number you have from the opriginal purchase.

  • The fan on my air Processor  1.7 GHz Intel Core i5 seems like it on all the time and loud

    the fan on my air Processor  1.7 GHz Intel Core i5 seems like it on all the time and loud

    Fan
    The computer's fans run at high speed although the computer is not experiencing heavy usage and is properly ventilated.
    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    Best.

  • I would like to take over the screen of my ipad with my PC (not wireless!)

    I would like to take over the screen of my ipad with my PC with the usbcable, not wireless!
    This is to reproduce some images from an app on my Ipad with the beamer attached to my PC.
    Can anyone help me? Thanks

    If you're using a Mac, you can do it using Xcode, the Mac and iOS IDE. It's available in the Mac App Store.

  • I have an air with 64Gb hard drive and 2Gb RAM and would like to upgrade both the HD and RAM. WHat should I buy?

    I have an air with 64Gb hard drive and 2Gb RAM and would like to upgrade both the HD and RAM. WHat should I buy?

    TWTexas wrote:
    WHat should I buy?
    compensate or purchase a new Air
    Recommend a SUPERSLIM portable 1TB HD
    RAM cant be upgraded, as The Fox-man has already said.

Maybe you are looking for

  • I just signed in to Creative Cloud for the third time today!

    Ok, I love the new apps. I am good with the pricing structure. But this mess with first having an endless stream of problems with installing the CC manager, and the AAM, and reinstalling AND reinstalling until finally I was able to hunt down the prob

  • LR4 Flash Web Gallery Color Problems

    The color space on the selected images appears to be changing when I use the Lightroom flash gallery in the web module of LR4.1. This stays the same when the gallery is uploaded. In previous version of LR I have seen color changes in the web module b

  • Table header disappearing

    I've been scratching my heads for hours and still can't understand why this is happening. I have two JDialog. One to display the table, let's call it Dialog 1, and the other to display the row details, Dialog 2. When Dialog 2 displays on top of the t

  • Trying to Add New Entity/Child/Location in FDM for HFM 9.3.1

    How should I create a child or in this case a retail location for a Parent in FDM. When I go to Locations I can see all the parents and siblings but I can not see any of the children/retail locations. How do I add them. This client does not have the

  • Monitor_rpcbind problem

    Hello, I need your help with an RPC problem related to the Sun Cluster. We are using Sun Cluster 2.x on Solaris 7. It is a 2-node system where both servers are configured to take over for each other in case of a failure. There is one shared IP addres