Error when fastinsert a table into DB vs no error if inserting only one row

1 回表示 (過去 30 日間)
JFz
JFz 2018 年 5 月 29 日
Recently upgraded from 2016a to 2018a. Got an error in fastinsert. But if I insert only one row, there is no problem. Here is the command window: K>> fastinsert(obj.conn, tableName, colNames, test); Error using database.internal.utilities.DatabaseUtils.validateStruct (line 80) Input structure, dataset or table incorrectly formatted. See help for details
Error in database.jdbc.connection/fastinsert (line 153) data = database.internal.utilities.DatabaseUtils.validateStruct(data); K>> test = dataTbl(1,:); K>> fastinsert(obj.conn, tableName, colNames, test); How strange! Any one can help me figure it out?

回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

タグ

製品


リリース

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by