select ‘<a href="/‘+a.id +‘" title="‘+ a.title +‘">‘+a.Title+‘</a>‘ from dbo.ticles a;
解决办法:
使用: cast ,
修改之后:
select ‘<a href="/‘+cast(a.Id as varchar(8000)) from dbo.ticles a;
原文地址:https://www.cnblogs.com/youmingkuang/p/10321487.html
时间: 2024-10-19 03:08:01