PL/SQL中的字符串连接符为“||”,而不是T/SQL中的“+”了。另外,还使用了转换函数CAST(c as newtype),将数值类型转换为字符类型。例如:select cast(MID as varchar(20)) || '|' || cast(AID as varchar(20)) || '|' || FORMNAME from SYS_AUTHORIZATION  其中一输出结果为“2|-1|”。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
  • 2022-01-29
  • 2022-12-23
  • 2022-02-20
猜你喜欢
  • 2022-12-23
  • 2021-05-21
  • 2022-02-01
  • 2022-12-23
  • 2021-06-28
相关资源
相似解决方案