title: How to remove weekend non-working hours in PL/SQL?
body: <pre><code>IF (To_Char(Date1,'Day') = 'Sunday' Or To_Char(Date2,'Day')  = 'Sunday') Then
  SELECT columns ... FROM Table_Name;
  
  ELSE
  SELECT columns ... FROM Table_Name;
  </code></pre>
  
  <p>This is not working!</p>