26 lines
		
	
	
		
			962 B
		
	
	
	
		
			Transact-SQL
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			962 B
		
	
	
	
		
			Transact-SQL
		
	
	
	
	
	
| USE [VEPROMS]
 | ||
| 
 | ||
| DECLARE @RC int
 | ||
| DECLARE @ItemID int
 | ||
| DECLARE @StartItemID int
 | ||
| DECLARE @Type int
 | ||
| DECLARE @DTS datetime
 | ||
| DECLARE @UserID nvarchar(100)
 | ||
| DECLARE @NewItemID int
 | ||
| 
 | ||
| -- TODO: Set parameter values here.
 | ||
| SET @ItemID = 4416
 | ||
| SET @StartItemID = 4334
 | ||
| SET @Type = 20002
 | ||
| SET @DTS = getdate()
 | ||
| SET @UserID = 'Kathy'
 | ||
| 
 | ||
| EXECUTE @RC = [VEPROMS].[dbo].[PasteItemSiblingAfter] 
 | ||
|    @ItemID
 | ||
|   ,@StartItemID
 | ||
|   ,@Type
 | ||
|   ,@DTS
 | ||
|   ,@UserID
 | ||
|   ,@NewItemID OUTPUT
 | ||
| 
 | ||
| USE [MASTER] |