Difference between N'String' vs U'String' literals in Oracle

前端 未结 3 1849
傲寒
傲寒 2020-12-09 16:35

What is the meaning and difference between these queries?

SELECT U\'String\' FROM dual;

and

SELECT N\'String\' FROM dual;
<         


        
3条回答
  •  执笔经年
    2020-12-09 16:52

    when using N' we denote that given datatype is NCHAR or NVARCHAR.

    U' is used to denote unicode

提交回复
热议问题