number to char sql server
The following SQL statement converts integer data to characters using CAST(): SELECT item_name, CAST(item_quantity AS CHAR(8)) FROM items; As with CONVERT(), CAST() can use any data type which receives characters: VARCHAR, NCHAR and NVARCHAR.