Board index » delphi » MSSQL 2000 / fun : Upper(), Size Mismatch for field!
Darshak Shah
![]() Delphi Developer |
Mon, 09 Jun 2003 05:39:35 GMT
MSSQL 2000 / fun : Upper(), Size Mismatch for field!
I have a delphi 4 application which works on MS SQL 7, Now i started using
MS SQL 2000 instead of SQL 7 My application works fine on SQL 7, if the same database i restore on SQL My query is Select (UPPER(P.LastName) + ", " + P.FirstName +" "+ P.MiddleInitial) as My actual database field length for Lastname,firstname is 20 each and I have NAME field set as a TStringField on the query, and it shows as size = If i remove function UPPER and run under SQL 2000, no problems, it runs with Is it delphi bde or ms sql 2000, who is adding this extra 20 to the size. Is Please Help !!! Darshak Shah |