The best thing you can do is think about re-use of your code
(and as mentioned consider stored procedures).
You are the one who has to live with your code (for now) and your successor will have many questions.
Write it in a way that serves you now and in the future.
thines01
Postaholic
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402