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
yashag2255
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (69,510)