title: Automatically Email query Results in SQL Server 2005
body: <p>Does anyone know how I can set up a job in SQL Server 2005 that will email the results of a query as an attachment?</p>
  
  <p>Preferably I'd like to email them as XML so they can be opened nicely in Excel, but I'll settle for a CSV... </p>
  
  <p>Thanks in advance!</p>
  
  <p>-Ev</p>