cast('字段名' as typ1)

其中typ1 类型为nhibernate定义的类型如string int 

入校写法会报错

cast ("id" as char(20))

正确写法为 cast("id" as string) 

相关文章:

  • 2022-12-23
  • 2021-10-16
  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-12-16
猜你喜欢
  • 2022-12-23
  • 2021-09-16
  • 2021-06-13
  • 2021-10-24
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案