I configured TSQLStoredProc to hold two ftString and one ftInteger TParam
objects.
If I try to run the stored procedure using TSQLStoredProc, SQL Server fails
with an "illegal xml character" error. Even weirder, the error reports a
character index that is inside a standard XML tag with valid characters in
it. I am assigning plain Ansi strings to the TParam::Value property. No
MBCS involved.
However, if I run the same stored procedure via TSQLQuery using an "EXECUTE"
SQL statement, everything works fine.
Does an ftString TParam work correctly with SQL Server 2005? I tried
ftWideString, but then I get an "unsupported type" error from SQL Server
when executing the procedure.
Gambit