User Profile

Collapse

Profile Sidebar

Collapse
darthyoda6
darthyoda6
Last Activity: Dec 26 '06, 05:25 AM
Joined: Dec 17 '06
Location: Ontario, Canada
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • darthyoda6
    replied to help with taking 2 indexes from 1 field
    Sure, It's:

    CREATE TABLE `authors` (
    `AuthorId` int(11) NOT NULL auto_increment,
    `AuthorName` tinytext NOT NULL,
    `AuthorSort` tinytext NOT NULL,
    `AuthorWeb` tinytext,
    PRIMARY KEY (`AuthorId`)
    ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT= 173 ;
    See more | Go to post

    Leave a comment:


  • darthyoda6
    started a topic help with taking 2 indexes from 1 field

    help with taking 2 indexes from 1 field

    Hi, another newbie. I've been working on a book database, and I'm having problems with books that have multiple authors. My origional database didn't have an index, but I'm now finished making the indexes and converting the authors name in the book database to just the author index #'s. I know how to work when the book only has one author, but not when there's more then one author.

    IE.
    Database structure:
    Code:
    CREATE TABLE
    ...
    See more | Go to post
No activity results to display
Show More
Working...