2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

26
tpt/mycur.sql Normal file
View File

@@ -0,0 +1,26 @@
-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
COL mycur_bind_mem_loc HEAD BIND_MEM FOR A8
SELECT
curno
, '0x'||TRIM(TO_CHAR(flag, '0XXXXXXX')) flag
, status
, parent_handle par_hd
, parent_lock par_lock
, child_handle ch_hd
, child_lock ch_lock
, child_pin ch_pin
, pers_heap_mem
, work_heap_mem
, bind_vars
, define_vars
, bind_mem_loc mycur_bind_mem_loc
-- , inst_flag
-- , inst_flag2
FROM
v$sql_cursor
WHERE
status != 'CURNULL'
/