Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EXEC MyStoredProc @Param1='My name is: '+@Name
- EXEC MyStoredProc @Param1=CONCAT('My name is: ',@Name)
- declare @Var1 varchar(50)
- select @Var1 = 'My name is: '+@Name
- EXEC MyStoredProc @Param1=@Var1
- EXEC MyStoredProc @Param1=getdate()
- declare @Var1 datetime
- select @Var1 = getdate()
- EXEC MyStoredProc @Param1=@Var1
Add Comment
Please, Sign In to add comment