cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Community Support Team
Community Support Team

Re: Delete Datas of SQL

Hi @Anonymous ,

Have you defined a proper PRIMARY KEY within your SQL Table?

Further, have you made your SQL Table as Read-Only within your SQL Database?

 

I do not find any syntax error with the formula you typed in your app. Based on the error message "The data source is read only, ..." that you provided, it seems to tell that you have set your SQL Table as Read-Only within your SQL Database.

Please check if you have set your SQL Table as Read-Only within your SQL Database. If true, please consider remove this limit from your SQL Database.

Please check and see if the following blog would help in your scenario:

https://www.techcartnow.com/change-database-from-read-only-to-read-write-mode-in-sql-server/

https://stackoverflow.com/questions/2529839/how-to-make-a-table-read-only-in-sql-server

 

Also please check if you have defined a proper PRIMARY KEY within your SQL Table. If you want to remove records from a SQL Table within your app using Remove() function, the PRIMARY KEY is required in your SQL Table.

Please check the following SQL Server connector limits for more details:

https://docs.microsoft.com/en-us/connectors/sql/#known-issues-and-limitations

 

If the issue still exists, please consider re-create a new SQL Table along with a proper PRIMARY KEY in your SQL database, then re-create a new connection to this new Table from your app, try your Remove function again, check if the issue is solved.

Note: Do not make your SQL Database as Read-Only.

 

Best regards,

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,176)