Subject | Dynamic DDL in user apps, was Re: [firebird-support] Re: Firebird SS-1.5.1 and R |
---|---|
Author | axsp2000 |
Post date | 2006-02-24T10:18:14Z |
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@...> wrote:
we're moving to the first option. The main computed field will be
created with the table at the beginning.
Thank you
Alessandro
>reports
> At 06:56 PM 24/02/2006, you wrote:
> > >
> > > WHY is your application code performing dynamic DDL at all?
> > > Because sometimes we require to show some computation on some
> > > to a lot of client and this was the simplest and quickest waywithout
> > > involving other application layer.reports, etc.
> > >
>
> It sounds even more wrong to be altering the table from your
> app. There are two better (safer, quicker, testable) ways to do this
> sort of thing.
>
> 1) Defined the computed fields permanently (they'll never be
> calculated unless you include them in SELECT statements)
> or 2) (better)
> 2) create views containing the computed fields you want for
>Helen,
> ./heLen
>
we're moving to the first option. The main computed field will be
created with the table at the beginning.
Thank you
Alessandro