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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (66,523)