产生原因是因为编码问题

数据库是英文版  但是数据库中数据又是中文的
所以查询中文时需要加上N
select * from customer where Username=N'张三'

  

相关文章:

  • 2021-10-04
  • 2021-09-28
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2022-02-01
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2021-08-05
  • 2021-07-02
  • 2022-12-23
相关资源
相似解决方案