Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How to bring columns, and which datatype should i pick?

(0) ShareShare
ReportReport
Posted on by 9

Hi , i have few flows running,  which moves data from sharepoint lists to sql, i have imported all the data into sql using those flows, unfortunately i missed out few columns that need to be in sql from sharepoint,  how can i update my sql rows with the new column 
i have a primary key in sharepoint and sql - (sqlid ) , can i map this and create a flow to bring the new column data? if yes which flow should i use.

second part , on my sharepoint list i have a column called activity startdate which is datetime, but unfortunately when i tried samedatatype on sql , it is returining me an error , do you know which datatype do i need to use to extractdatetime from sharepoint to sql

  • GMkk1 Profile Picture
    9 on at
    Re: How to bring columns, and which datatype should i pick?

    I'm so sorry, thats my fault, i checked my primary keys that's the issue.

  • GMkk1 Profile Picture
    9 on at
    Re: How to bring columns, and which datatype should i pick?

    Hi, Thanks for your response, when i tried to update the rows it is throwing me an error 

    GMkk1_0-1712137575036.png

    not sure if my flow is right or wrong, could you please help me to get this 

    GMkk1_1-1712137763800.png

    id is my primary key, where id in sharepoint = id in sql 

    Time is working for me , i appreciate that 

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,376 Most Valuable Professional on at
    Re: How to bring columns, and which datatype should i pick?

    @GMkk1 ,Try the Update row (V2) action providing Primary key.

    Follow this

    Using SQL server update rows action with uniqueidentifier as a primary key - Microsoft Q&A

     

    Try converting SP date to UTC

    convertToUtc(items('Apply_to_each')?['Created'], 'GMT Standard Time')

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492