代码大致如下
sql = ''' select * from test_table where year=%d and month=%d''' %(2019,03)
结果报invalid token
原因如下:
解决:
原文地址:https://stackoverflow.com/questions/36386346/syntaxerror-invalid-token
代码大致如下
sql = ''' select * from test_table where year=%d and month=%d''' %(2019,03)
结果报invalid token
原因如下:
解决:
原文地址:https://stackoverflow.com/questions/36386346/syntaxerror-invalid-token