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 II
Dual Super User II

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
News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (7,229)