Results 1 to 3 of 3

Thread: mysql problem

  1. #1
    Join Date
    Aug 2007
    Posts
    721
    Tokens
    0

    Default mysql problem

    search_id, INTEGER, NOT NULL, AUTO_INCREMENT, UNSIGNED
    word, VARCHAR(50), NOT NULL
    occurrence, INTEGER, NOT NULL, UNSIGNED
    url, VARCHAR(200), NOT NULL
    link, VARCHAR(200), NOT NULL


    Why doesnt this work?

  2. #2
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default

    what are you trying to do with them, add them ?

  3. #3

    Default

    Code:
    CREATE TABLE `table_name` (
    `search_id` INT NOT NULL AUTO_INCREMENT,
    `word` VARCHAR(50) NOT NULL,
    `occurrence` INT NOT NULL,
    `url` VARCHAR(200) NOT NULL,
    `link` VARCHAR(200) NOT NULL,
    PRIMARY KEY(`search_id`)
    );
    That should work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •