insert into TableName values(@id,@Name,cast(@id as varchar(50))+@Name)
+
Select id+name from tablename update tablename set iname = id+name
Cast
Convert
CONVERT(varchar, id) + name
SELECT id, name, name + CONVERT(VARCHAR(10), id) AS iname FROM yourTable
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)