cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Meneghino
Level 10

Bug report: Temporal tables in SQL Server, not possible to create new records

I cannot seem to create new records in a temporal table in SQL Server 2016, since the start_date and end_date fields are seen as required, whereas they are system generated and cannot be included in a Patch statement.

 

It is possible to update records, however.

 

Has anyone found a work-around?

10 REPLIES 10
Community Support Team
Community Support Team

Re: Bug report: Temporal tables in SQL Server, not possible to create new records

Hi Meneghino,

 

Per my certain knowledge, Local temporary tables are visible only in the current session.


Are you using Local temporary table or global temporary table?


When you configuring Patch function, what error message do you get?

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Super User
Super User

Re: Bug report: Temporal tables in SQL Server, not possible to create new records

Hi Mabel,

 

I think you might be confusing temporary tables with temporal tables.

 

Temporal tables are a feature in SQL 2016 that helps to maintain a history of data changes. 

 

Tim

Meneghino
Level 10

Re: Bug report: Temporal tables in SQL Server, not possible to create new records

Hi @v-yamao-msft

@timl is correct, I am talking about temporal tables, which are a feature of SQL server 2016 and Azure SQL DB.

Please let me know.

Sidhartha75
Level 8

Re: Bug report: Temporal tables in SQL Server, not possible to create new records

@Meneghino, I am facing same issue. Have this issue been resolved??

Community Support Team
Community Support Team

Re: Bug report: Temporal tables in SQL Server, not possible to create new records

Hi @Meneghino,@timl,

 

Thanks for correcting me.


I will take some further investigation on this issue and back once I got any updates.


Thanks for your understanding and patience.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Meneghino
Level 10

Re: Bug report: Temporal tables in SQL Server, not possible to create new records

Hi @v-yamao-msft, is there any update on this?
Thanks.

Community Support Team
Community Support Team

Re: Bug report: Temporal tables in SQL Server, not possible to create new records

Hi Meneghino,

 

I have reported this issue on my side, but I haven’t got any updates on my side.

 

I will keep an eye on this issue and back to you once I got a response.

 

Best regards,
Mabel Mao

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

Re: Bug report: Temporal tables in SQL Server, not possible to create new records

Hi Meneghino,

 

I have some updates for you.

 

Temporal table insertion is not supported currently. This is a new feature and PGs have already marked it in the backlog.

 

It would be great if you could create a new request on PowerApps ideas Forum, other customers who have the same request will vote your idea at here. Hope it can be released in the future releases.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Meneghino
Level 10

Re: Bug report: Temporal tables in SQL Server, not possible to create new records

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,960)