首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

sql中将数据类型 nvarchar 转换为 numeric 时出错怎么处理

2013-07-16 
sql中将数据类型 nvarchar 转换为 numeric 时出错怎么办select * from organization o,customer c where c

sql中将数据类型 nvarchar 转换为 numeric 时出错怎么办
select * 
from organization o,customer c 
where c.customer_square=o.structid

customer_square是nvarchar类型,structid是numeric类型。求大神啊!!在线等! SQL
[解决办法]
select * 
from organization o,customer c 
where c.customer_square= convert(nvarchar(10),o.structid)

热点排行