问题描述
update #temp_Or_GetPendingOrdersList
set ApprovedOn =
dbo._UD_GetDate(dbo._UD_ConvertToCompanyTime(@HHA,#temp_Or_GetPendingOrdersList.ApprovedDate,#temp_Or_GetPendingOrdersList.branchid))
+ ' ' +dbo._UD_GetTime(dbo._UD_ConvertToCompanyTime(@HHA,#temp_Or_GetPendingOrdersList.branchid))
from HConfigurations2 with(nolock),TimeZones with(nolock)
where #temp_Or_GetPendingOrdersList.branchid = HConfigurations2.HHA_BRANCHID
and HConfigurations2.TIME_ZONE = TimeZones.ZONE_ID
and HConfigurations2.HHA_ID = @hha
在存储过程中有一条update语句,它具有很高的工作表逻辑读取。如何减少它们?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)