Jump to content

Archived

This topic is now archived and is closed to further replies.

Random

The Parts of a Create Table Statement.

Recommended Posts

can someone explain each part of the table...example:

 

sql = CREATE TABLE test int not null AUTO_INCREMENT,

dead VARCHAR(20),

live CHAR(1);

 

or whatever, like what does the int, not null, AUTO_INCREMENT, and VARCHAR/CHAR, and the numbers in the parathesis mean? Thanks

Share this post


Link to post
Share on other sites

I know varchar is the maximum amount of characters it can have in it, and char might be the minimum, I\'m not sure about that one.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.