0

Can we use a string as primary key in a table?

Instead of int can we use a string value as a primary key in a table..

9th Aug 2016, 9:43 AM
Christy Tom J
Christy Tom J - avatar
2 Antworten
0
string can be used as primary key if you needed. .
9th Aug 2016, 12:28 PM
Sainath
Sainath - avatar
- 1
alter table (nombre de la tabla) add primary key (nombre de la columna);
10th Aug 2016, 4:38 AM
JOSE RODRIGO VELOSA GIL
JOSE RODRIGO VELOSA GIL - avatar