开发者

What is wrong with this sql syntax?

开发者 https://www.devze.com 2022-12-15 17:23 出处:网络
Hai guys, I got the error Cannot call methods on nva开发者_开发技巧rchar. when i executed the below sql query

Hai guys,

I got the error Cannot call methods on nva开发者_开发技巧rchar. when i executed the below sql query

select User.[User_Id],User.[User_Name],User.Email_Id,User.Password,Role.Role_Id,Role.Role_Name,Role.Role_Description 
 From [User] inner join [Role] on User.Role_Id=Role.Role_Id

what is wrong in the above query?


You may need to delimit user as [user]. I believe it is a reserved keyword.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号