Separation and attachment of the database in the Query Analyzer