I need to append data to excel file already exist from table students on SQL Server .
Excel file already Created on D:\ExportExcel\dbo.students.xlsx with student IDs 1 and 2.
Table Insert Commands:
INSERT [dbo].[students] ([StudentId], [Name]) VALUES (3, N'Sayed')
INSERT [dbo].[students]...
I work on sql server 2017 I run script depend on python language v 3.10 .
I need to export data to excel fileStudentExport.xlsx already exist, and keep header without change after export.
header of excel file StudentExport.xlsx before export data to it as below
StudentId,StudentName
after...