Questions tagged [delete-row]
Delete row refers to the removal of rows from a relational database.
-2
votes
1answer
28 views
reading first file from all of txt extensions [on hold]
would someone please help me with finding the right function for the following issue?:
I need to get only the first line from every single .txt file and delete the separator inbetween the words in ...
0
votes
0answers
16 views
Calendar events deleted on android phone but not deleted in web Google agenda
My app download a planning and create new events in calendar (between 30 to 70). For each day, I first delete all the events of the day, then I create all new events. This is running fast : less than ...
1
vote
2answers
42 views
Easy way to delete rows that have a certain value
I have a data set with several columns and I'm working on it using R. Most of those columns have missing data, which was set as a value -200. What I want to do is to delete all the rows that have -200 ...
-2
votes
2answers
15 views
mysql duplicate rows delete in big data
I have mysql delete query for duplicated rows.
DELETE DupRows.*
FROM myData AS DupRows
INNER JOIN (
SELECT MIN(ID) AS minId, ondate, symbol
...
-3
votes
0answers
35 views
Delete rows based on certain range
In Sheet1 , I have Serial number in column A and Name in column B.
In Sheet2, I have Name in column A, Name count in column B, Delete count in column C.
Now my requirement is VBA code to look for ...
0
votes
1answer
13 views
tableadapter not deleting programatically removed datatable rows
I have a dataset linked with a MYSQL database via tableadpators and a TableAdpaterManager (all autographed through designer view). The visual studio route was setting up a DataSource and then dragging ...
0
votes
2answers
37 views
how to delete duplicate data from mysql except latest data
i want to delete records from mysql table
i have table like this
i am checking here if (date,url,price,hotelName) is same then remove except one
id | hotelName | price | url | date |
-...
-1
votes
0answers
25 views
php ajax delete parent comment with comment reply
I can Manage comment display with reply. But I have issues about deleting parent comment with reply. You can understand from below code.
This is comment.php file.
<?php
require_once '../vendor/...
1
vote
1answer
26 views
Delete Blank Lines
I need to have this code look from the bottom up and once it reaches a cell in Column G that is populated it stops deleting lines. Can some one help me out. There will be blanks in column G but, I ...
1
vote
2answers
26 views
Skipping single line of code in loop: entirerow.delete in another workbook
Fairly new to VBA, but I am trying to import (copy/paste) data from a selected workbook into my master workbook(holds code), but first need to delete unusable rows in the selected workbook.
If ...
1
vote
2answers
61 views
VBA - delete rows based on a column value
I'm attempting to write a small piece of code for an ActiveX control button. I'm not the best with VBA and only do this in my free time so spare me some grace... I have a spreadsheet of "Master ...
1
vote
2answers
20 views
Looking to delete named range2 when all values in named range1 are equal to “N/A” VBA Application.WorksheetFunction
We are looking to delete an entire section of rows (named range “Remove_Allowances_Credits”) when all values in the section (named range "Allowances_Credits_Range") are equal to “N/A”.
For example, ...
0
votes
1answer
20 views
How to delete null line in file using sqlldr, ctl
Let me know how to delete the null line using sqlldr, ctl.
And I wanna know how to remove the last two line of files.
There are null lines in tail, that is the last 1~2 line.
Plus I cannot know the ...
0
votes
2answers
42 views
VBA Quickly find and delete rows if column value=“” [duplicate]
I created a macro to in order to generate a daily report. However it takes a very long time to run. The portion of the macro that finds a value in column AN and deletes the entire row, takes minuets ...
0
votes
1answer
38 views
Google Sheets: Move Row to Other Sheet, Then Back Again, Based on Cell Value
Please please help! I have been researching this for weeks without a solution.
We use google forms to combine data onto google sheets. There are 2 sheets- "INCOMPLETE" which accepts all form ...
0
votes
0answers
22 views
How to delete the entire row in a dataframe if one element equals “XYZ” [duplicate]
How to delete the entire row if one entry of it equals an element within an array. Any good ideas how to do this very fast?
0
votes
0answers
47 views
Android Studio - Why is everything deleted?
For my university, I have to create a ToDo-App. One specification is that you can delete the ToDo's which are done.
So I can go into the app and add for example 4 ToDo's. Then I delete two of them ...
0
votes
2answers
38 views
Delete rows when element matches a list
I have a dataset that looks like this:
Col1 Col2
0.7 AA
0.6 BBB
0.2 RR
0.8 TTT
0.0 SS
And another dataset that looks like that
List
BBB
RR
TTT
I want to remove rows from the first ...
0
votes
1answer
28 views
compare two tables and delete rows from one table if there are similar coumn values in two tables hive
Table description are in the link
Table 1 and Table 2 has rows with A and D .I need these two removed from Table 2 .
Please check the link below for descriptive detail . Thank you .
0
votes
1answer
108 views
JavaScript TypeError: Cannot read property 'id' of undefined
I have an HTML table where user fills in Name and URL of social networks where they have account. Each row has a checkbox. With the help of jQuery and JavaScript, on pressing Add Row button, a row is ...
1
vote
3answers
60 views
Unable to get the FindNext property of the Range class
I'm making an employee training database and I want to be able to remove all instances of an employee after they leave. Their employee number is in column F (because many employees have the same name, ...
0
votes
1answer
38 views
how to pass the data from angularjs to spring controller
Angular js code
var app = angular.module('myApp', ['ngResource']);
app.controller('UserController', ['$scope', '$resource', '$http',function($scope,$resource,$http)
{
$scope.deleteRec = ...
1
vote
3answers
77 views
Delete Row if populated with blanks and zeros within a range
I have a report where i need to remove the rows with no data in the cells or a zero within a range column C to O.
This code i have almost does it perfectly, but i found a fatal flaw in the logic. If ...
1
vote
2answers
52 views
VBA search for values and delete from list (for loop is too slow)
I get an Excel document sent each week with a list of employees that haven't completed training for a new IT-system we're getting. However, the training is not relevant for everyone, so I need to ...
0
votes
1answer
29 views
Cannot delete a data row using Entity Framework model
I'm trying to delete an item in my application. This is how I try to do it in my button click event. First I check if the item exists in the database and then I proceed with deleting.
But when I try ...
0
votes
0answers
17 views
How to delete multiple items ListView and SQLite database?
I use AbsListView.MultiChoiceModeListener to select multiple items and
delete from ListView (List) and SQLite database. ListView is populated
by data from other activity normally. By code as below ...
1
vote
1answer
56 views
PHP - How to verify record deleted successfully
This is the code I'm using for deleting row from my DB:
<?php
$eid = $_GET['eid'];
$con = mysqli_connect("localhost", "root", "","project") or die("Connection failed");
echo "connection is done";
$...
1
vote
3answers
53 views
Remove all rows in a table that have a number within column c. Hence, keeping only the ones with blanks
Hi I need help writing a code that will delete all the rows with a number (it can be any number and vary in number of digits) in column 3 (or c). I just want to keep rows where column c is blank. ...
0
votes
0answers
10 views
Delete Data By ID mysql_fetch_array() expects parameter 1 to be resource
I am trying to delete data by id from a table, but I get one of the following error messages:
mysql_fetch_array() expects parameter 1 to be resource, boolean given
or
mysqli_fetch_array() expects ...
1
vote
3answers
44 views
Delete successive rows under condition in R
I have a data frame
dt <- read.table(text = "
350 16
352 0
354 0
359 0
366 11
376 38
380 28
386 0
389 0
397 55
398 45
399 0
400 19
402 30")
When successive rows contain zero in the ...
1
vote
0answers
73 views
Delete UITableView cell/row in UITableView with multiple sections using closure not working
I have a UITableView in a UIViewController that consists of dynamic multiple sections and dynamic multiple cells/rows in each section.
I have tried using actions, closures, index path. Etc
What I ...
0
votes
1answer
51 views
R: How can I group rows in a dataframe, ID rows meeting a condition, then delete prior rows for the group?
I have a dataframe of customers (identified by ID number), the number of units of two products they bought in each of four years, and a final column identifying the year in which new customers first ...
0
votes
3answers
42 views
Delete query using COUNT and MIN. MS Access 2010
I am trying to identify and remove duplicates from a data extract.
I have setup a query to group by contract_number and count > 1 which identifies the cases and there are two contract_start_date'...
0
votes
2answers
36 views
Only keep levels that are incomplete, based on two columns
I could really use some help with the following:
I some sample data:
Group<-c("A","A","B","B","C","C","D", "D")
Value1<-c("7","1",8,7,"NA",9,10,12)
Value2<-c("NA","NA","NA",7,3,9,7,4)
df<...
0
votes
2answers
51 views
UIAlertController-action inside 'delete tableViewCell method'
I'm sorry if this looks like a duplicate, I saw similar questions in here, I just couldn't get their answers to work:
I have a tableView with a list of user-created realmObjects. My current delete-...
0
votes
1answer
97 views
Delete in COBOL DB2 with fetch first 100 rows
Below is my query that am using in cobol db2 module
EXEC SQL
DELETE FROM AA_AA
WHERE A=0
FETCH FIRST 30 ROWS ONLY
END-EXEC
I could see the below error while compiling
INVALID KEYWORD 'FETCH' VALID ...
0
votes
3answers
69 views
R - deleting rows from data.frame
I am very new to r an programming and have a basic question (my first one on stackoverflow :) )
I want to delete some rows from a data.frame and use an if-statement on that account.
My code is running ...
0
votes
2answers
56 views
QSqlTableModel::removeRow() does not delete row in SQLite database
I use Windows, C++ and Qt 5.11.1. I have a simple single-table SQLite database. This table "templates" contains primary key: id INTEGER PRIMARY KEY.When I try to remove a single row in "templates" (...
0
votes
2answers
119 views
How to do a single delete and bulk delete action in wp_list_table in wordpress?
I am displaying custom data in wp_list_table. I was able to display the data correctly in the table. Now I want to add this functionality: when I click on the delete button by hovering on the row or ...
1
vote
1answer
246 views
MySQL Before Delete trigger to avoid deleting multiple rows
I am trying to avoid deletion of more than 1 row at a time in MySQL by using a BEFORE DELETE trigger.
The sample table and trigger are as below.
Table test:
DROP TABLE IF EXISTS `test`;
CREATE ...
0
votes
1answer
30 views
Deleting worksheet row based on value tied to a table
I have a worksheet with two tables on it located starting in column B. In Column A I have a COUNTA formula that is tied to a delete blank rows button. My code works great to delete the table row but i ...
4
votes
3answers
178 views
Deleting rows (working backwards), but use a range variable?
Often times it's required that you go through a range of cells, and based on some criteria, delete an entire row.
In practice, it's best to start at the end of the range, and work up.
Dim i as ...
0
votes
1answer
40 views
Add and delete row in the table
I am trying to write code for a table consisting of a textbox and a dropdownlist and a delete button on each row.
When the user click "Add Row" it adds another row that has the same elements on the ...
2
votes
3answers
47 views
Deleting elements from list and rows from numpy array when condition holds in Python
I'm writing an algorithm in order to classify the tweets in my dataset as positive/negative and I want to test the accuracy of it. In order to do this and find the best possible solution I want to ...
0
votes
3answers
55 views
PYTHON: Splitting One Column into Multiple After Deleting some rows
I am pretty new to Python and I am trying to cleanse some data. I've attached a link to the data file (Two tabs: Raw data and desired outcome). Please help!
What I am trying to do:
Delete Row 1-23
...
0
votes
1answer
23 views
Issues when trying to remove the firebase reference
I am having some issues while trying to delete one of the tableView row - in my case I was trying to delete the data from Firebase and then reload the table view.
See the function below:
func ...
-1
votes
3answers
61 views
C# WPF ListView not deleting items properly
I have a ListView which looks like this;
<Window x:Class="WPF_Viewer.URLLinks"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/...
2
votes
1answer
39 views
Delete row(s) with respect to username [duplicate]
i've gone through most of the questions similar to this but none addressed my problem.
i have table with four columns : id,username,title and date. i want to delete the entire row(s) associated with a ...
0
votes
1answer
32 views
VBA Removed filtered row while keeping header
I managed to get the filter row using the following.
Sub FilterRows()
ActiveSheet.Range("A1").AutoFilter field:=7, Criteria1:=" = "
ActiveSheet.Range("A1").AutoFilter field:=11, Criteria1:="<>"
...
1
vote
3answers
67 views
Excel macro to remove rows containing variable text
This is my first time posting.
I'm trying to find a way in Excel 2016 to clean up a folder list so that I only have the parent folders.
I have a spreadsheet where column A is a list of folders, ...