Pregunta de entrevista de Beck Technology

How can you determine whether a SQL database is local or remote?