Re: Is AutoIncrement recommended or not?
- From: "MP" <nospam@xxxxxxxxxx>
- Date: Thu, 01 Dec 2005 21:47:22 GMT
"Dmitriy Antonov" <antonovdima@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:evDjFqr9FHA.472@xxxxxxxxxxxxxxxxxxxxxxx
>
> "MP" <nospam@xxxxxxxxxx> wrote in message
> news:nGHjf.431$1U2.303@xxxxxxxxxxxxxxxxxxxxxxxx
> > Seems I've seen some references to AutoIncrementing columns being bad
idea
snip
> > What's the consensus here?
>
> I am not aware of issues related to autonumbering, while some specific
> definitely exists. For example, you should take it in account, when you
> construct Update and Insert queries.
> snip
> Again, whether to use Autoincrement or use your own numbering strategy -
it
> is more matter of personal preferences or given specifications. What I am
> saying is simple: Primary Key should not have other meaning than
uniqueness
> and it is better to use numeric value for it. Autonumbering is just simple
> and convenient way to meet these requirements.
>
> There may be other opinions on subject.
>
> Dmitriy.
>
Thank you somuch for your answer.
May I trouble you with another question?
In reference to your phrases "Relationships, Parents, and Children"
> If you create Relationships
> (ref.keys), then, depending on settings on those Relationships, it will
> either not let you to delete a parent record (error raised) or it will
> delete all children
at this beginning point of my learning I think that means:
I create a Relationship when I make PrimaryKey of TableTwo a ForeignKey of
TableOne
is that correct?
In that case then TableOne becomes Parent and TableTwo becomes Child
is that correct?
thank you again
Mark
.
- Follow-Ups:
- Re: Is AutoIncrement recommended or not?
- From: Dmitriy Antonov
- Re: Is AutoIncrement recommended or not?
- References:
- Is AutoIncrement recommended or not?
- From: MP
- Re: Is AutoIncrement recommended or not?
- From: Dmitriy Antonov
- Is AutoIncrement recommended or not?
- Prev by Date: Re: Is AutoIncrement recommended or not?
- Next by Date: Re: Not able to read data from XLS file created by ADODB.
- Previous by thread: Re: Is AutoIncrement recommended or not?
- Next by thread: Re: Is AutoIncrement recommended or not?
- Index(es):
Relevant Pages
|