Table 'Table1' already exists..

9 ビュー (過去 30 日間)
cief
cief 2020 年 5 月 27 日
コメント済み: Robert Caudill 2023 年 10 月 24 日
Hello,
So I a trying to insert data ( a row) into Table1 using the command:
sqlwrite(conn, tablename, data)
everytime I run this command I get the following error
Error using database.odbc.connection/sqlwrite (line 133)
ODBC Error: ODBC Driver Error: ODBC Driver Error: [Microsoft][ODBC Microsoft Access Driver] Table 'Table1' already exists..
I tried to change the tablename( created a new one) and it worked.
I saw some old posts on here but those didn't help me.
Thanks for the help.
  1 件のコメント
Robert Caudill
Robert Caudill 2023 年 10 月 24 日
I get the same error when using 2019b. Is there a solution for appending records to an existing MS Access database table?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDatabase Toolbox についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by