What permission do I need to use an SQL Server Table Valued Parameter (TVP) as a stored proc parameter?
问题 I'm using SQL Server 2008 R2 and I've created a TVP that I want to use as a parameter to a stored proc but I get a message saying that it can't be found or I don't have permission. I can use the TVP in a script or in the body of the stored proc, but when I try to use it as a parameter I get the error. Any thoughts? Edit: For clarification, the error I'm getting is on the creation of the stored proc 回答1: In order for a caller to use a PROC with a table valued parameter, you'll need to