>Passing variable as parameters to a stored procedure using SQLEXEC() by using the ? returns an error code. If I pass the literals it works. If I change compatability to SQL 6.5 it works. Anyone know the problem?
>
>Thanks
Hi Gary,
You can use AERROR() function to get detailed info about ODBC error. Can you post SQLEXEC() that fails?
--sb--