[server] Remove interfaces and definitions for using table name variables.

As a result, we could make code simple.