Same as many other programming languages - add (or add a variable depending on the data type, but add in this case) to the existing value.
eg. if the @myvariable value is currently hello, after this assignment the value will be hellotest.
This is a shortcut for: SET @myvariable = @myvariable + 'test'introduced in SQL Server 2008.
source
share