Click here to Skip to main content
15,885,928 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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?
Posted
Updated 22-Mar-14 23:41pm
v2
Comments
Kornfeld Eliyahu Peter 23-Mar-14 5:13am    
I can't read Arab (Farsi?) but it's obvious that there is no row in your table where Kala_Name = 'شیلنگ ظرفشویی'...

1 solution

Most likely, there is no matching row, as Kornfeld has said - but it might be worth specifying UniCode:
SQL
SELECT Kala_Vahed FROM Kala_Table WHERE Kala_Name = N'شیلنگ ظرفشویی';
 
Share this answer
 
Comments
_Starbug_ 23-Mar-14 5:56am    
so thank you my friend.
OriginalGriff 23-Mar-14 6:02am    
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900