I've never had to do it. Images, yes, but never an executable. You'll need to use a Varbinary(MAX) datatype and you can read them in and out just like with any other varbinary. A far better and safer approach would involve just storing the filename, but you have the attendant problem of having to copy the directories when you deploy the database.