Hi,
I noticed that since the 12.10.xc13 version, no rowid columns are created for user-created tables.
When I try to query the rowid column I get an 857 error.
So if you need a rowid column, you should use ifx_row_id.
Catalog tables such as systables had a rowid column.
Of course, you can add a rowid column to the fragment table with the 'alter table ... add rowids' statement.
Interestingly, in 14.10.xc3, there was a rowid column in the table I created.
$ echo "select dbinfo('version','full') from sysmaster:sysdual" | dbaccess sysmaster
Database selected.
(constant)
IBM Informix Dynamic Server Version 12.10.FC13WE
1 row(s) retrieved.
Database closed.
$ echo "create table test as select * from customer" | dbaccess stores_demo
Database selected.
28 row(s) retrieved into table.
Database closed.
$ echo "select first 1 rowid from test" | dbaccess stores_demo
Database selected.
857: Rowids do not exist on table.
Error in line 1
Near character position 30
Database closed.------------------------------
SangGyu Jeong
Software Engineer
Infrasoft
Seoul Korea, Republic of
------------------------------
#Informix