Skip to content
Home » Displaying Emoji in SQL Server

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 [😛😈🤪😎]

If you want to explore more emojis, you can refer this website- Emojis




Loading

Leave a Reply

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

Discover more from SQL BI Tutorials

Subscribe now to keep reading and get access to the full archive.

Continue reading