Forum Discussion
TahmidBari
Helper I
3 years agoSQL stored procedures in DirectQuery mode
Hi there, I have read the comments on the relevant PBI forums about calling SQL stored procedures in DirectQuery mode, but it's not working for me. Could you please assist me validate the following ...
TahmidBari
Helper I
3 years agoHi amitchandak, Thanks for sharing the information. I understand that we won't be able to pass parameters to stored procedures, and we can't execute them in direct query mode. We can however, create table valued functions which give us the ability to use table variables and perform other functions that are more complex in nature in 'DirectQuery' mode.
When I try to connect a stored procedure in SELECT from OPENROWSET from 'DirectQuery,' mode, I get the following error message. Thanks.