Article ID: 248442 - View products that this article applies to.
This article was previously published under Q248442
BUG #: 56173 (SQLBUG_70)
A query may return error 515, which is the following:
This can occur if all of the following conditions are true:
Cannot insert the value NULL into column '', table ''; column does not allow nulls. INSERT fails.
To work around this problem, eliminate one of the preceding conditions that are known to cause it. For example, create an index on the column, or eliminate the NULL value(s).
Usually, the best work around is to index the column used in the ORDER BY clause. In addition to resolving this problem, in most cases, a query gains performance from indexing the columns used with the ORDER BY clause.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
254561For more information, contact your primary support provider.
(http://support.microsoft.com/kb/254561/ )INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
Contact us for more help
Connect with Answer Desk for expert help.