Re: Whats Informix thinking or Idea
- From: Ben Thompson <ben@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 05 Sep 2007 10:26:58 +0100
ian wrote:
But I was really after the reasoning Informix or whoever used in
hiding these indexes?
I don't _know_ but I suspect it that it's because of a mismatch between SQL and the way Informix works underneath. In implementation terms primary keys require a unique index but standard SQL allows you to do things like:
create table foo (
bar varchar(100),
primary key (bar)
);
I guess the choice for the developers was either not to allow the standard SQL above and force explicit creation of a unique index before a primary key could be created, or allow the SQL above and create an index implicitly. Why then it's hidden is probably a design choice but I suspect people like to see the same SQL they used to create the table outputted by 'dbschema'.
Ben.
.
- References:
- Whats Informix thinking or Idea
- From: ian
- Re: Whats Informix thinking or Idea
- From: Art S. Kagel
- Re: Whats Informix thinking or Idea
- From: ian
- Whats Informix thinking or Idea
- Prev by Date: Re: Whats Informix thinking or Idea
- Next by Date: open admin tool (ids11)
- Previous by thread: Re: Whats Informix thinking or Idea
- Next by thread: Re: Whats Informix thinking or Idea
- Index(es):
Relevant Pages
|
Loading