Please don't send private messages, you limit the help you can get.
Tej_7342 (11/5/2013)
It looks good, but can this be modified to be generic instead of hard-coded. Also the problem is its fills up logs if we run it.
What do you mean by generic? What's wrong with the code? You said you needed to delete data from a table which is older than 2 weeks. As we can't see your data, we're just guessing.