MySQL Forums
Forum List  »  Newbie

how to create column(table) type with exact number of characters?
Posted by: wierus
Date: July 23, 2005 07:24AM

Hi, i need to have column (for passwords) which will have exact number of characters, for example 10 characters, and i didn't know how to do it using sql (Mysql). I know that it is possible with Php, but i want to do this in the sql. Is it possible? ( and i don't want to use char(number) because i don't want to accept shorter passwords (or other data) .

Options: ReplyQuote


Subject
Written By
Posted
how to create column(table) type with exact number of characters?
July 23, 2005 07:24AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.