MySQL Forums
Forum List  »  General

Re: Able to run statement in CLI and return a correct value but when run in a script it returns None
Posted by: Nick Davies
Date: November 02, 2021 03:05AM

I've figured it out.

It was because the value was being returned as a tuple. Once I selected the first value in the tuple I could continue on with the script.

Thank you for your assistance

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.