Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8440873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:25:07+00:00 2026-06-10T08:25:07+00:00

I want to create a batch delete and/or update screen for records similar to

  • 0

I want to create a batch delete and/or update screen for records similar to how the iphone lets you batch delete text messages In other words when you click edit, it shows a checkbox next to all the records and you can then click a button that deletes them or changes a value.

I have discovered following syntax to insert a bunch of rows:

insert into tbl (...) values (...) (...) (...) ...

There also seems to be a way to batch delete using:

delete from tbl where id IN (1,2,3)

Is there a way to do a batch update?

I think I could then just collect an array of the id numbers for the records and run either a delete or update query depending on what button is pushed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T08:25:08+00:00Added an answer on June 10, 2026 at 8:25 am

    You can use WHERE condition same like you did for DELETE query like this:

    UPDATE tbl SET col1='...', col2='...' WHERE id IN (1,2,3)
    

    See this SQLFiddle

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want create batch process to update files on android tablet (for non-experienced user)
I want to create a batch while which finds specific lines in a batch
I want to create a simple batch file that would perform some Visual Studio
For some simple Windows batch script, I want to temporarily create a copy of
I want create an application with animate button? how can i do? after click
I want to create a batch file that moves all the files in this
I want to know simply how to create a batch file from .exe file?
I want to create a batch file to run java project directly. I want
Hi I want to create a batch which performs more than one operations. Like
I want to create a batch file which only continues if MASTERRESET.DLL consists of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.