This documentation is archived and is not being maintained.

Deleting Primary Keys and Unique Keys

Visual Studio .NET 2003

If your applications data requirements change, or if a key was inadvertently defined, you can delete primary and unique keys.

To delete an existing key

  1. Select the row with the key definition you want to delete.
  2. Right-click the row in the design grid with the key you want to delete.
  3. Select Delete Key from the shortcut menu.
    Note   If a row is part of multiple key definitions, the Choose Key dialog box will appear, allowing you to select and delete individual key definitions.

See Also

Relational Data in XML Schemas | Tables, Columns, Keys, and Constraints in XML Schemas | Creating Primary and Unique Keys in XML Schemas | Creating One-to-Many Relationships in XML Schemas and Datasets | XML Schemas and Data | XML Schemas and the XML Designer | Creating XML Schemas and Datasets | XML Files