Beck Technology interview question

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