日期:2014-05-18 浏览次数:20499 次
ALTER PROCEDURE [dbo].[sp_BulkUpdateDayHits] @TableName HitType readonly, @TargetTableName varchar(64)
exec dbo.sp_BulkUpdateDayHits DayHits,'WeekHits'
dbo.sp_BulkUpdateDayHits cast(DayHits as HitType),'WeekHits'
declare @tb as HitType INSERT @tb SELECT * FROM DayHits EXEC sp_BulkUpdateDayHits @tb,'WeekHits'