Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2012

    Red face Unanswered: Drop database code

    Is there a simple code to delete, Drop database in DB2?
    In my 1st attempt in DB2, I created 2 databases 1st with a 1 Schema, 1 table & 1 View
    While in 2nd database I had exported 2 tables from my Access database.
    I have down loaded DB2 10.1 & & Data Studio 3.1.1 Administration Client on my laptop.
    Now I need help to delete these 2 databases.

  2. #2
    Join Date
    Oct 2009
    221B Baker St.
    Suggest you read about DROP DATABASE.
    From the db2 v9 mainframe manual:
    Whenever a database is dropped, all of its table spaces, tables, index spaces, and indexes are also dropped.
    I suspect something very similar would work for your system.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts