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

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,698)