sql function select query invalid object name code example Example: invalid object name sql check your tables, columns, databases name properly