You are testing against a
Sybase server (or using a
Sybase-driver), whereas the original post is stating you are using
MS SQL Server 2005, so at least your comments are confusing if not entirely misleading.
MS SQL Server 2005 being the latest incarnation of Microsoft's database server series, it seems unlikely that it does not support '?' placeholders.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James