Trying to put a function call that returns an int into a call for a stored procedure.
Getting "Incorrect syntax near '.'."
usp_Document_ReserveForGrader '98832750-142F-4623-91F7-6E43C6F1A963',
开发者_运维问答12,dbo.Workflow_FirstProgress()
You need to assign the result of the UDF to a variable and pass the variable to the PS:
declare @x int;
set @x = dbo.Workflow_FirstProgress();
exec usp_Document_ReserveForGrader '98832750-142F-4623-91F7-6E43C6F1A963', 12,@x;
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论