Open database correctly when importing into a new file

When doing a SQL import into a new database file open this file
correctly after the import.