protected virtual void EmitDropIndexStatement(DropIndexStatement statement) { Indent(); AppendFormat("{0} {1} ", Keywords.Drop, Keywords.Index); if (!String.IsNullOrEmpty(statement.IndexSchema)) { EmitIdentifier(statement.IndexSchema); Append(Keywords.Qualifier); } EmitIdentifier(statement.IndexName); }
protected override void EmitDropIndexStatement(SQL.DropIndexStatement statement) { if (statement is DropIndexStatement) { Indent(); AppendFormat("{0} {1} ", SQL.Keywords.Drop, SQL.Keywords.Index); if (((DropIndexStatement)statement).TableSchema != String.Empty) { EmitIdentifier(((DropIndexStatement)statement).TableSchema); Append(SQL.Keywords.Qualifier); } EmitIdentifier(((DropIndexStatement)statement).TableName); Append(SQL.Keywords.Qualifier); EmitIdentifier(statement.IndexName); } else { base.EmitDropIndexStatement(statement); } }