21 lines
		
	
	
		
			812 B
		
	
	
	
		
			Transact-SQL
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			812 B
		
	
	
	
		
			Transact-SQL
		
	
	
	
	
	
DECLARE @RC int
 | 
						||
DECLARE @ItemID int
 | 
						||
DECLARE @StartItemID int
 | 
						||
DECLARE @Type int
 | 
						||
DECLARE @DTS datetime
 | 
						||
DECLARE @UserID nvarchar(100)
 | 
						||
DECLARE @NewItemID int
 | 
						||
 | 
						||
SET @ItemID = 9535
 | 
						||
SET @StartItemID = 9563
 | 
						||
SET @Type = 20002
 | 
						||
SET @DTS = getdate()
 | 
						||
SET @UserID = 'Kathy'
 | 
						||
 | 
						||
EXECUTE @RC = [VEPROMS].[dbo].[PasteItemReplace] 
 | 
						||
   @ItemID
 | 
						||
  ,@StartItemID
 | 
						||
  ,@Type
 | 
						||
  ,@DTS
 | 
						||
  ,@UserID
 | 
						||
  ,@NewItemID OUTPUT |