Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle sessions_per_user

-- Current sessions:
SELECT USERNAME, count(*) as connections FROM v$session GROUP BY USERNAME;
-- Limitations:
SELECT a.USERNAME, b.PROFILE, b.RESOURCE_NAME, b.LIMIT
FROM DBA_USERS a, DBA_PROFILEs b
WHERE a.PROFILE = b.PROFILE AND b.RESOURCE_NAME = 'SESSIONS_PER_USER';
-- Change limitation:
ALTER PROFILE my_profile LIMIT SESSIONS_PER_USER 10;
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql user change password 
Sql :: oracle sysdate 
Sql :: sql select data from last week 
Sql :: how to alter length character varying postgres 
Sql :: calculate age in sql 
Sql :: mysql docker 
Sql :: where not in array sql 
Sql :: sql create table primary key autoincrement 
Sql :: oracle undotbs usage 
Sql :: start postgres server 
Sql :: scaffold mysql database 
Sql :: create database hive 
Sql :: print all records of table in mysql 
Sql :: drop foreign key mysql 
Sql :: oracle pl sql source 
Sql :: shrink database file in sql server 
Sql :: copy data from one table column to another table column in sql 
Sql :: begin transaction in sql 
Sql :: mysql install with docker 
Sql :: update field sql 
Sql :: mysql regex replace 
Sql :: get duplicate records in sql 
Sql :: how to rename a database in tsql 
Sql :: sql add two values together 
Sql :: SQL Server rename foreign key constraint 
Sql :: oracle desc table primary key 
Sql :: order by desc postgres 
Sql :: mysql drop database 
Sql :: sql server rtrim everything after character 
Sql :: mysql remove html tag 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =