困惑中,大虾帮忙.急!!!!!!!!!!!!!!!! 一句很简单的语句select * from table where name='名字'表里name有:名字但就是执行这条语句时没有记录.请问怎么回事在线等待中!!!!!!!!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 name是否设置为Char型? 用Like查一下,是有多余的字符导致 Select * from table where name Like'%名字%' tryselect * from table where name=N'名字' select * from table where name='名字'--------------這樣select * from table where isnull(name,'')='名字' select * from table where name like'%名字%' select * from table where cast(name as varchar(100))='名字'試試 select * from table where [name] like'%名字%' select * from table where rtrim(name)='名字' 如何提取最大值的一行,求助!!!!!!!!!!急急急!!!!!!1 有关MSSQL的分组统计问题 SQL2000数据库管理的内容都有哪些? SQL Server 2000 安装后企业管理器中 SQLServer组无项目 请问一下大家,在sql2000中如何将一个数据库中的数据导入到另一个数据库? win7旗舰版下安装Sqlserver2005 express版报错 先安sql2005后安sql2000出问题了 SQL2000某列内容 系统定期自动完成某个工作! 急!!请高手相助!给分 再次提问,大家帮忙! 怎样做一个安装程序,将2008 SQLEXPRESS 服务端安装在电脑上
用Like查一下,是有多余的字符导致
Select * from table where name Like'%名字%'
這樣select * from table where isnull(name,'')='名字'