Hi There,

I've noticed that the default length (and corresponding input length)
for SQL Server integers goes as follows:
- tinyint = 1
- smallint = 2
- int = 4
- bigint = 8

But these maxlengths are very different from the possible values in
SQL Server.  For example smallint accepts -32,768 - 32,767, so length
should be 6, not 2.

lengths should be:
- tinyint = 3
- smallint = 6
- int = 11
- bigint = 20

This can be fixed in the views but it means that I have to set a
maxlength option for all integer inputs.

Has anyone else had this issue?  It seems to work correctly in MySQL
so how does that figure it out?

Cheers,

Ian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to