tabname是数据库表的名称,通过字符串连接,老是出错。
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
SQL syntax errorI guess there is one more dotsql = '''CREATE TABLE ''' + tabname+''''Note that the last one is four dots
SQL syntax error
I guess there is one more dot
sql = '''CREATE TABLE ''' + tabname+''''
Note that the last one is four dots