DROP DATABASE
As you can probably guess, the DROP DATABASE statement deletes a database.
A program connects to an Access database by opening it directly. Because it doesn’t connect to the database using a server, there is no server to process the DROP DATABASE command. If you want to destroy an Access database, simply delete the .mdb file that contains it.
A program connects to Oracle, SQL Server, and MSDE databases through a server as shown in Figure A.2. A program connecting to a server like this can destroy a database using the DROP DATABASE statement.
The server will not drop the database while any program is connected to it, however. Even the program attempting to drop the database must be disconnected from it. If the program has been ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access