SELECT TOP * FROM PurchTable WITH (INDEX = PurchIdx) WHERE (((((((IdcfCodeLine_1_1.IdcfCodeFreeStrSpace2 LIKE '31%') OR (PurchTable.IdcfApplicantDept LIKE '31%')) AND (PurchTable.IdcfApplicantDept LIKE IdcfCodeLine_1_1.IdcfCodeFreeStrSpace2 + '%')) OR (PurchTable.IdcfDrafterId = 'hongmin.liang')) OR (PurchTable.IdcfApplicantId = 'hongmin.liang')) AND (PurchTable.IdcfPurchCategory_1 != '43支払依頼:秘匿'))) LEFT OUTER JOIN IdcfCodeLine AS IdcfCodeLine_1 ON (IdcfTypeCd = N'355') LEFT OUTER JOIN IdcfCodeLine AS IdcfCodeLine_1_1 ON IdcfCodeLine.IdcfCodeFreeStrSpace = IdcfCodeLine.IdcfCodeFreeStrSpace AND (IdcfTypeCd = N'355')

X++ SQL 代码转换为 SQL Server 代码示例

原文地址: https://www.cveoy.top/t/topic/pcgZ 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录