Execute multiple queries

134 views
Skip to first unread message

Lionel Boyomo Keedi

unread,
Jul 15, 2019, 12:56:25 PM7/15/19
to PyMySQL Users
Hello everyone, 

I was wondering how could I do multiple queries with my cursor :
Here is my usecase : I need to set a user defined variable, I doing it with SET keyword and then do a Select query which updating my user defined variable
But pymysql is not letting my doing that as I run2 queries.
How could I run those 2 queries using pymysql ?
Reply all
Reply to author
Forward
0 new messages