declare @server varchar(255), @device smallint
set @device = 10
set @server = '192.168.0' + @device
Keep geting the error: syntax error converting the varchar value '192.16.0.' to a column of data type smallint.
I need to form this: 192.168.0.10 with the two different data types.
Thank you.