256: raise foo;
257: end if;
258: end if;
259: if sys_context('USERENV', 'CON_ID') < 2 then
260: select sum(length) into free from idl_ub1$,x$joxft
261: where obj#=joxftobn and bitand(joxftflags,96)!=0;
262: tablespace_limit := tablespace_limit - free;
263: select sum(length) into free from idl_ub1$ u,obj$ o
264: where o.obj#=u.obj# and o.type#=56 and name like 'Locale%';
259: if sys_context('USERENV', 'CON_ID') < 2 then
260: select sum(length) into free from idl_ub1$,x$joxft
261: where obj#=joxftobn and bitand(joxftflags,96)!=0;
262: tablespace_limit := tablespace_limit - free;
263: select sum(length) into free from idl_ub1$ u,obj$ o
264: where o.obj#=u.obj# and o.type#=56 and name like 'Locale%';
265: tablespace_limit := tablespace_limit - free;
266: select sum(bytes) into free from dba_free_space
267: where tablespace_name='SYSTEM';