in reply to Re: Re: Re: Re: Re: No Fear: decoupling your application from the database
in thread No Fear: decoupling your application from the database

If you are offering an interface that allows complex user-defined queries, then not dynamically generating the SQL would mean pre-defining the exploded combination of all possible queries.

I suppose this could be done programatically, but it's often easier to simply dynamically generate the SQL.

  • Comment on Re: Re: Re: Re: Re: Re: No Fear: decoupling your application from the database

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Re: No Fear: decoupling your application from the database
by mpeppler (Vicar) on Mar 27, 2003 at 01:15 UTC
    Agreed. As usual one has to be careful of absolutes, and there are often circumstances where certain techniques are not appropriate.

    Michael