INSERT INTO Access database from pandas DataFrame
问题 Please could somebody tell me how should look like insert into the database but of the all data frame in python? I found this but don't know how to insert all data frame called test_data with two figures: ID, Employee_id. I also don't know how to insert the next value for ID (something like nextval) Thank you import pyodbc conn = pyodbc.connect(r'Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\Users\test_database.mdb;') cursor = conn.cursor() cursor.execute(''' INSERT INTO employee_table (ID,