>>FYI. Unless @ has a meaning in .net it has no importance in Sql Anywhere. Unlike Sql Server, you don't have to start a variable with an @ sign. > >Yes, that is what I found. Does this mean that in general, no matter the backend, when we parameterize everything that we usually are ok with the ? approach?
The ? is only OK if you're using the OleDbDataAdapter. If you're using the SqlDataAdapter, you *must* use named parameters (those that start with @).