Can I make a SQL Server 2005 Table Column accept only letters and numbers ?

Posted by Space Cracker on Stack Overflow See other posts from Stack Overflow or by Space Cracker
Published on 2010-05-27T08:46:19Z Indexed on 2010/05/27 9:21 UTC
Read the original article Hit count: 128

Filed under:
|
|

When we have a column that will store a username that will only accept letters and numbers we always do validation on this input field using javascript or even server validation from code .. but i want to know if is there any way that can allow me make this validation on the Table column itself even some one try to enter data from any place it don't accept and throw exception ?

© Stack Overflow or respective owner

Related posts about regex

Related posts about sql-server-2005