web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Datatable to sql

(0) ShareShare
ReportReport
Posted on by 29

hello,
Im ready data from excel as DB, my data table has over 100 column, 
added new connection to sql server to insert few column form the data table 

Insert into [PayOpsRPA].[InternalAccountNumber] Value select (%QueryResult%['Internal Account Number'])
I always get an error when i try to get this column from the queryreslut.
How i can do this?
Any insert examples?
BR/Hazem

I have the same question (0)
  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at

    The SQL syntax is different

     

    Insert into [PayOpsRPA] ([InternalAccountNumber]) select (%QueryResult%['Internal Account Number'])
  • HazemSaleh Profile Picture
    29 on at

    Thanks i managed it 🙂 row by row  

  • kianafdac Profile Picture
    2 on at

    I used that syntax, but I'm getting an error: Incorrect syntax near ','. which is interesting because there is no comma in the statement. Any ideas on how to fix this error?

    Screenshot 2023-01-26 172623.png
  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at

    Check the input for that step in the execution log. Likely you are providing multiple values to the INSERT statement, but that requires a different format.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard