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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:13:26+00:00 2026-06-18T02:13:26+00:00

Its been quite a while since I’ve run an SQL query and I need

  • 0

Its been quite a while since I’ve run an SQL query and I need a bit of help.

I have a SQL Server database in which I need to do a string find/replace on text content in column “content” in table named “my_table”. I’m getting an “invalid object name” error when I try to execute the SQL:

UPDATE dbo.MY_TABLE
  SET CONTENT = REPLACE(CONTENT, 'http://123.123.123.123', 'http://www.mysite.com')
  WHERE CONTENT LIKE '%http://123.123.123.123%';

The website’s html content is stored inside the “my_table” table in a field labeled “Content”. I have thousands of instances of the IP address which need to be updated to reflect the new domain name.

  • 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-18T02:13:27+00:00Added an answer on June 18, 2026 at 2:13 am

    Seems to work fine for me:

    http://sqlfiddle.com/#!3/451de/1

    My guess is that the owner of My_Table isn’t dbo? Can you:

    SELECT * FROM dbo.My_Table
    

    Good luck.

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

Sidebar

Related Questions

Its been a while since I had to do some Java/JSP... I have a
Its been a while since i have coded c++ and i have forgot an
I was quite familiar with the V2 api, but it's been a while since
I have been searching for quite a while now but i am unable to
I have been developing websites with ASP.NET for quite a while. When I first
It's been a while since I needed help, but today I'm here to basically
This one has been haunting me for quite a while now.. I have been
It's been quite a while since I last used D Programming Language , and
I have been using PHP 5+ for quite a while now. I am looking
I have been using ASIHTTPRequest for quite a while now and i quite satisfied

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.