The information in this article applies to:
SYMPTOMSIf a table is created using SELECT INTO, and no column name is given, sp_help <tablename> returns error 515: Retrievals and updates of the data work fine on the table. Select * on the table shows that some of the columns have NULL column names. CAUSE
The SELECT INTO statement puts a NULL for the column name when aggregate
function is used and no column name is given. A table should not have
NULL column names.
creates table t with two columns: NULL, and title_id. Sp_help t gives error 515. WORKAROUND
Make sure the columns names are supplied when using SELECT INTO.
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 4.2. Additional query words: syscolumns sp_help function
Keywords : kbprg kbbug4.20a SSrvServer SSrvWinNT |
Last Reviewed: November 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |