Files
oracle/tpt/demos/heapdump.sql

24 lines
436 B
MySQL
Raw Normal View History

2026-03-12 21:23:47 +01:00
-- 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.
set echo on
declare
type tabtype is table of char(100);
t tabtype := NULL;
begin
select object_name
bulk collect into t
from dba_objects
order by lower(object_name);
dbms_lock.sleep(999999);
end;
/
set echo off