Showing results for 
Search instead for 
Did you mean: 
Not applicable

Delete Datas of SQL

Good morning,


How can i erase a data of SQL DataBase?



Community Support
Community Support

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:


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:


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

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,087)