* Pushkar Pradhan 
> I'm trying to enforce one column of my table to contain strictly 6 chars.
> string. However I've some columns of type VARCHAR (e.g name, etc.) so
> mysql silently changes the column to VARCHAR.

Right.

> Is there any way I can force the column to contain only 6 chars.

Yes, you can define it as VARCHAR(6)...?

-- 
Roger
sql

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to