View Single Post
  #2 (permalink)  
Old 11-26-09, 10:21
ceinma ceinma is offline
Registered User
 
Join Date: Apr 2007
Location: Jundiai / SP - Brasil
Posts: 311
what version of IDS?

I not sure, but this is supported only after version 10 xC3...

in IDS 11.50 , this code works
Code:
create temp table a (coda int);
Temporary table created.


create temp table b (codb int);
Temporary table created.


insert into b values (1);
1 row(s) inserted.


insert into b values (2);
1 row(s) inserted.


insert into b values (3);
1 row(s) inserted.



insert into a (coda)
select first 1  * from b

1 row(s) inserted.


Database closed.
__________________
________________________________________
César Inacio Martins
Jundiai / SP - Brasil
http://www.imartins.com.br/informix - em Português
http://www.imartins.com.br/informix - English (translated by Google).
________________________________________
Reply With Quote