SQL Server 2005 doesn't like numbers less than 50
I've been creating a database for a client and it requires the creation of some fields which are of type varchar(10). Nothing weird there I'm sure you'll agree.
In creating these tables I'm using SQL Server Management Studio and I've found a little bug.
If you create a column, enter a name, press tab (so you're in the Data Type), paste "varchar(10)" into the column, move off and it changes to "varchar(50)", lord knows why.
Go in and manually change the value to "10" and it works fine.
Silly thing. :-)
Edit: Welcome from Dr Dobbs - I hope you're not a Thomas.