aa>
Sun Jan 04 12:39:58 CST 2004
That might be a solution, Aaron.
Building a SELECT SQL statement and inserting there the parameter like
SQLstring = SQLstring & "MIN(some_column) / " & parameter
or
SQLstring = SQLstring & "MIN(some_column / " & parameter & ")"
should not present problems.
Yet if I wanted to have this parameterized query stored in Access2000 -
what would be the syntax?
MIN(some_column) /[] failed when atemting to run it in Access
"Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
news:eA8BPTt0DHA.1724@TK2MSFTNGP10.phx.gbl...
> Did you mean
>
> MIN(some_column) / parameter
>
> ?
>
> Since the parameter becomes constant for all rows in the query, this
should
> yield the same answer.
>
> --
> Aaron Bertrand
> SQL Server MVP
>
http://www.aspfaq.com/
>
>
>
>
> <aa> wrote in message news:erScwTs0DHA.3468@TK2MSFTNGP11.phx.gbl...
> > From ASP I run a query using MIN(some_field/parameter)
> >
> > Now I need to pass this parameter to the query from ASP code
> >
> > How do I do that?
> > Syntax like
> > MIN([some_field] / [])
> > does not work
> >
> >
>
>