文档首页> 云数据迁移 CDM> 常见问题> 故障处理类> OBS导入数据到SQL Server时出现Unable to execute the SQL statement怎么处理?
更新时间:2022-05-05 GMT+08:00

OBS导入数据到SQL Server时出现Unable to execute the SQL statement怎么处理?

问题描述

使用CDM从OBS导入数据到SQL Server时,作业运行失败,错误提示为:Unable to execute the SQL statement. Cause : 将截断字符串或二进制数据。

原因分析

用户OBS中的数据超出了SQL Server数据库的字段长度限制。

解决方法

在SQL Server数据库中建表时,将数据库字段改大,长度不能小于源端OBS中的数据长度。

故障处理类 所有常见问题

more