Just starting out? Need help? Post your questions and find answers here.
Mistrel
Addict
Posts: 3415 Joined: Sat Jun 30, 2007 8:04 pm
Post
by Mistrel » Sat Nov 03, 2007 9:04 pm
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.
pdwyer
Addict
Posts: 2813 Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan
Post
by pdwyer » Sun Nov 04, 2007 3:16 am
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
Posts: 3415 Joined: Sat Jun 30, 2007 8:04 pm
Post
by Mistrel » Sun Nov 04, 2007 3:42 am
Thank you. I was really bothered by this one. It's strange that my book uses both in different examples.