如何在sql server中解决这个问题 [英] how to solve this problem in sql server
本文介绍了如何在sql server中解决这个问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
朋友们。
i有一张桌子上有一些信息。
什么是这个查询中的问题。第一个查询返回值,但第二个查询没有。
第一个查询:
从Kala_Table中选择Kala_Vahed,其中Kala_Name ='سرپوش';
第二个查询:
从Kala_Table中选择Kala_Vahed,其中Kala_Name ='شیلنگظرفشویی';
我必须做什么?请帮助
i认为这是因为شیلنگ和ظرفشویی之间有空间。你认为我必须如何解决这个问题?
hi friends.
i have a table with some information on it.
what is the problem in this queries. first query return value but second query does not.
first query:
select Kala_Vahed from Kala_Table where Kala_Name = 'سرپوش';
second query:
select Kala_Vahed from Kala_Table where Kala_Name = 'شیلنگ ظرفشویی';
what i must do? please help
i think it is because there are space between شیلنگ and ظرفشویی .you think how i must solve this problem?
推荐答案
最有可能的是,没有匹配的行,正如Kornfeld所说 - 但是可能值得指定UniCode:
Most likely, there is no matching row, as Kornfeld has said - but it might be worth specifying UniCode:
SELECT Kala_Vahed FROM Kala_Table WHERE Kala_Name = N'شیلنگ ظرفشویی';
这篇关于如何在sql server中解决这个问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文