|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
What is Unique ID (id) ??? and phpMyAdmin 2.2.2
I am playing with the "Create dynamic sites with PHP & MySQL by Md. Ashraful Anam" Tutorial and he asks to make a dB using a consol. I built my dB using phpMyAdmin 2.2.2.
Suddenly this Unique id (id) thing becomes inportant. Can anyone tell me, in regards to dB in general, what Unique id (id) is and how I can apply it to phpMyAdmin 2.2.2? Thanks! |
|
#2
|
|||
|
|||
|
RE: What is Unique ID (id) ??? and phpMyAdmin 2.2.2
I need more confidence. I figured my problem out. "id" is a field in the dB and it is set at the primary key and it is Unique.
I AM a n00b! |
|
#3
|
|||
|
|||
|
RE: What is Unique ID (id) ??? and phpMyAdmin 2.2.2
I've just started to learn sql, but as I understand it, the primary key (primary key('collum_name')) is always unique.
If you want a field that is not a primary key to be unique, you use the unique('collum_name') command. In this way, it's not possible to post 2 same values to the db |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > What is Unique ID (id) ??? and phpMyAdmin 2.2.2 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|