且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

VBA到SQL Server - 并非所有记录都加载

更新时间:2023-02-05 13:19:28

听起来数据类型不匹配。  Excel允许列中的任何类型的数据,因此您可以将行中的文本和数字直接放在同一列的下方或上方。  SQL Server要求您设置数据类型,并且数据必须符合
符合该类型。 仔细观察这些事情,断开连接应该是显而易见的。

It sounds like the data types don't match up.  Excel allows any kind of data in a column, so you can have text in a row and numbers directly below, or above that, in the same column.  SQL Server requires you to set the data type, and the data MUST conform to that type.  Look closely at these things and it should be obvious where the disconnect is.