cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Frequent Visitor

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

 

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
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (4,299)