MySQL Forums
Forum List  »  Newbie

CREATE TABLE syntax
Posted by: Noel Kennedy
Date: July 18, 2005 07:03AM

I have been given the following MySQL script to convert into SQL Server 2000 T-SQL

CREATE TABLE SNOMEDConcept
(ConceptId BIGINT UNSIGNED NOT NULL,
ConceptStatus TINYINT NOT NULL,
FullySpecifiedName TEXT,
CTV3ID TINYTEXT,
SNOMEDID TINYTEXT NOT NULL,
PRIMARY KEY (ConceptId),
KEY (SNOMEDID)
);

I am assuming that PRIMARY KEY (ConceptId) makes ConceptId the PK for the table. What is meant by the KEY (SNOMEDID) designation?

Thanks,

Noel Kennedy

Options: ReplyQuote


Subject
Written By
Posted
CREATE TABLE syntax
July 18, 2005 07:03AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.