Guest User

Untitled

a guest
May 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. select
  2. CAST(CONVERT(DATETIME, SWITCHOFFSET(CONVERT(DATETIMEOFFSET, timestamp), '-03:00')) AS DATE),
  3. count(1)
  4. from ba.log2 with(nolock)
  5. where severity='Error' and Message like 'Unable to connect to the remote%'
  6. group by CAST(CONVERT(DATETIME, SWITCHOFFSET(CONVERT(DATETIMEOFFSET, timestamp), '-03:00')) AS DATE)
  7. order by 1 desc
Add Comment
Please, Sign In to add comment