NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io


select
maildatetype,
icerikformat,
hours,
ms.Id,
233
sicilid,
''
sicilemail ,
mesaibasson,
case
when mesaibasson='b' then dateadd(minute,mesaibas + artiek - eksiek + dbo.fn_cdakikaN(Hours),convert(nvarchar(50),getdate(),102))
when mesaibasson='s' then dateadd(minute,mesaibit + dbo.fn_cdakikaN(Hours),convert(nvarchar(50),getdate(),102))
else
getdate()
end
vardiyagonderimzamani
,m.data mesai,timertype,startdate,mt.recorddate,ReportType,AngelReportId,'sp_' + reportID + '_rpt'
spname,'('+sc.sicilno+')'+MailSubject MailSubject,'[email protected]' SendingPerson,SendingType,ReportId,
SUBSTRING(ReportParams,0,CHARINDEX('sicilno:|',ReportParams))+
'sicilno:'
+(select stuff((select ','+SicilNo from Sicil where OKod1=sc.EMail for xml path('')),1,1,''))++SUBSTRING(ReportParams,CHARINDEX('sicilno:',ReportParams)+8,LEN(reportparams))
as ReportParams,mt.SelectedFields,mt.ColumnFields,mt.RowFields,mt.SumFields,mt.GroupFileds,mt.Matrix,[Count],months,Days from mailtemplate mt
inner join mailservice ms on ms.MailTemplateId= mt.Id and ms.aktif=1
inner join sys_Reports sr on mt.AngelReportId=sr.AngelID
cross join sicil sc
left join mailduty on mailduty.[subject] = '('+sc.sicilno+')'+MailSubject and
cast(convert(nvarchar(50),mailduty.Recorddate,102) as datetime) = cast(convert(nvarchar(50),getdate(),102) as datetime)
cross apply string2table(case when isnull(Mesailer,'') = '' then 1 else Mesailer end,',') m left outer join mesailer on data = mesailer.Id
cross apply string2table(case when sendingtype='s' then sendingperson else '233' end,',') s
--cross apply kademe2table(case when sendingtype='k' then sendingperson else '0' end,',') k

--left outer join sicil sc2 on sc2.Id=k.data
where mailduty.ID is null
and sendingtype<>'K' and timertype<>'O' and sc.SicilNo <> '' and sc.EMail <> ''and ms.SendingPerson = 'yoneticibazli' and sc.CikisTarih is null and sc.CikisTarih is null and sc.Firma=198 and
sc.SicilNo in
(
select SicilNo from Sicil where EMail in (select OKod1 from Sicil where Firma=198 and OKod1<>'' and CikisTarih is null group by OKod1)and CikisTarih is null and SicilNo<>''
)
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.