Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle running queries

SELECT s.SID,
       s.USERNAME,
       sql.OPTIMIZER_MODE,
       sql.CPU_TIME,
       sql.ELAPSED_TIME,
       sql.SQL_TEXT,
       s.SERIAL#
FROM V$SQLAREA sql,
     V$SESSION s
WHERE s.SQL_HASH_VALUE = sql.HASH_VALUE
  AND s.SQL_ADDRESS = sql.ADDRESS
  AND s.USERNAME IS NOT NULL;
Comment

PREVIOUS NEXT
Code Example
Sql :: sql any 
Sql :: sql convert varchar to date 
Sql :: sql server information_schema temp tables 
Sql :: how to identify locked tables in sql server 
Sql :: mysql update with join 
Sql :: postgres select as csv 
Sql :: oracle list grants on package 
Sql :: mysql local password denied 
Sql :: SQL NOT BETWEEN Operator 
Sql :: use float in sql server string 
Sql :: drop column from local database postgres pgadmin 
Sql :: desc in sql 
Sql :: nullif postgresql 
Sql :: run postgresql dump to csv 
Sql :: constraints to columns SQL 
Sql :: postgresql function 
Sql :: PSQL use LIKE with timestamps 
Sql :: get primary key of last inserted record sql server 
Sql :: SQL server how to see user permissions on objects 
Sql :: sql right join with where clause 
Sql :: alter table myisam to innodb 
Sql :: postgres like case insensitive 
Sql :: show sql server database 
Sql :: restart serial number for postgres 
Sql :: python dictionary to sql update 
Sql :: how to display value of variable in mysql 
Sql :: mysql wont stop 
Sql :: duplicate key value violates unique constraint in postgresql 
Sql :: mysql create table query 
Sql :: laravel eloquent get generated sql 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =