Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
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  
Old October 18th, 2002, 06:21 PM
c0rbin c0rbin is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Houston, TX, USA
Posts: 8 c0rbin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to c0rbin
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!


Reply With Quote
  #2  
Old October 18th, 2002, 06:32 PM
c0rbin c0rbin is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Houston, TX, USA
Posts: 8 c0rbin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to c0rbin
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!


Reply With Quote
  #3  
Old October 19th, 2002, 08:32 AM
Kohaar Kohaar is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Denmark
Posts: 147 Kohaar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 37 sec
Reputation Power: 2
Send a message via ICQ to Kohaar
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

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > What is Unique ID (id) ??? and phpMyAdmin 2.2.2


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway