matlab to SQL, AutoCommit

조회 수: 3 (최근 30일)
Hugh
Hugh 2012년 2월 6일
답변: Piyush Kumar 2024년 9월 30일
The database toolbox says, when connected, AutoCommit must be 'off', so to save data from Matlab to SQL database. I have the connection, but AutoCommit='on'. What should I do?
Thanks.

답변 (1개)

Piyush Kumar
Piyush Kumar 2024년 9월 30일
The status of AutoCommit database flag determines whether or not the insert action can be undone.
If the AutoCommit flag is set to on, the database commits the exported data automatically to the database, and this action cannot be undone.
Check the "Insert Total Sales for One Month into Database" section of this link.
Also, to run commit function, the AutoCommit flag for connection variable must be off.
Please go through this link for more details -

카테고리

Help CenterFile Exchange에서 Database Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by