select convert(numeric(15),count(*)) from ... #### select convert(varchar(32),count(*)) from ...