Pergunta de entrevista da empresa Beck Technology

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