Computer Science, asked by aaradhyashukla304, 19 days ago

write the steps to set a primary key ?




Attachments:

Answers

Answered by aakankshasingh834
1

Answer:

plz mark me as a Brainliest

Explanation:

Create a primary key to associate data between multiple tables.

  1. In the Navigation Pane, right click a table, and select Design View.
  2. In the Navigation Pane, right click a table, and select Design View.Select the field or fields you want to use as the primary key.
  3. In the Navigation Pane, right click a table, and select Design View.Select the field or fields you want to use as the primary key.Select Design > Primary Key.
Answered by parthsonawane2002
1

Answer:

The syntax to add such a constraint to an existing table is defined in SQL:2003 like this: ALTER TABLE <table identifier> ADD [ CONSTRAINT <constraint identifier> ] PRIMARY KEY ( <column name> [ {, <column name> }... ] ) The primary key can also be specified directly during table creation.

Explanation:

hope it helps you

Similar questions