>>What do you mean by queries against VARCHAR(max)? I use this type of column and SQL Select from my VFP SP2 application with WHERE clause. What am I missing?
Are you using the classic SQL Server ODBC driver? The classic driver predates VARCHAR and fortuitously gets VARCHAR(max) right but has other issues. Newer Native Client drivers on many Windows installs, return a C(0).
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us."
-- Shakespeare: Coriolanus, Act 1, scene 1