+ 1
Any body explain primary key function
10 Réponses
+ 4
Primary key is used to maintain uniqueness of the data item.....
+ 4
it is a Combination of unique and not null constraints ,a table has only one primary key which will create the auto index for the primary key selection
+ 1
Primary key is used to assure the uniqueness of a record
0
Hello there,Primary key is basically a field which cannot be same and its unique.
For example a students table will have id,name,roll_no fields and so the id field can be primary key .It can be used to perform operations using php for e.g "DELETE FROM 'students' WHERE id=" . $_GET['id'] ;
0
a must have in a database, without a primary key, it will be a real mess to retrieve information from your database.
0
primary key simply means unique
0
it's a constraint in which a table must have it
it doesn't allows nulls and it is unique
with this key we can easily retrieve the data from table
0
It is unique key to access the data
0
i think your wrong
- 1
primary key =unique + null