Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
jar21
51 Posts |
Posted - 2010-09-22 : 15:41:20
|
multiple other lines with equivalent info are working?after some reading it appears that I was trying to put more information into tables I didnt create? however each line out of the entire query has the same info (I created in excel/notepad)Msg 213, Level 16, State 1, Line 19Insert Error: Column name or number of supplied values does not match table definition.Msg 213, Level 16, State 1, Line 29Insert Error: Column name or number of supplied values does not match table definition.Msg 213, Level 16, State 1, Line 30Insert Error: Column name or number of supplied values does not match table definition.Msg 213, Level 16, State 1, Line 68Insert Error: Column name or number of supplied values does not match table definition.Msg 213, Level 16, State 1, Line 139Insert Error: Column name or number of supplied values does not match table definition.Msg 213, Level 16, State 1, Line 166Insert Error: Column name or number of supplied values does not match table definition.Msg 213, Level 16, State 1, Line 175Insert Error: Column name or number of supplied values does not match table definition.Msg 213, Level 16, State 1, Line 285Insert Error: Column name or number of supplied values does not match table definition.Msg 213, Level 16, State 1, Line 314Insert Error: Column name or number of supplied values does not match table definition.temporarily I tried deleting those couple of lines and then the errors would come up near where the old one was. any immediate thoughts? im fairly sure the code is accurateI did a quick search and found [url]http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=112998[/url] however unlike that person I dont understand, and I think our issues were different despite similar errors |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2010-09-23 : 05:52:54
|
It means that the number of values you are passing is not equal to the number of columns available. As said, post the actual code you usedMadhivananFailing to plan is Planning to fail |
|
|
jar21
51 Posts |
Posted - 2010-09-23 : 11:07:42
|
The issue was related to my other recent post.I tried to take out single quotes because they were affecting the import query however the query interpreted the double quote as a blank field so it came up incorrect. I removed the quotes from addresses and it worked.Thanks |
|
|
|
|
|
|
|