Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87CA61076E for ; Mon, 18 Nov 2013 17:46:36 +0000 (UTC) Received: (qmail 41950 invoked by uid 500); 18 Nov 2013 17:46:36 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 41925 invoked by uid 500); 18 Nov 2013 17:46:35 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 41918 invoked by uid 99); 18 Nov 2013 17:46:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Nov 2013 17:46:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of georges@mhsoftware.com designates 209.169.14.178 as permitted sender) Received: from [209.169.14.178] (HELO mail.mhsoftware.com) (209.169.14.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Nov 2013 17:46:31 +0000 Message-ID: <528A5261.9070500@mhsoftware.com> Date: Mon, 18 Nov 2013 10:46:09 -0700 From: "George S." User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Derby Discussion Subject: Re: How to drop a bad table? References: <1384746786052-135693.post@n7.nabble.com> In-Reply-To: <1384746786052-135693.post@n7.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org One solution that would work with pretty much any system is to copy the non-bad tables to a new database, drop the bad database, and rename the new database. On 11/17/13 8:53 PM, chongsoft wrote: > I'm using derby for 4 years, all the time I don't known how to drop a bad > table( file damaged)? > > For example, if a file in "seg0" named "c20.dat" is damaged or deleted, so > the associated table "tablexxx" can not be used,and even cannot de droped > with "drop table tablexxx"(thows exceptions), can someone help me to remove > the damaged table "tablexxx"? > > > > -- > View this message in context: http://apache-database.10148.n7.nabble.com/How-to-drop-a-bad-table-tp135693.html > Sent from the Apache Derby Users mailing list archive at Nabble.com. > -- George Sexton MH Software, Inc. 303 438-9585 http://www.mhsoftware.com/