ATATCH and DETACH DATABASE