c# - SQL Server query not finding row in Database -


i have row in sql server database :

province    city                                locationtext ------------------------------------------------------------------------------- İstanbul    İstanbul sabiha gökçen havalimanı   Ä°stanbul sabiha gökçen airport 

and copy & paste city name above test in query below:

select *  locations  city ='İstanbul sabiha gökçen havalimanı' 

but query returns no result found. missing here?

if it's nvarchar column, might have better luck n prefix:

select * locations city = n'İstanbul sabiha gökçen havalimanı' 

here's microsoft support article describing use of n prefix when dealing unicode values.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -