Hello @Ping Li ,
Thanks for the question and using MS Q&A platform.
Yes, Table-Valued Parameters is not supported in Azure Synapse Analytics.
I would suggest you to vote up an idea submitted by another Azure customer.
Add support for the table value constructor
All of the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
In Azure Synapse Analytics, CREATE FUNCTION can return a table by using the syntax for inline table-valued functions (preview) or it can return a single value by using the syntax for scalar functions. Use this statement to create a reusable routine that can be used in these ways:
- In Transact-SQL statements such as SELECT
- In applications calling the function
- In the definition of another user-defined function
- To define a CHECK constraint on a column
- To replace a stored procedure
- Use an inline function as a filter predicate for a security policy
For more details, refer to CREATE FUNCTION (Azure Synapse Analytics).
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators