Learning PHP and MySQL

Wednesday, September 27, 2006

Example 16-6 SQL to create the categories table

CREATE  TABLE  `categories`  (
    `
category_id`  int(11)  NOT  NULL  auto_increment,
    `
category`  varchar(150)  NOT  NULLPRIMARY  KEY    (`category_id`)
);

Example 16-6 returns:

Query OK,  0 rows affected  (0.01  sec)

Posted by krautgrrl on 09/27 at 11:36 AM
Chapter 16 Code • (5) Comments • (5) TrackbacksPermalink

Statistics

This page has been viewed 279808 times
Page rendered in 0.1496 seconds
Total Entries: 224
Total Comments: 16
Total Trackbacks: 307338
Most Recent Entry: 09/27/2006 12:39 pm
Most Recent Comment on: 10/26/2007 10:00 am
Total Members: 2
Total Logged in members: 0
Total guests: 9
Total anonymous users: 0
Most Recent Visitor on: 09/09/2010 03:17 pm
The most visitors ever was 1103 on 11/20/2007 12:50 pm

Referrers

Powered by ExpressionEngine