我正在尝试使用VBA从Excel更新SQL表。1 + jOffset).Value strWhere = "[Material Number] = " & strMaterialNo SQLQuery = "updateIf Not cmd_ADO Is Nothing Then End If
当我试图更新材料名称时,我得到了一个错误的算术溢<e
当我将这些值放入SQL Server时,我的列的数据类型更改为"decimal(7,0)".This只是使DB2数据类型类似于SQL Server。现在,我想看看在这个特定的日期列中是否有任何"space“或"numeric”。DATE4040404404040 (a space)在类似这样的where条件下,会出现错误:“
我无法连接具有不同数据类型的两列。main_ref_id是char,person_id是numeric select from where and convert(numeric(9, 0), main_ref_id) in (select cast(person_id as numeric)from person_wo_memberships)
Msg 811