At 10:36 -0300 2/1/02, [EMAIL PROTECTED] wrote: >Hi, > > I Have a problem with transaction controls... runing the query >"begin; select * from table; commit;", this query run perfectly in the >shell, but in my code return error of sintax.
If you're using some kind of MySQL API within a program that you're writing you can't issue multiple statements within the same row. Issue three separate statements (and don't include the semicolons). > > Somebody help me? --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php