Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Table Locked by Who
That would be B.SQL_TEXT instead of B.SQLTEXT
Arie Mars
harshan eppurath <harshane_at_yahoo.com> schreef in berichtnieuws
39EDBF3A.4288EDFC_at_yahoo.com...
> Do the following query
>
> select a.username,b.sqltext from v$session a, v$sqltext b
> where a.sql_hash_value = b.hash_value.
>
> This query will return is who is accessing that table.
>
> Hope this helps
>
> Harshan
>
> Rayfil Cheung wrote:
>
> > Hi,
> >
> > How can I check a table is locked or used by others. Thank you.
>
Received on Thu Oct 19 2000 - 01:50:07 CDT
![]() |
![]() |