select sid, serial# from v$session where username = 'USER'
alter system kill session 'sid,serial#'
alter system disconnect session 'sid,serial#' post_transaction;
alter system disconnect session 'sid,serial#' immediate;
"Life is about creating and living experiences that are worth sharing." To me, life is also about remembering those experiences. But, I forget things so often! That's why, I adopted my childhood method to commemorate those experiences. Write them down and flick through them at every possible opportunity. It works!
Driving is independence.It is an important skill that everyone should learn. But how I got my driving license? That is a long story.
Parenting is hard and I am learning something new daily.I am sharing my experience, my stories and how I am amazed to see her growing.
select sid, serial# from v$session where username = 'USER'
alter system kill session 'sid,serial#'
alter system disconnect session 'sid,serial#' post_transaction;
alter system disconnect session 'sid,serial#' immediate;
Collection Type
|
Number of Elements
|
Subscript Type
|
Dense or Sparse
|
Where Created
|
Associative array (or index-by table)
|
Unbounded
|
String or integer
|
Either
|
Only in PL/SQL block
|
Nested table
|
Unbounded
|
Integer
|
Starts dense, can become sparse
|
Either in PL/SQL block or at schema level
|
Variable-size array (varray)
|
Bounded
|
Integer
|
Always dense
|
Either in PL/SQL block or at schema level
|
a(b|c)d
FIRST_NAME LAST_NAME
-------------------- -------------------------
Steven King
Steven Markle
Stephen Stiles
Example:
SELECT
REGEXP_SUBSTR('500 Oracle Parkway, Redwood Shores, CA',',[^,]+,')"REGEXPR_SUBSTR"
FROM DUAL;
REGEXPR_SUBSTR
-----------------
, Redwood Shores,
phone_number, looking for the pattern xxx.xxx.xxxx. Oracle reformats this pattern with (xxx) xxx-xxxx.SELECT
REGEXP_REPLACE(phone_number,
'([[:digit:]]{3})\.([[:digit:]]{3})\.([[:digit:]]{4})',
'(\1) \2-\3') "REGEXP_REPLACE"
FROM emp;
REGEXP_REPLACE
--------------------------------------------------------------------------------
(515) 123-4567
(515) 123-4568
(515) 123-4569
(590) 423-4567
. . .
SELECT
REGEXP_INSTR('500 Oracle Parkway, Redwood Shores, CA',
'[^ ]+', 1, 6) "REGEXP_INSTR"
FROM DUAL;
REGEXP_INSTR
------------
37
SELECT REGEXP_COUNT(first_name, 'S', 1) FROM emp;
dba_jobs_running. It is possible that other jobs are starving the propagation jobs.sys.aq$_prop_table_instno exists in DBA_QUEUE_TABLES. The queue sys.aq$_prop_notify_queue_instnomust also exist in DBA_QUEUES and must be enabled for enqueue and dequeue.DBMS_AQ.ENQUEUE procedure.DBMS_AQ.DEQUEUE procedure.AQ_ADMINISTRATOR_ROLE - Allows creation and administration of queuing infrastructure.AQ_USER_ROLE - Allows access to queues for enqueue and dequeue operations.