Wednesday, September 19, 2012

The selected stored procedure returns no columns

The reason was, selecting from a temp table and EF can’t figure out the shape of the results at design time.

The solution for this write this line "SET FMTONLY OFF" in begin part of your Stored Procedure but it will not work in selecting data from another database.
Example : Create procedure SPname
      as
      SET FMTONLY OFF 

No comments:

Post a Comment

How to Create Events Using Microsoft Graph API with Delegated Permissions and MSAL.js

Microsoft Graph API provides powerful capabilities to interact with Microsoft 365 services. In this guide, we’ll explore how to create calen...