You're comparing price (money) to 'varPrice' (text), and an
implicit
conversion between those two types is not allowed. You have
to explicitly
CAST or CONVERT the column.
In your case, I imagine you don't really mean for varPrice to
be text. Lose
the quotes and it will be considered a number.
"tedstar" <webforumsuser@macromedia.com> wrote in
message
news:eggr3h$old$1@forums.macromedia.com...
> "SELECT * from table where price < 'varPrice' "