Borrar filtros
Borrar filtros

matlab to SQL, AutoCommit

4 visualizaciones (últimos 30 días)
Hugh
Hugh el 6 de Feb. de 2012
Respondida: Piyush Kumar el 30 de Sept. de 2024 a las 6:18
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.

Respuestas (1)

Piyush Kumar
Piyush Kumar el 30 de Sept. de 2024 a las 6:18
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 -

Community Treasure Hunt

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

Start Hunting!

Translated by