Hello all
I have got a textfile that contains different datasets. With Matlab I read this textfile and I wanna save ALL the datasets in my MS SQL Database. So I was thinking of using Commit and Rollback to achieve this. I insert all the datasets into the database and if this is successful I use the commit command to do this permanently. If the program should crash during inserting the datasets I use the rollback function as soon as I have a connection to the database again. So I have another chance to write down the values in the dataset and I dont have to worry that I insert a dataset twice or that data is lost. Are my considerations right?
BTW: How can I turn off the auto commit of the MS SQL?
Thanks for your support