July 1, 2009

Determine Which Session Is Blocking All Users in Oracle

You can find out which session is causing blocking problems using this SQL command: SELECT blocking_session, sid, serial#, wait_class, seconds_in_wait FROM v$session WHERE blocking_session IS NOT NULLORDER BY blocking_session;

Open Any File from Code

Using the following code snippet you can run any application (such as Word, Excel, etc.) or open any file whose extension is associated with an application, such as .doc, .txt,