Go Back   CodingForums.com > :: Server side development > MySQL

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Old 02-14-2005, 07:03 AM   PM User | #1
BigToque
New Coder

 
Join Date: Jan 2005
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
BigToque is an unknown quantity at this point
"You should define a primary key for this table" - I've already got one!

I've got a table that contains profile information of hockey players from my team.

when I use my select statement:

Code:
SELECT players.f_Name, players.l_Name, players.number, players.hand, players.height, players.weight, players.AKA,players.DOB, players.location, players.position, players.spare, players.imgURL
FROM players
It selects my data, but I get a question mark saying "You should define a primary key for this table". I've already got a primary key set.

What's going on?
BigToque is offline   Reply With Quote
Old 02-14-2005, 10:01 AM   PM User | #2
Kiwi
Regular Coder

 
Join Date: Oct 2002
Posts: 379
Thanks: 0
Thanked 0 Times in 0 Posts
Kiwi is an unknown quantity at this point
What was your CREATE statement for the table?
__________________
Strategy Conscious
Kiwi is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:01 PM.

Home - Contact Us - Archives - Link to CF - Resources - Top 

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.