Query Syntax error

后端 未结 4 1789
渐次进展
渐次进展 2021-01-27 23:14

Please help me correct the following query:

SQL = \"insert into tblContract (Empid, Start1, Finish1, Store1, \" & _
                    \"Start2, Finish2, St         


        
4条回答
  •  萌比男神i
    2021-01-27 23:48

    Sub-queries should be enclosed in parentheses: (select max(testid) FROM tbltesting)

    Note that your SQL engine will probably not support sub-queries in the INSERT statement, so you should insert using a INSERT...SELECT query instead.

提交回复
热议问题