Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Too many columns defined in the rowset

Status
Not open for further replies.

gc

MIS
Mar 8, 2001
68
0
0
US
After import a text file with 475 fields into SQL server 7.0, I got error message &quot; Too many columns defined in the rowset&quot;, when I try to open the table. There is a Help button on this message. It said that ODBC Error: <Os>. An ODBC error has been generated. You might have deleted a record that has a foreign key value related to it, or you might have violated a check constraint.
I don't know why this happened. I didn't set any foreign key or check constraint.
Please help !
Thanks in advance!
George
 
GC,
SQL Server 7 allows 1024 fields per table but when you have more than 255 fields and try to visualize all records selecting all fields you get that error message. Use a &quot;SELECT * ...&quot; query in Query Analyzer instead.
Good luck.

Check the link below for more information.

 
Dear TheBugSlayer,
Thank you very much!
George
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top