LawData_PsakDin_Search.Search==>Set_Find_Res("","","","","","","","","","","","","","","363821295","","sType=1,NNN1=1,NNN2=1,NNN3=1,TikFormat=1,chkZadM=0,OrechDin1=מירון רוזנטל,vPsak=-1,chkShofetM=0","","0","","","","","","","","*&*","*&*","","","","","","","","","","","","","","99999","","","","","","","","","","","","","","0","1","","") LawData_PsakDin_Search(Result)==> <-->SearchMofaim=<-->strMilaCol=<-->swSearchTxt=False<-->sFind_Res=Find_Res_<-->sql_WWWW=<-->sqlTblWrite=insert into Find_Res_ with (rowlock) (Type, C,Screen,SessionId,Shura) select top 10005 1, q2.C,'1',363821295,q2.shura from ( select top 10005 p.c,min(P2.Shura) as shura,p.fromdate from PsakDin p (nolock) left join Thum on Thum.C=p.Thum left join PsakDin_Type on PsakDin_Type.C=p.PsakDin_Type left join Ezor on Ezor.C=p.Ezor left join Tik_Type on Tik_Type.C=p.Tik_Type left join Arkaa_Type on Arkaa_Type.C=p.Arkaa_Type inner join (select -2 as Shura) as P2 on 1=1 group by p.C,p.fromDate order by p.fromdate desc) q2 <-->strMilaCol_Mof=<-->strMilaCol_NColor=<--> SQL ==== select count(*) as cn from Find_Res_ (nolock) where isnull(Type,0)=1 and SessionId=363821295 13............15:50:30

פסקי דין -