What SQL query from v$session can you run to show how many
sessions are logged in as a particular user account?
Answers were Sorted based on User's Feedback
Answer / diksha
select count(*) from v$session where username like ''
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kishore
select count(*),username from v$session where group by username;
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / braj123
select count(*) from v$session where user_name="**";
| Is This Answer Correct ? | 1 Yes | 2 No |
WHEN DOWN TIME WHAT CAN U DO?
what are the benefits of flashback feature?
If you are given access to a sql server, how do you find if the sql instance is a named instance or a default instance? : sql server DBA
Give two examples of referential integrity constraints.
one datafile is lost in standy side how can you recover that??
Name two files used for network connection to a database.
Where do you find the default index fill factor and how to change it? : sql server DBA
how does an oracle clusterware manage crs resources?
Q. How to set ORACLE_HOME to my oracle software directory. Hi Friend I am installing oracle 10g Express Edition on Linux Fedora Core 6. Installation is success but when i run #sqlplus I getting command not found error. Then I have search sqlplus .i.e # find / -name sqlplus /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/sqlplus These above output from find i have doubt which is correct path of sqlplus. So doubtfully i have set path 1st one.i.e # PATH=$PATH:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin Then I have run #sqlplus but still i have problem following Error 6 initializing SQL*Plus Message file sp1<lang>.msb not found SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory How overcome this please answer m???
How do you open a cluster administrator? : sql server DBA
How do you trace the traffic hitting a sql server? : sql server DBA
Where in the Oracle directory tree structure are audit traces placed?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)