General SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesGeneral SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 23rd, 2004, 09:39 AM
anatak anatak is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 anatak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 57 sec
Reputation Power: 0
creation of primary key

hello
I just started using MySQLcontrol center (or MYSQLCC) and
I want to create a table using the gui
with
Primary Key articlenr
and 3 other atributes
how can I make my articlenr the primary key(PK)?
If i create the articlenr row and set PK to it by putting it in the Fields Used for Primary key I can not choose what kind of PK it has to be (I think I need the Unique)
---edit---
I did found an answer between difference of index and unique
now I still need to know what is a full text PK
--- end edit----
2nd question
what is the difference between
index type
index
unique
full text

thank you
anatak
ps: this is no homework (way too old to do homework)

Reply With Quote
  #2  
Old January 26th, 2004, 05:09 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 8 m 57 sec
Reputation Power: 9
Send a message via ICQ to stumpy Send a message via MSN to stumpy
index = a column in a table that the RDBMS "index"'s (catalogue's) to make searching faster... like when you do a "WHERE pkid = 5"... the pkid field would be indexed...

unique = self explanatory

full text = someone correct me if i'm way off, but this is were the RDBMS index's a text field, allowing you to query text fields quickly... like how google works.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesGeneral SQL Development > creation of primary key


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