Click here to Skip to main content
15,881,690 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have one temp table having single column as 'Test' NVARCHAR(100).

I have inserted into it two emojis as below
1. 😍🤣😂💻💡
2. 💡

When I execute search query=>

Select * from TempTable
WHERE Test=N'😍🤣😂💻💡';

gives => 😍🤣😂💻💡


BUT


When I execute search query=>

Select * from TempTable
WHERE Test=N'💡';

also gives => 😍🤣😂💻💡. Here It must give '💡'

What I have tried:

1. I checked collations => SQL_Latin1_General_CP1_CI_AS
2. Searched another emoji but failed and gave same result.
Posted

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