Hello @Siddiqui, Bashir ,
Thanks for the ask and using Microsoft Q&A platform .
As I understand the ask here is how to use a SELECT statement in a scalar function in Synapse , please do let me know if thats not the case .
Unfortunately at this time we cannot use a SELECT statement in the body of the function . Please read about this more here
We can use a SELECT in table valued function which is called out here . Adding a example with the snashot for clarity below .
We request to please go ahead and log a feature request on the feedback portal .
https://feedback.azure.com/d365community/forum/9b9ba8e4-0825-ec11-b6e6-000d3a4f07b8#
Product group does monitor the request and they can plan for the implementation in future .Once you log the feature request you will also be notified on the status of the request .
Please do let me know how it goes .
Thanks
Himanshu
-------------------------------------------------------------------------------------------------------------------------
- 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