Most voted "delete" questions
Generic tag referring to the action of removing the element from its current location (removing database data, removing list elements, etc).
Learn more…75 questions
Sort by count of
-
0
votes2
answers157
viewsHow to delete data from database?
I have this code to erase the data from the database where the name is the same as the one chosen on the combobox, whose code and the second. But for some reason I can’t figure out which one isn’t…
-
0
votes1
answer31
viewsHow to delete rows in three tables with specific condition (SQL)
Hello. I need to delete the contents of a select that collects rows of three tables, which has columns with common values but which are based on parameters of a single table to exclude. select *…
-
0
votes0
answers15
viewsTrigger Count Insert and delete
I have a problem in a Rigger that I have here, I want this Rigger after counting and inserting in table x, it deletes the value he searched in table y, can make him count and insert but I’m not able…
-
0
votes1
answer43
viewsBreakpoint in Looktree paid function (Binary trees)
Boas, I have an error in the Lookuppaid function, when I try to delete a value from the binary tree nothing happens and if I try to delete the root of the tree I get the following breakpoint:…
-
0
votes0
answers547
viewsError in webservice: javax.servlet.Servletexception: java.lang.Nullpointerexception
I am trying to execute a query in my Webservice, but the function that query is inside of, break from nothing. My code: public boolean excluir(String usuario) { String sql = "DELETE * FROM…
-
0
votes1
answer47
viewsc# - Tableadapter - Delete
Good afternoon, I’m new in this area. I have to create the Include, Change and Delete buttons of a sales system. I’m using the tableAdapter and already managed to make the Include button gives this…
-
0
votes1
answer167
viewsDeleting using subquery and Join
Guys, I’m getting started on 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…
-
0
votes1
answer324
viewsMysql trigger from one base to another
I am trying to create a Trigger in Mysql where I need in updating a table (I will call tb1) depending on the situation field, delete a record in another database from a table. Base 1 = B1 Table 1 =…
-
0
votes2
answers160
viewsHow to delete duplicate lines in Postgres database?
In my bank I have a table that has a list of (carrier and waste specifications) where the carriers can have several waste, I checked that the data are duplicated and are represented in this way:…
-
0
votes2
answers122
viewsDelete data from 3 different tables (Codeigniter)
I am trying to delete photos from a view, however, I need to delete beyond the photo table the data from two more tables that are linked to this photo. The code with the delete function is as…
-
0
votes1
answer28
viewsSystem news PHP - News without error picture and do not delete
Hello! With the help of some friends here, I set up a news system. But I came across a problem. When I need to delete the news I use the following code: <?php…
-
0
votes1
answer47
viewsDelete from duplicate records
I have a basis where the records exist in the duplicate identifier number, in some scenarios the date of the newer record differs from the old one, but the number and the same (I have to delete the…
-
0
votes1
answer267
viewsI am unable to delete in Firebase database with Flutter
I can’t seem to delete a data in Firebase personal. I created a CRUD I’m already connected with Firebase, the project is configured, and I was able to add some data. But I can’t delete it. It’s not…
-
0
votes0
answers12
viewsUse of Delete and get in crontab
Closed. This question is out of scope and is not currently accepting answers. Despite being about programming, this question does not seem to meet the minimum criteria of quality and detail for a…
-
0
votes1
answer94
viewsC - How to remove a word from a String
So, I have to remove a word from a String, already add with this code: printf("Digite o nome: \n"); scanf("%s", &temporaryVector); getchar(); lettersName = strlen(temporaryVector);…
-
0
votes0
answers16
viewsMYSQL ERROR #1442 - Delete with a data-based Function of a select
I was trying to remove repeated values from a table, I needed a group by and a limit, I could only think using an extra Function: DROP FUNCTION IF EXISTS func; DELIMITER // CREATE FUNCTION…
-
-1
votes1
answer557
viewsDelete on an UPDATE Trigger
How can I delete a record that is being entered in a specific condition in a Rigger? example: USE `scompraslenovo`; DELIMITER $$ CREATE TRIGGER `precad_fornecedor_BUPD` BEFORE UPDATE ON…
-
-1
votes1
answer641
viewsHow to delete directories containing subdirectories and files on an FTP server in Delphi?
I am for some time trying to make my application made in Delphi 2010 remove a directory on an FTP server, I used Tidftp for such a task with the command "Remove", but the process fails, because…
-
-1
votes1
answer105
viewsDELETE IN SQL WITH WHERE STATEMENT NO ID REQUIRED
I have ZIP table with a new OP field with DEL information to delete. When I perform the instruction: DELETE FROM cepdb.log_bairro where BAI_OPERACAO = 'del'; Returns: 2 Cannot delete or update a…
-
-1
votes2
answers36
viewsDelete only if there is - in the word
I would like to delete some useless records from my database They are, for example: -2046820062 -2046820165 -2046820183 In short, all records that start with the symbol - (less) of my data2 column…
-
-1
votes0
answers11
viewsRegex: How to remove line breaks after commas
Editing documents in ". txt" with texts in Notepad++, I notice that there are several snippets where there is a line break after a middle sentence comma. Ex: "John was moving to work,"line breaking"…
-
-1
votes2
answers110
viewsDelete multiple Rows using php and mysql checkbox
I want to delete the Rows that I select with my checkbox and delete also in the database so that is giving pq in this part of the code : <?php include "conexao.php"; if (isset($_POST['sel'])) {…
-
-2
votes2
answers395
viewsMysql problems with DELETE
I’m having problems in mysql when recognizing delete function $code = '1234'; $conn = new PDO('mysql:host=localhost;dbname=data', 'root'); $stmt = $conn->prepare('SELECT * FROM codes WHERE…
-
-2
votes1
answer220
viewsHow to delete a row from the database?
The name of my table in the database is arquivo. Then there is a list of images and I want to solve, all in PHP Here I exhibited <?php include ("cabecalho-tcc.php"); include("rodape-tcc.php");…
-
-4
votes1
answer37
viewsSubquery Delete in Mysql
I have the following table (Example), where the ID user 151 has 2 records: id (Primary Key) user name 1 151 2 123 3 985 4 151 5 652 I need to delete this user’s 2 records. The problem is that as the…