cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Delete Datas of SQL

Good morning,

 

How can i erase a data of SQL DataBase?

 

 

10 REPLIES 10
Dual Super User III
Dual Super User III

Hey! If you want to remove all the data from the table, please refer to the screenshot and use the formula : 

 

RemoveIf('[dbo].[employees]',true)

here 'employees' is my table name. MicrosoftTeams-image.png

 

Thanks, 

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

In reality i want to delete only the line selected in the database 

Hey!

Please refer to the screenshot below for the command to delete the selected item.MicrosoftTeams-image (4).png

 

Hope this helps!

Thanks,

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

I have this error.

 

 

Hi, I am unable to see the error in this one. Can you please share a screenshot clearly indiacting the error. 

 

Kindly ensure that the SQL table has a primary key defined. 

 

 

Thanks, 

Anonymous
Not applicable

Follow the error

Hi, 

 

I do not understand the language. It would be really helpful if you could post the error in English. 

 

However, I see a few errors in the expression. 

 

In the Remove command, you have used a semicolon between the function and the input parameter so please make that as a comma. 

 

After the remove part you have put two semicolons please remove one. I see that within the OnSelect command in the advanced editor, you have put semiclon in the IsEmpty function too. Please make necessary changes and ensure that the semi colons and commas are properly placed. 

 

Hope this helped. 

 

Thanks. 

Anonymous
Not applicable

The error says something like "The data source is read-only so it is not possible to write the remove function on it".

Okay. Can you please check the SQL data table and confirm that it has atleast one primary key. This error usually pops up when the data table does not have a primary key. 

 

 

Thanks. 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,316)