cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mnoury
Frequent Visitor

error SQL with Insert row from Excel File : " incorrect syntax near ')' "

Hi,
I have this kind of error with Sql Action, I would like to insert rows from Excel File to Access Database in Azure SQL.
I don't understand because the data are very simple in my Excel Tab :
DateAction CodeCegid qte
03/02/2017 12599 12
04/02/2017 12596 50
05/02/2017 19692 13
06/02/2017 17511 5
 
Access Table : Import
 
Capture d’écran 2017-02-11 à 18.21.34.png
 
Following the error message :
 
RAISON
  • Code
    BadRequest

ENTRÉES
  • Nom de la table
    Access.Import

SORTIES
  • En-têtes
    { "Pragma": "no-cache", "x-ms-request-id": "084c6d29-5f12-4487-9bfd-bff437dc6d8d", "Cache-Control": "no-cache", "Date": "Sat, 11 Feb 2017 11:02:39 GMT", "Server": "Microsoft-IIS/8.0,Microsoft-HTTPAPI/2.0", "X-AspNet-Version": "4.0.30319", "X-Powered-By": "ASP.NET", "Content-Length": "141", "Content-Type": "application/json; charset=utf-8", "Expires": "-1" }
  • Corps
    { "status": 400, "message": "Incorrect syntax near ')'.\r\n inner exception: Microsoft SQL: Incorrect syntax near ')'.", "source": "127.0.0.1" }
1 REPLY 1
mnoury
Frequent Visitor

 

I tested it with a Sharepoint List instead of one Excel File and I have the same error

 

"status": 400, "message": "Incorrect syntax near 'inserted'.\r\n inner exception: Microsoft SQL: Incorrect syntax near 'inserted'.", "source": "127.0.0.1"

 

Should I try to recreate the connection with Azure SQL (Access webapp database) ?

 

Any help with this would be greatly appreciated!

Thanks

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Kudoed Authors
Users online (4,368)