Insert DB activity throw an error

Hi All,
While Read range to get the Datatable values and Insert DB activity to Insert into database table throw an unknown error.

Insert: ERROR [42000] [MySQL][ODBC 8.0(a) Driver][mysqld-8.0.33]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘DEFAULT VALUES’ at line 1


image

@kowsi According to your error I think so your query syntax is in correct.

Hi @kowsi ,

Could you check the below post which addresses the same issue :

I am sure this error caused by high vesion database activity package.
On my PC installed UiPath version 21.10.4 with database activity package 1.40 works perfectly with the insert activity.
However, my laptop installs the newest version UiPath and can’t install database activity package 1.40 but the lowest version is 1.50.
So, I recommand you to use old version UiPath which can install database activity package 1.40. And use firefox to address the issue of browser extension migration from MV2 to MV3.
At last, I truly hope UiPath team can address this insert activity issue in the near future.

1 Like