Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle kill session

-- Get ORACLE Session IDs (SID and SERIAL#)
SELECT SID, SERIAL#, STATUS, SERVER FROM V$SESSION WHERE USERNAME = '<username>';
-- Kill session (and wait for rollback if any...)
ALTER SYSTEM KILL SESSION 'SID,SERIAL#' IMMEDIATE;
Comment

kill session inactive oracle

select 'ALTER SYSTEM KILL SESSION '''||SID||','||SERIAL#||''' IMMEDIATE;' from v$session where status <> 'ACTIVE';
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql two column combination unique 
Sql :: drop a recordin sql 
Sql :: install mysql on ubuntu 
Sql :: postgresql combine values in one field 
Sql :: what is default mysql database password in linux 
Sql :: oracle to_char number format percentage 
Sql :: sql line numbers 
Sql :: full sql mode 
Sql :: sql groub by count 
Sql :: multiple like in sql 
Sql :: mysql select date range last 30 days 
Sql :: android sqlite add column if not exists 
Sql :: SQL Server Configuration Manager location 
Sql :: SQL Greater Than or Equal to Operator 
Sql :: SQL UNION ALL Operator 
Sql :: import sql dump into postgresql database 
Sql :: sql show table info 
Sql :: mysql declare variable 
Sql :: declare varchar sql server 
Sql :: delete db postgres 
Sql :: regenerate assets odoo 
Sql :: sql count total by foreign key 
Sql :: sql convert date format 
Sql :: export mysql db using command line 
Sql :: counting in sql 
Sql :: mysql get date from datetime 
Sql :: invalid column name sql 
Sql :: restore backup mysql .gz 
Sql :: /bin/sh: 1: mysql_config: not found 
Sql :: postgres default value 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =