
Sybase system 10 param queries
I've been trying to use paramerterized queries with Sybase system 10 with
their ODBC driver 10.0.4 and all I've been able to get so far is a "Driver
does not support this function" when I get to the line that sets the
parameter value. Bind vars must be supported by the driver, musn't they?
Or am I missing something? Thanks.
ex)
sSql = "select bmk_name from tppf028 where bmk_id = ?"
set psBmk = cn.CreatePreparedStatement("", sSql)
psBmk.rdoParameters(0) = 123