James K. Lowden wrote: > I don't see any relationship between what you describe and the code > you're pointing to, unless perhaps if you're using TDS 4.2. Er, scratch that. tds7_build_param_def_from_query() is a TDS 7+ function, obviously. But I'm still confused. I hope a log will help. --jkl