SQL Bug II
This commit is contained in:
parent
c68b853c64
commit
c82a8790e7
@ -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, ")
|
||||||
|
@ -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, ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user