Doug Lane

SQL Server Entertainer

  • GitHub
  • LinkedIn
  • Twitter
  • YouTube
  • Blog
  • About Doug

How Documentation Leads Me to Smarter Programming

February 26, 2013 by Doug Lane

“Okay, so these are the steps to take in order to run this process.

Step one: rename the file. Wait. Why would I rename the file? SSIS can do that for me in a script task. No need to bother the operator with that.

All right. Step one: copy the file to a staging folder…hang on….a script task can do that too. Let me just throw a File.Copy in there.

Step one: Open the Excel file and delete the header rows (1-5) on the sheet labeled “Data”.  Okay, step two. No, no, I can just tell the connection manager to ignore the first five rows. Let me go fix that up. There, much better.

Step one:…”

Filed Under: Integration Services Tagged With: Documentation

Comments

  1. Jason Horner says

    February 27, 2013 at 9:30 AM

    So step 1 is: Profit$$$ I’m a bit confused 🙂

    • Doug Lane says

      February 27, 2013 at 10:05 AM

      I buried the secret to profit somewhere in the post. Keep reading until you find it. 🙂

  2. Matt Velic says

    March 7, 2013 at 6:12 AM

    That’s funny. I keep having that experience as I learn more PowerShell – “No no… why am I declaring all this stuff, I can make it one line!”

Subscribe now!

Don't miss new posts as they publish. Enter your e-mail address to subscribe!

Your e-mail address will stay quietly between us, like that time I set the carpet on fire by accident.

Copyright © 2025 · Outreach Pro on Genesis Framework · WordPress · Log in