Hi,
Forgot one small thing. If the table is fragmented then rowids won't work.
So we need to make sure that the temp dbspace is not fragmented. If so then
create a temp table with a serial key & the select stmt should be,
select * , 0 from source_table into temp_table ;
Rajesh
At 01:42 PM 11/24/97 -0500, James T Ford wrote:
} or on xps already available....
}
}
}
}______________________________ Reply Separator
_________________________________
}Subject: Re: SQL: How to select first N rows?
}Author: Clem Akins <clem@informix.com> at Internet
}Date: 11/24/97 7:23 AM
}
}
}Cosmo asks:
}>Is there a way to select the first N rows from a table?
}
}Issue the command to Informix Dynamic Server 7.3, due out in the
}Spring.
}___________________________________________________________
}Clem Akins (aka clem@informix.com)
}Informix Software, Inc (Standard disclaimers apply)
}International Technical Support
}Last seen: THE Natural History Museum, London--all day!
}
}