• You should be able to test your code, no one is perfect to say it's not necessary.

    Why don't you install SQL Server Express with tools to test on your computer?

    There are several errors in your code that make it look as if you're not sure of what you're doing.

    Try to explain us what's every instruction for and we can tell you how to correct them.

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2