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

  • Home
  • SEARCH
  • 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 84547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:56:54+00:00 2026-05-10T21:56:54+00:00

Whenever we have to update the database; we delete the values from the table

  • 0

Whenever we have to update the database; we delete the values from the table first and then add the latest values. This ensures that everything is updated correctly.

This adds little bit overhead to the system but we haven’t faced any performance issues because of this.

Is this always the best thing to do?

  • 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. 2026-05-10T21:56:54+00:00Added an answer on May 10, 2026 at 9:56 pm

    No.

    Use the UPDATE statement.

    Additionally, if you worried about integrity, scope it within a transaction:

    BEGIN TRAN T1  -- This update is part of T1 UPDATE Table1 SET Col1='New Value' WHERE Col2 = @Id;  -- Time to commit your changes.  -- If for any reason something fails,  -- everything gets rolled back COMMIT TRAN T1 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a MySQL 5 database that is updated every 5 minutes from a
Whenever I have a library that use across different websites/ applications I've always just
I have an error occuring frequently from our community server installation whenever the googlesitemap.ashx
Whenever I use the signal/slot editor dialog box, I have to choose from the
I have a JComponent that's painting various shapes on itself. I'm detecting whenever the
Is there a way to have a file that is modified / touched whenever
I have the following schema: Database: test. Table: per_login_user, Field: username (PK), password Database:
I have a SQLite database that contains a huge set of log messages. I
I have a code that fetches a list from DB. Using that returned array
I have a database, a ListView , and a CustomCursorAdapter that extends CursorAdapter .

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.