摘要:
--创建存储过程IF EXISTS (SELECT * FROM sysobjects WHERE name='GetSplitString' AND xtype='p') DROP PROCEDURE dbo.GetSplitStringGOCREATE PROCEDURE dbo.GetSplitString @strID nvarchar(max) --以逗号隔开的字符串 ,@tableName nvarchar(50) output --临时表ASBEGIN declare @totalLength int declare @length in... 阅读全文