Oct 22, 2002 #1 ruimgp IS-IT--Management Feb 4, 2002 10 PT Hi all, How can I include a rownum (to return only the defined rownum) in a Informix query? Thanks in advance RP
Hi all, How can I include a rownum (to return only the defined rownum) in a Informix query? Thanks in advance RP
Oct 23, 2002 #2 olded Programmer Oct 27, 1998 1,065 US RP: I'm not understanding your question. By definition, informix includes a rowid which is valid for the life of a row: select rowid, * from some_table includes the integer rowid. If you are using table fragmentation the rowid must be built separately. Sorry, I have no experience in this area. Informix and others suggest not using the rowid because of portability issues, changes in the future, etc. Regards, Ed Upvote 0 Downvote
RP: I'm not understanding your question. By definition, informix includes a rowid which is valid for the life of a row: select rowid, * from some_table includes the integer rowid. If you are using table fragmentation the rowid must be built separately. Sorry, I have no experience in this area. Informix and others suggest not using the rowid because of portability issues, changes in the future, etc. Regards, Ed