Questions tagged as 'delete'

2
answers

How to erase data from the database?

I have this code to delete the data of the database in which the name is equal to the one chosen in the combobox, whose code And the second. But for some reason I can not figure out which one is not working. Can you help me? .... try { $conn =...
asked by 02.07.2017 / 22:08
1
answer

How to delete all JPG files inside a folder using PHP

I have a script that imports photos and creates mini and half thumbnails inside the registration folder and I would like that after it has been rolled, it deletes the original photos. The structure of the folder looks like this: pasta_fotos...
asked by 01.08.2018 / 13:57
1
answer

How to delete directories containing sub directories and files on an FTP server in Delphi?

I've been trying to get my Delphi 2010 application to remove a directory on an FTP server, I've used TIdFTP for this task with the "RemoveDir" command, but the process fails, because according to the application the directory does not is empty....
asked by 02.02.2018 / 15:28
1
answer

Delete an element from my ListView

I need to delete an element from my ListView and I'm having trouble with my code Host = new String[] { "Host1 ", "Host2", "Host3"}; Descricao = new String[] { "Estado do Host", "Estado do Host", "Host" }; Status = new String[]{"DOWN",...
asked by 30.07.2014 / 18:47
1
answer

Trigger Mysql from one base to another

I'm trying to create a trigger in Mysql where I need to update a table (I'll call tb1) depending on the situation field, delete a record in another database from a table.    Base 1 = B1   Table 1 = Tb1   Base 2 = B2   Table 2 = Tb2 - trig...
asked by 04.01.2019 / 13:53
0
answers

Delete line according to the difference of dates in MySQL

I'm trying to delete rows from a table using the difference between the current date and the date the row was registered as a reference. Here's my code: DELETE FROM lixeira WHERE diferenca > 60 IN ( SELECT DATEDIFF('2018-11-20',data_exc...
asked by 20.11.2018 / 20:59
0
answers

About the app.delete () command

I'm reading a book called "Mean_ Full stack JavaScript for web applications with MongoDB, Express, Angular and Node." No "cap 5.7 - page 120" shows this: // identificador iguais, muda apenas o verbo< app.get('/contatos/:id', controlle...
asked by 15.11.2018 / 18:29
1
answer

Deleting using subquery and join

Dear, I'm starting in SQL and I'm having a hard time making a deletion using subquery and join. I created a temporary table EVENT_ITEM_PLACE_DYN_FIELD_BKP with 7000 rows, I need to delete a records from the EVENT_ITEM_PLACE_DYN_FIEL...
asked by 16.07.2018 / 21:36
0
answers

How to delete bank record by parameter id by http rest?

I'm trying to delete by passing this id parameter, it's giving not found.Obs: All other methods like get post and update are working, I'm sure the error is in uri, ie I'm not passing the parameter correctly. link I've tried this other way but...
asked by 26.05.2018 / 08:39
1
answer

c # - TableAdapter - Delete

Good afternoon, I'm new to this area. I have to create the Include, Change, and Delete buttons for a sales system. I'm using the tableAdapter and I've been able to do the Include button as follows: private void btnInserir_Click(object send...
asked by 21.04.2018 / 21:01