title: Disable BAD/Discard file log on SQL Loader
body: <p>Is there a way to prevent sqlloader from creating either the BAD file or the DISCARD file or both?</p>
  
  <p>I read in a forum that setting the BAD parameter to NUL or NULL does that, but it doesn't seem to work. Something like:</p>
  
  <pre><code>sqlldr control=CONTROL.ctl data=DATA.txt bad=NUL
  </code></pre>
  
  <p>This ends up creating a file called NUL.bad (or NULL.bad depending on how you spell it)</p>