Displaying Emoji in SQL Server

In SQL Server we can create a database, table and write T-SQL query using emoji.




Lets create a table and then insert few records into table.

 Create table [😛😈ðŸĪŠðŸ˜Ž] (EmojiId INT, EmojiName Varchar(20), Emoji NVarchar(MAX))

 

You can check whether a table is created or not by using object explorer.

As you can see table is created which have emojies as table name.

Lets insert some records into table.

Insert into [😛😈ðŸĪŠðŸ˜Ž] values (1 , 'face with big eyes',N'😃') 
Insert into [😛😈ðŸĪŠðŸ˜Ž] values (2 , 'winking face',N'😉')
Insert into [😛😈ðŸĪŠðŸ˜Ž] values (3 , 'face with tongue',N'😛')
Insert into [😛😈ðŸĪŠðŸ˜Ž] values (4 , 'face with tongue',N'😛')
Insert into [😛😈ðŸĪŠðŸ˜Ž] values (5 , 'clown face',N'ðŸĪĄ')

No we select records from table.

 select * from [😛😈ðŸĪŠðŸ˜Ž]

You can get more emojis from this website- Emojis




 758 total views,  7 views today

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.