Unix Technical Forum

-565 (-111)

This is a discussion on -565 (-111) within the Informix forums, part of the Database Server Software category; --> begin work; create temp table ttt ( a char, b char ) with no log; insert into ttt ( ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 08:11 AM
rotor
 
Posts: n/a
Default -565 (-111)


begin work;

create temp table ttt ( a char, b char ) with no log;
insert into ttt ( a ) values ( 'a' );
insert into ttt ( a ) values ( 'b' );

create procedure ttt( )
define v char;
foreach select distinct a into v from ttt
on exception in ( -206 ) end exception with resume;
if v = 'a' then
create temp table aaa_bbb ( f int ) with no log;
end if;
update ttt set b = v where a = v;
drop table aaa_bbb;
end foreach;
end procedure;

execute procedure ttt( );

Oops!

Any comments?

--
Бесплатный почтовый ящик предоставлен http://pasts.delfi.lv
sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com