SQL Bug II

This commit is contained in:
Mike Phares 2023-04-19 14:00:50 -07:00
parent c68b853c64
commit c82a8790e7
2 changed files with 4 additions and 4 deletions

View File

@ -66,12 +66,12 @@ public class InfinityQSRepository : IInfinityQSRepository
.AppendLine(" td.f_test td_test, ") .AppendLine(" td.f_test td_test, ")
.AppendLine(" td.f_name td_name, ") .AppendLine(" td.f_name td_name, ")
.AppendLine(" (select count(cl.f_part) ") .AppendLine(" (select count(cl.f_part) ")
.AppendLine(" from [spcepiworld].[dbo].[ctrl_lim] cl, ") .AppendLine(" from [spcepiworld].[dbo].[ctrl_lim] cl ")
.AppendLine(" where cl.f_part = pd.f_part ") .AppendLine(" where cl.f_part = pd.f_part ")
.AppendLine(" and cl.f_test = td.f_test ") .AppendLine(" and cl.f_test = td.f_test ")
.AppendLine(" ) cl_count, ") .AppendLine(" ) cl_count, ")
.AppendLine(" (select count(sl.f_part) ") .AppendLine(" (select count(sl.f_part) ")
.AppendLine(" from [spcepiworld].[dbo].[spec_lim] sl, ") .AppendLine(" from [spcepiworld].[dbo].[spec_lim] sl ")
.AppendLine(" where sl.f_part = pd.f_part ") .AppendLine(" where sl.f_part = pd.f_part ")
.AppendLine(" and sl.f_test = td.f_test ") .AppendLine(" and sl.f_test = td.f_test ")
.AppendLine(" ) sl_count, ") .AppendLine(" ) sl_count, ")

View File

@ -66,12 +66,12 @@ public class InfinityQSV2Repository : IInfinityQSV2Repository
.AppendLine(" td.f_test td_test, ") .AppendLine(" td.f_test td_test, ")
.AppendLine(" td.f_name td_name, ") .AppendLine(" td.f_name td_name, ")
.AppendLine(" (select count(cl.f_part) ") .AppendLine(" (select count(cl.f_part) ")
.AppendLine(" from [spcepiworld].[dbo].[ctrl_lim] cl, ") .AppendLine(" from [spcepiworld].[dbo].[ctrl_lim] cl ")
.AppendLine(" where cl.f_part = pd.f_part ") .AppendLine(" where cl.f_part = pd.f_part ")
.AppendLine(" and cl.f_test = td.f_test ") .AppendLine(" and cl.f_test = td.f_test ")
.AppendLine(" ) cl_count, ") .AppendLine(" ) cl_count, ")
.AppendLine(" (select count(sl.f_part) ") .AppendLine(" (select count(sl.f_part) ")
.AppendLine(" from [spcepiworld].[dbo].[spec_lim] sl, ") .AppendLine(" from [spcepiworld].[dbo].[spec_lim] sl ")
.AppendLine(" where sl.f_part = pd.f_part ") .AppendLine(" where sl.f_part = pd.f_part ")
.AppendLine(" and sl.f_test = td.f_test ") .AppendLine(" and sl.f_test = td.f_test ")
.AppendLine(" ) sl_count, ") .AppendLine(" ) sl_count, ")