cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnjohn123
Super User
Super User

If we want to use "When an item is modified (V2)" to send an email, should the related table includes a timestamp coulmn

We have an SQL table and we want to use the "When an item is modified (V2) SQL" to send am email when an item is updated. now i am a bit confused if we should create a timestamp field inside the table or not? in other words currently our table has these fields:-

 

ID --> PK

Name

Type

Quantity

 

so will the "When an item is modified (V2) SQL" connector be able to send an email when a row is modified? or to do so we need to add a field of type timestamp? if the answer is yes >> then should we use a specific name for this column?

5 REPLIES 5
eric-cheng
Solution Sage
Solution Sage

Hi @johnjohn123 ,

 

As you already mentioned, you will need:

 

 

ericcheng_1-1629932849111.png

 

Rowversion is a data type so I dont think the name matters.  Please read here for more info.

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

@eric-cheng  so Rowversion  is the same as timestamp?

eric-cheng
Solution Sage
Solution Sage

Hi @johnjohn123 ,

 

This should clear it up for you.

 

ericcheng_0-1629933648299.png

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

@eric-cheng  but inside our SQL server database 2017 we do not have a datatype for RowVersion.. we only have timestamp..

eric-cheng
Solution Sage
Solution Sage

Hi @johnjohn123 ,

 

Please refer to this for SQL 2017 depending on how you are creating your column.

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,181)