2026-03-12 20:23:15
This commit is contained in:
36
tpt/demos/uga_alloc.sql
Normal file
36
tpt/demos/uga_alloc.sql
Normal file
@@ -0,0 +1,36 @@
|
||||
-- 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.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
--
|
||||
-- File name: demos/uga_alloc.sql
|
||||
--
|
||||
-- Purpose: Advanced Oracle Troubleshooting Seminar demo script
|
||||
--
|
||||
-- Author: Tanel Poder ( http://www.tanelpoder.com )
|
||||
--
|
||||
-- Copyright: (c) 2007-2009 Tanel Poder
|
||||
--
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
set echo on
|
||||
|
||||
declare
|
||||
type tabtype is table of char(1000);
|
||||
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
|
||||
Reference in New Issue
Block a user