oracle8.1.6
begin
jb_screen.delete(:old_screen_id);
end;
declare
id integer;
begin
id := jb_screen.new (
user_id => :user_id,
im_screen_name => :user_screen_name,
service => :service,
status => 'offline',
refcount => '1',
object_type => 'jb_screen',
creation_user => :user_id,
creation_ip => :peeraddr
);
end;