Shridevi Rao Thanks for posting your question in Microsoft Q&A. Parameters cannot contain a comma "," or an equal sign "=" as per doc: Attributes and this is as per design in SQLAttribute which uses [AutoResolve] attribute (only be a string and cannot accept =
).
The workaround is to encode customer key (which replaces =
as %3d
) either while calling Azure Functions via query parameter or in a custom object HttpEncodedBodyObj
like described in https://github.com/Azure/azure-functions-sql-extension/issues/302#issuecomment-1235722176 (check out the discussion for custom object) and decode the value in your stored procedure.
Currently we have open item: Find Alternative Way to Pass Parameters to find the approach on handling these scenarios and no ETA yet (still under discussion). I hope the workaround would help with your scenario and let me know if any questions.
If you found the answer to your question helpful, please take a moment to mark it as "Yes" for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.