The return types for the following stored procedures could not be detected

后端 未结 15 2193
小鲜肉
小鲜肉 2020-12-09 08:09

While drag-drop a stored procedure in dbml file I get this error:

Unknown Return Type
The return types for the following stored

15条回答
  •  孤街浪徒
    2020-12-09 08:41

    You might as well consider using CONCAT() method instead of '+' to concat a string. Since I wasn't using temp table and yet still encounter this problem. I found out that concating strings using '+' triggering this.

    In my case, I was using this:

    SET @errorMessage = CONCAT('Update (ID=', @pnID, ') failed. Name already exists.');
    

    Instead of:

    SET @errorMessage = 'Update (ID=' + @pnID + ') failed. Name already exists.';
    

提交回复
热议问题