Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 91182 invoked from network); 26 Jul 2006 04:48:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jul 2006 04:48:43 -0000 Received: (qmail 1091 invoked by uid 500); 26 Jul 2006 04:48:43 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 1065 invoked by uid 500); 26 Jul 2006 04:48:43 -0000 Mailing-List: contact ddlutils-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-dev@db.apache.org Delivered-To: mailing list ddlutils-dev@db.apache.org Received: (qmail 1053 invoked by uid 99); 26 Jul 2006 04:48:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2006 21:48:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2006 21:48:42 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0753E714294 for ; Wed, 26 Jul 2006 04:46:17 +0000 (GMT) Message-ID: <24352472.1153889177026.JavaMail.jira@brutus> Date: Tue, 25 Jul 2006 21:46:17 -0700 (PDT) From: "Thomas Dudziak (JIRA)" To: ddlutils-dev@db.apache.org Subject: [jira] Resolved: (DDLUTILS-119) Dropping unique index properly on SQL Server. In-Reply-To: <32894130.1153802354477.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DDLUTILS-119?page=all ] Thomas Dudziak resolved DDLUTILS-119. ------------------------------------- Resolution: Duplicate > Dropping unique index properly on SQL Server. > --------------------------------------------- > > Key: DDLUTILS-119 > URL: http://issues.apache.org/jira/browse/DDLUTILS-119 > Project: DdlUtils > Issue Type: Bug > Components: Core - SqlServer > Affects Versions: 1.0 > Reporter: Jun Li > Assigned To: Thomas Dudziak > > On SQL Server, some unique indexes are created automatically to enforce the UNIQUE constraint. > For this kind of unique index, we cannot use DROP INDEX command to remove them, should use ALTER TABLE table_name DROP CONSTRAINT index_name instead. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira