Not something you want or should need to do on a regular basis. Shrinking the log file because a one-off process created a huge log might be fine. Beware shrinking the data file. It will fragment your indexes, neccesitating an index rebuild, which will in-turn increase the size of your data file. Also, it will eventually lead to physical fragmentation, which will create performance issues. If this is something you're thinking of doing, please answer one simple question - Why?