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

Re: Delete Datas of SQL

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

Re: Delete Datas of SQL

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

Dual Super User
Dual Super User

Re: Delete Datas of SQL

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

Re: Delete Datas of SQL

I have this error.

 

 

Dual Super User
Dual Super User

Re: Delete Datas of SQL

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

Re: Delete Datas of SQL

Follow the error

Dual Super User
Dual Super User

Re: Delete Datas of SQL

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

Re: Delete Datas of SQL

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

Highlighted
Dual Super User
Dual Super User

Re: Delete Datas of SQL

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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Kudoed Authors
Users Online
Currently online: 313 members 5,706 guests
Please welcome our newest community members: