找回密码
 立即注册
搜索
查看: 332|回复: 0

[天际健康] 适应症字段截取长度

[复制链接]
发表于 2025-4-30 15:09:13 | 显示全部楼层 |阅读模式
  1. SELECT  <font color="#ff0000">a.drugid,a.drugname,to_char(a.spec),a.enterprisename,</font>
  2.     CASE
  3.         WHEN Length(<font color="#ff0000">a.feature</font>)> 2000 THEN to_char(SUBSTR(<font color="#ff0000">a.feature</font>, 1, 2000))
  4.         ELSE to_char(<font color="#ff0000">a.feature</font>)
  5.     END AS 适应症
  6. FROM
  7.     <font color="#ff0000">drugspec.instructions_list</font> a;
复制代码


欢迎注册吾爱缘分网,在这里可留言管理员需要找的资源哦。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|技术分享

GMT+8, 2025-5-9 21:06 , Processed in 0.051321 second(s), 20 queries .

Powered by 吾爱缘分

© 2024-2024 吾爱缘分

快速回复 返回顶部 返回列表