Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle check table lock

select t2.username, t2.sid, t2.serial#, t3.object_name, t2.OSUSER, t2.MACHINE, t2.PROGRAM, t2.COMMAND, t2.LAST_CALL_ET
 from v$locked_object t1, v$session t2, dba_objects t3
 where t1.session_id = t2.sid and t1.object_id = t3.object_id
  ORDER BY t2.logon_time;
Comment

PREVIOUS NEXT
Code Example
Sql :: no data found oracle 
Sql :: oracle service name view 
Sql :: mysql check table exists 
Sql :: revoke a role from user microsoft sql server 
Sql :: set database timezone mysql 
Sql :: oracle first day of last year 
Sql :: how to change table name in sqlite 
Sql :: rror: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client 
Sql :: mysql remove foreign key constraint 
Sql :: postgres select from last 3 months 
Sql :: how to add a index to live table mysql 
Sql :: generate c# class from sql server table 
Sql :: how to get current date in mysql 
Sql :: postgresql alter column nullable 
Sql :: oracle cpu per session 
Sql :: how to add unique constraint in mysql table 
Sql :: how to delete view in sql 
Sql :: mysql get first 2 characters of string 
Sql :: set statiscis on in sql server 
Sql :: sqlite foreign key 
Sql :: left join with only first record 
Sql :: sql server utc to local 
Sql :: set permanent SET GLOBAL sql_mode ubuntu 
Sql :: list all tables and columns in postgresql 
Sql :: delete top 100 rows in sql server 
Sql :: mssql get running queries 
Sql :: create table with primary key auto increment in sql 
Sql :: how to change owner in postgres 
Sql :: v$session not found in oracle 
Sql :: drop all database tables oracle sql developer 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =