IBM Database Add-Ins for Visual Studio  

Dropping IBM Databases

With the IBM® Database Add-Ins for Visual Studio, you can drop an IBM database. Dropping a database deletes all its objects, containers, and associated files. The dropped database is removed (uncataloged) from the database directories.

Requirements:

To drop an IBM database:

  1. In the Server Explorer right-click the Data Connections node, and then select Drop IBM Database on the shortcut menu.

    The Drop Database window opens.

  2. Type the name of the server that contains the database that you want to drop.
  3. Type your user name and password.
  4. Type the name of the database that you want to drop.
  5. Click OK.

    The IBM Output Message Pane displays the following messages:

       Dropping database - <database_name>.
       Database <database_name> dropped successfully.


If the following messages are displayed in the IBM Output Message Pane, not enough time has elapsed since you closed the last remaining connection to the database.

   Database <database_name> not dropped.
   Error occurred: -1035 [57019] SQL1035N  The database is currently in use.  SQLSTATE=57019
   : -2147467259: IBM.Data.<data_server>

Wait a few minutes, and then try dropping the database again.

See Also

Managing IBM Databases and Connections | Deleting IBM Data Connections | Creating IBM Databases


.NET Development Forum   DB2 FAQs   IDS FAQs

© Copyright IBM Corporation 2002, 2019. All Rights Reserved.