The information in this article applies to:
SYMPTOMS
BUG #: 1 7224
A view created from this type of SELECT statement will display a NULL as
the precision and scale. Also, a table created from a SELECT INTO statement
will also have the precision and scale set to NULL.
The net effect of this is that applications like Microsoft Access will use the summed field as Text(255) because of the NULL scale and precision. As a result, Access will not allow numeric processing on the field. WORKAROUNDTo work around this problem, create a view that contains the subquery with the SUM, and use a join to bring the two queries together. The following script shows an example of the workaround:
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Additional query words:
Keywords : kbusage SSrvGen kbbug6.50 |
Last Reviewed: December 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |