python sql query adds , to string code example Example: sql server concat string and int SELECT 'Comments: ' + CAST(9 AS varchar(12)) AS Result;