Re: Table w/ Autonumber AND Cascade update
I saw it as wanting to misuse a feature (tirggers) that would have
legitimate uses, if it existed. ;] I think well-designed Access databases
are too uncommon; I rarely get to work on them, anyway. I also rarely get
to design. I get called in to fix them after they are so far along that the
client feels that they have too much invested to start over. I'm pretty low
on the food chain, so I just do what I'm told: fix the messed up database in
XX hours, or less.
Personally, I don't like surrogate keys at all. I wish Access didn't have
autonumber, but that likely wouldn't force people to design tables with good
natural keys--they'd just simulate autonumber in VBA. :[
Thanks for your insight.
"Michael (michka) Kaplan [MS]" <michkap@online .microsoft.com> wrote in
message news:4026a37a@n ews.microsoft.c om...[color=blue]
> "Lee Cichanowicz" <cichanowicz_l@ hotmail.com> wrote...
>[color=green]
> > It seems impossible to make all of this happen in the back-end mdb,[/color]
> though.
>
> Correct.
>[color=green]
> > Or is it?[/color]
>
> It is impossible, given the way that Access/Jet is being [mis]used here.
> Though perhaps one could look at doing a proper schema redesign as soon as
> feasible (the facts that (1) a table can exist with *no* candidate keys,[/color]
and[color=blue]
> (2) an autonumber is being used as data points to at least two of those
> flaws. The flaws are what in fact leads up to being unable to do what one
> wants to in a file server database product).
>
>
> --
> MichKa [MS]
> NLS Collation/Locale/Keyboard Development
> Globalization Infrastructure and Font Technologies
>
> This posting is provided "AS IS" with
> no warranties, and confers no rights.
>
>
>[/color]
I saw it as wanting to misuse a feature (tirggers) that would have
legitimate uses, if it existed. ;] I think well-designed Access databases
are too uncommon; I rarely get to work on them, anyway. I also rarely get
to design. I get called in to fix them after they are so far along that the
client feels that they have too much invested to start over. I'm pretty low
on the food chain, so I just do what I'm told: fix the messed up database in
XX hours, or less.
Personally, I don't like surrogate keys at all. I wish Access didn't have
autonumber, but that likely wouldn't force people to design tables with good
natural keys--they'd just simulate autonumber in VBA. :[
Thanks for your insight.
"Michael (michka) Kaplan [MS]" <michkap@online .microsoft.com> wrote in
message news:4026a37a@n ews.microsoft.c om...[color=blue]
> "Lee Cichanowicz" <cichanowicz_l@ hotmail.com> wrote...
>[color=green]
> > It seems impossible to make all of this happen in the back-end mdb,[/color]
> though.
>
> Correct.
>[color=green]
> > Or is it?[/color]
>
> It is impossible, given the way that Access/Jet is being [mis]used here.
> Though perhaps one could look at doing a proper schema redesign as soon as
> feasible (the facts that (1) a table can exist with *no* candidate keys,[/color]
and[color=blue]
> (2) an autonumber is being used as data points to at least two of those
> flaws. The flaws are what in fact leads up to being unable to do what one
> wants to in a file server database product).
>
>
> --
> MichKa [MS]
> NLS Collation/Locale/Keyboard Development
> Globalization Infrastructure and Font Technologies
>
> This posting is provided "AS IS" with
> no warranties, and confers no rights.
>
>
>[/color]
Comment