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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:52:11+00:00 2026-06-01T23:52:11+00:00

EDIT: The table is GIGANTIC! I could just make the backup, and try it

  • 0

EDIT:

The table is GIGANTIC! I could just make the backup, and try it locally, if it went fine i could replicate the same on the server, but as i said, the database has almost 500mb, it is indeed quite big. Thanks to those who helped me 🙂

I’d like to change the values from the column “inside_position” where the cell values is 0

update TABLE_NAME SET inside_position=100 where inside_position=0;

I can’t mess this up, so I’ll not set up the trial and error method for this one.

Hope you can help me.

|Product_ID||Product_Code||Inside_position|
|   403    ||   EH009KP  ||       0       |
|   503    ||   GHSJSKD  ||       0       |
|   603    ||   KANSDAS  ||       1       |
|   703    ||   KJNKANS  ||       0       |
|   803    ||   KJHEERF  ||       0       |
|   903    ||   NBVDHQE  ||       5       |
|   910    ||   PKMRQEM  ||       0       |
|   980    ||   990KMNJ  ||       0       |
-------------------------------------------

This table describes my problem, I want to change the ones with 0 to 100.

  • 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-01T23:52:12+00:00Added an answer on June 1, 2026 at 11:52 pm

    The code you posted is fine?

     update TABLE_NAME SET inside_position=100 where inside_position=0
    

    If you’re worried about it not working, why not just duplicate the data into a dummy table and then run the query on those, that way you know for sure it will work 🙂

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

Sidebar

Related Questions

Possible Duplicate: Saving changes after table edit in SQL Server Management Studio I need
When I create a table in SQL Server and save it, if I try
I want to be able to edit a table in a SQL server database
we use an external Database where we cant edit table designs only add own
edit: my table schema below is poorly normalized as suggested and I have revamped
I am a Cake PHP novice. I want to edit the table Issue. This
Edit : Solved, there was a trigger with a loop on the table (read
When inserting values into my table what do I edit here? Do I delete
Is it possible to edit computed-column values? I have a computed-col in my table,
I have a function that allows users to edit a row in a table

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.