SQLite Begin/End/Commit

Just starting out? Need help? Post your questions and find answers here.
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

SQLite Begin/End/Commit

Post by Mistrel »

What is the difference between ending an SQLite transaction with END rather than COMMIT?

I see both being used but my manual doesn't explain it.
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Post by pdwyer »

Its the same http://www.sqlite.org/lang_transaction.html

one is just an alias for the other
Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

Thank you. I was really bothered by this one. It's strange that my book uses both in different examples.
Post Reply