... 10.4 Determining the Length of Columns in a SQL Server Table Problem The FillSchema( ) method of the DataAdapter returns the correct length in the MaxLength property for string columns in a SQL ... is in bytes, meaning that Unicode data types (nchar, nvarchar, and ntext) report double the value of the MaxLength property of the column object. In the example, the ShipCountry column of the ... is the name of a table object, the result set returns data including the length, precision, and scale of each column in columns named Length, Prec, and Scale. The column length returned by the...