Hello All,I have to debug a sproc which uses UDT - User Defined Table type. I captured the parameters in trace. Now how do I run the SQL code to pass the UDT to a parameter?Debugging the stored procedure codeUDT has one row with these values in trace (1,N'Food','NP1010',230)declare @ID INT ,@ProdID VARCHAR(25) ,@CategoryID INT ,@UsrID INT ,@ProductDetails as dbo.ProdDetails_UDTdeclare @ID = 112 ,@ProdID = 'C0010' ,@CategoryID = 3 ,@UsrID INT = 1111 ,@ProductDetails as dbo.ProdDetails_UDT -???
Please let me know how to initialize @ProductDetails with UDT value.Thanks,