• Do you realize that dbo is not part of the table name? It's the schema name.

    In the case that you really have a point in your table name, the option I included would handle it as well as other special characters.

    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