cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
WillPage
Level 8

SQL Data Type equivalent to Numeric SP column

I'm building a Flow in which I want to insert a row into a SQL database when an item is created in a SharePoint list.

 

I copied the schema from the SP list with any column that's Numeric in source SharePoint as an int column in destination SQL table.

 

When I try and match the dynamic content in Flow, the numeric columns are not available when an int column is selected in the Insert a row action:

image.png

This table is currently empty so it's not a problem changing the column's data types, or dropping it and re-creating it.

 

I know if I manually enter the dynamic content from the expression builder is works, the SQL server doesn't complain about the data type going in, it's just the Flow UI has decided that an int column in SQL it's not the same data type as the source SP list's Numeric column.

 

I also tried bigint and I get the same result.

 

What data type should I use to achieve this partity so I don't have to manually build the expressions? There are a LOT of numeric columns here..

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: SQL Data Type equivalent to Numeric SP column

 

Hi @WillPage ,

 

A seemingly cumbersome, but convenient way to do this is to use the Compose action.

When solving most of these problems, I always recommend that users first use Compose to get the specified Dynamic content, and then use Compose's output to configure other fields.

Please take a try.

 

In addition, please try to change the corresponding field type in the SQL table to float.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Community Support Team
Community Support Team

Re: SQL Data Type equivalent to Numeric SP column

 

Hi @WillPage ,

 

A seemingly cumbersome, but convenient way to do this is to use the Compose action.

When solving most of these problems, I always recommend that users first use Compose to get the specified Dynamic content, and then use Compose's output to configure other fields.

Please take a try.

 

In addition, please try to change the corresponding field type in the SQL table to float.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
WillPage
Level 8

Re: SQL Data Type equivalent to Numeric SP column

@v-bacao-msft  Thanks Barry - float is the correct answer.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 303 members 4,537 guests
Recent signins:
Please welcome our newest community members: