案例陈述中的语法错误

案例陈述中的语法错误

本文介绍了案例陈述中的语法错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我对此部分代码有疑问。当我将select statenet放在一个字符串变量中时,我在RTRIM处得到一个语法错误。可以在一个字符串变量中使用Case部分我想知道 Cust_Org_Name = CASE当C.CustomerType =''+''我'+ ''那么RTRIM(CL.Lastname) 当C.CustomerType =''+''E''+''那么RTRIM(CL.Customername) END, 感谢你的帮助解决方案 刚刚找到你的其他相关帖子,所以我也给了答案。 希望有帮助 I am have a problem with this section of code. When I place the select statemnet in a string variable i get an syntax error at RTRIM. Can the Case section be used in a string variable i am wonderingCust_Org_Name =CASE WHEN C.CustomerType =''+''I''+''THEN RTRIM(CL.Lastname)WHEN C.CustomerType = ''+''E''+''THEN RTRIM(CL.Customername)END,Thanks for your assistance 解决方案 这篇关于案例陈述中的语法错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-21 03:38