Re-use the AppendTableName method