PDA

View Full Version : mysql problem



God..
05-09-2007, 07:25 PM
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?

Eccentric
09-09-2007, 06:55 PM
what are you trying to do with them, add them ?

Jme
12-09-2007, 10:33 PM
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.

Want to hide these adverts? Register an account for free!