Subject | Re: StoredProcedure excution |
---|---|
Author | majstoru |
Post date | 2005-12-21T00:50:08Z |
--- In firebird-support@yahoogroups.com, "Adam" <s3057043@y...> wrote:
Let me explain some details! I have application where some rules of
application can modify end user! The table which contain rules, which
will be executed by SP are defined by SQL statment and Parameters, it
mean that I must have a solution that implement these parameters in to
the SP. It is a little complicated but this solution is very useful
for my end users and my development work is less with coding app and
more creative for end users requests!
Thanks for help.
>wrote:
> --- In firebird-support@yahoogroups.com, "majstoru" <majstoru@y...>
> >which
> > Hi,
> >
> > I have Firebird like bakcend dabatabse in my n-tier application
> > is have a 10-15 thin clients connected to server (this isscenario). I
> > have some thinks in application that is defined in table (fex:statments!
> > sysoperate) in the database! This thinks are set of few SQL
> > I would lie to import all of theese SQL statments in to theSP by
> > StoredProcedure and execute it like SP! It mean when I change SQL
> > statment, SP fetch new statments and execute then on new call of
> > client.done
> >
> > Thanks for ALL!
> >
>
> thinks = query?
>
> You have a table containing SQL statements. You have a stored
> procedure that you want to get these statements and run them?
>
> Apart from the security problems this might introduce, it can be
> using the "execute statement" command.Hi Adam,
>
> ....
>
> FOR SELECT QRY FROM SPQRY INTO :STMT DO
> BEGIN
> EXECUTE STATEMENT :STMT;
> END
>
> ....
>
> Although I imagine you may have problems in the long run because
> dependencies will not be obvious and something might break.
>
> Adam
>
Let me explain some details! I have application where some rules of
application can modify end user! The table which contain rules, which
will be executed by SP are defined by SQL statment and Parameters, it
mean that I must have a solution that implement these parameters in to
the SP. It is a little complicated but this solution is very useful
for my end users and my development work is less with coding app and
more creative for end users requests!
Thanks for help.