Archive for December, 2013

LOCK TABLES and UNLOCK TABLES Syntax For ORACLE

December 11th, 2013, posted in Oracle Queries
Share
Identify locked objects :

select object_name, v.session_id SID, v.oracle_username,type,lmode,request
       from v$locked_object v, v$lock l, dba_objects o
       where l.sid=v.session_id
       and v.object_id=o.object_id
       and l.block > 0;

Identify who locks whom :

select
      (select osuser from v$session where sid=a.sid) blocker,
      a.sid,
      (select serial# from v$session where sid=a.sid) serial#,
      ' blocks ',
      (select osuser from v$session where sid=b.sid) blockee,
      b.sid, c.username username
    from v$lock a, v$lock b, v$session c
    where a.block = 1
    and b.request > 0
    and a.id1 = b.id1
    and a.id2 = b.id2
    and b.sid = c.sid

Kill session :

SQL> alter system kill session 'sid,serial#';

 

 

*********************************************************************************************************************
Also Check : http://aliimmam.com/locking-and-unlocking-tables-in-oracle/
Also Check : http://aliimmam.com/forms-could-not-reserve-record-2-tries-keep-trying/
Note : Please not do make backups before using these queries and also confirm them yourself or by aother means as well.

*********************************************************************************************************************

Share

We Are Crashing

December 11th, 2013, posted in BoYs, COMiCS, MOViES
Share

We Are Crashing

Share

When I Am Bored In Office

December 10th, 2013, posted in fUNNY
Share

When I Am Bored In Office,Bored In Office,office,tea,coffee,

Share

The Awkward Moment

December 9th, 2013, posted in COMiCS
Share

The Awkward Moment,Awkward Moment,Awkward ,Moment,kids,helpless,

Share

If You Could See Yourself Through mY Eyes

December 8th, 2013, posted in Art, BoYs, GiRLs, LoVE
Share

Eyes, If You Could See Yourself Through mY Eyes, love, Lovers, my eyes, see

If you could see yourself through my eyes
You’d know that true love never lies
And you would realize how beautiful you are

I need to tell you that the sunlight
Is always shining in your hair
I need to tell you nothin’ feels right
Unless you’re there
And you don’t even know
That in my dreams I never let you go

Just let me love you and you’ll realize
How beautiful you are
If you could see yourself the way I do
You’d know that I loved you

If You Could See Yourself Through mY Eyes,see,eyes,my eyes.

Anyone can look at other’s eyes, but Lovers can see into each other’s souls through the eyes

Share