当调用一个存储过程时,如果一个参数是表值参数,则会出现以下错误。
ValidationErrors是通过以下语句创建的TVP:
CREATE TYPE [dbo].[ValidationErrors] AS TABLE(
[ErrorMessage] [varchar](255) NOT NULL
)
The user executing the stored procedure has execute privileges on the stored procedure. However, I still get the above error. Any ideas?