传参如何设置?

yonghong_cai钻石一 显示全部楼层 发表于 2024-4-17 20:20:15 |阅读模式 打印 上一主题 下一主题
1
未解决

传参如何设置?

105 2
在数据集内写传参过程,如下
select    biz_dt
             ,case when 0=1 then '000000' <qwer>
                     when ?{qwer}='是' then code
                     when ?{qwer}='否' then old_code </qwer>
                        end  编号                                                        /*这部分可行*/
                   ,case when 0=1 then '' <asdf>
                     when ?{asdf}='是' then name
                     when ?{asdf}='否' then old_name </asdf>
                end  名称                                                                /*这部分不可行*/
from    table
         
不可行的部分该如何写
回复

使用道具 举报

精彩评论2

yonghong_cai钻石一 显示全部楼层 发表于 2024-4-17 20:20:22
求指导
回复

使用道具 举报

yhdata_bear 来自手机 显示全部楼层 发表于 2024-4-17 20:31:02
有报错吗?
回复

使用道具 举报

高级模式
您需要登录后才可以回帖 登录 | 免费注册

  • 官方微信

    欢迎关注永洪服务号!收费为0,价值无限

    扫码关注
  • 新浪微博

    让每位用户轻松挖掘数据价值!

    访问新浪微博
  • 智能客服
50W

会员等你来哦

Copyright   ©2012-2024  北京永洪商智科技有限公司  (京ICP备12050607) 京公网安备110110802011451号 |联系社区管理员|《永洪社区协议》
返回顶部