Sql server 允许在SQL Server中使用希伯来语字符

Sql server 允许在SQL Server中使用希伯来语字符,sql-server,visual-studio,Sql Server,Visual Studio,我想在我的SQL Server数据库中允许使用希伯来语字符 这是我的桌子: CREATE TABLE [dbo].[LessonsTable] ( [Phone Number] NVARCHAR (20) NOT NULL, [Lesson Date] NVARCHAR(50) NULL ); 我尝试插入如下数据: insert into [dbo].LessonsTable values ('נסיון','עוד'); 但是SELECT*from[dbo].Less

我想在我的SQL Server数据库中允许使用希伯来语字符

这是我的桌子:

CREATE TABLE [dbo].[LessonsTable] 
(
    [Phone Number] NVARCHAR (20) NOT NULL,
    [Lesson Date]  NVARCHAR(50)  NULL
);
我尝试插入如下数据:

insert into [dbo].LessonsTable
values ('נסיון','עוד');
但是
SELECT*from[dbo].LessonsTable返回:

Phone Number  |  Lesson Date
--------------+-------------
  ????        |  ????

对UNICODE字符使用字符串文字时,需要在字符串文字前面加上N

insert into [dbo].LessonsTable
values (N'נסיון'N ,'עוד');

对UNICODE字符使用字符串文字时,需要在字符串文字前面加上N

insert into [dbo].LessonsTable
values (N'נסיון'N ,'עוד');

您需要将字符串编写为unicode字符串

insert into [dbo].LessonsTable
values (N'נסיון'N,'עוד');

您需要将字符串编写为unicode字符串

insert into [dbo].LessonsTable
values (N'נסיון'N,'עוד');

显然你打了我18秒。@LuisCazares通常是你打我的DApparently你打了我18秒。@LuisCazares通常是你打我D