[server] Don't use table name variables.

Instead, this patch uses the table name itself when it's needed.
The interfaces of some method taking a table name variable still
exists. In the next step, I will remove them and the definitions.