SQL$HELP72.HLB  —  Errors  SQL_ERRORS, NOTSAMESCOPE
  You cannot override a database attach with different scopes

  Explanation:  The database scope (GLOBAL or LOCAL) in an ATTACH
  statement differs from the one already attached with the same
  alias.  The scope of the both aliases must be the same.

  User Action:  Either choose a different alias or specify the
  same scope for the new database.
Close Help