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 7018979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:07:21+00:00 2026-05-27T23:07:21+00:00

I made a SQL query to update registers on a table. The table has

  • 0

I made a SQL query to update registers on a table. The table has about 15 million registers. The update statement is like:

UPDATE temp_conafe
  set apoyo = trim(apoyo)
  where cve_status like '%APOYO%';

I keep checking the field v$transaction.used_ured to see if the query is rolling forward or backwards but when the number of records reach to more than 15 millions the query starts rolling backwards.

  • How do I get the update to complete successfully?

I’m not the DBA, just a programmer, but I can’t keep developing till that thing updates my registers.

  • 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-05-27T23:07:22+00:00Added an answer on May 27, 2026 at 11:07 pm

    It looks as if your transaction is to big. Try to add another limiting clause in the where. If you have a Id field you can add something like this:

    where cve_status like '%APOYO%' 
    AND id > 1 AND id < 100000
    

    You need to run it multiple times an change the range accordingly. If this is not an option you have to talk to your DBA and ask him to give you more resources.

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

Sidebar

Related Questions

What is the worst SQL query you've ever seen? What made it bad?
I have just made the update/add/delete part for the Closure table way of organizing
I ran a query to copy 18 million records from one table to another.
I have a SQL statement for merging edits from one table to another. I.e.
I've wrote an SQL query in MS Access and Access made a mess of
I made an .sdf file (SQL CE) from an XML file. When the file
I Made login (x) with sql authentication for mydatabase(Sharp) in sql2000.And I want to
I made a class from Linq to SQL Clasees with VS 2008 SP1 Framework
Using MS SQL Server .I have made a Stored Procedure named SP_Get_CallsLogged . I
i have made columns in some of the tables encrypted in sql server 2008.

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.