Re: "count" attribute in a table !!!!
Posted in 1995
Quoting Alain Leroy... } } * Try this : } } Create table tabname } ( count integer, } other integer ); } } It'll work on Informix 5.0C on-line } It won't work on Informix 4.0B on-line } } * The question is : Given that I can crete the table with a "count" } attribute, I must be able to retrieve it (unless it's a bug in 5.0C). } HOW ???? } } OK, don't tell me "select count from tabname". It'll generate } a syntax error. What else ? } If memory serves me, Informix relaxed it hold on reserved words with the release of the 4.10 (or whatever ver.) products. You can CREATE a table with a column called "count" because "count" has no meaning to CREATE TABLE, however, when you try to SELECT that column, you'll get some kind of error because "count" means something very special to the SELECT statement. DAS -- Dave Snyder @ Bell Atlantic - Philadelphia, PA WORK: ddx85qr@boots.bell-atl.com HOME: dave@das13.snide.com