select '<a href="/'+a.id +'" title="'+ a.title +'">'+a.Title+'</a>' from dbo.ticles a;
解決辦法:spa
使用: cast ,code
修改以後:blog
select '<a href="/'+cast(a.Id as varchar(8000)) from dbo.ticles a;