Advertisement
chrissharp123

Untitled

May 30th, 2025
598
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. delete from     actor.usr_message aum
  2. where not exists (
  3.     select 1
  4.     from actor.usr_standing_penalty ausp
  5.     where ausp.usr_message = aum.id
  6.     ) and aum.create_date < date(now() - '3 months'::interval);
  7.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement