USE XXX
GO

IF EXISTS(SELECT 1 FROM sys.types WHERE NAME = N'StatusIdList' and is_table_type = 1)
DROP TYPE [dbo].[StatusIdList]
GO


CREATE TYPE DBO.StatusIdList AS TABLE (StatusId INT)
GO


GRANT EXECUTE ON TYPE::[dbo].StatusIdList TO XXX
GO

posted on 2021-04-07 15:26  HuairongChen  阅读(165)  评论(0编辑  收藏  举报