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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:30:35+00:00 2026-05-28T06:30:35+00:00

I have just imported a database table from a previous site, and one of

  • 0

I have just imported a database table from a previous site, and one of the table headers has a title of ‘enclosure’ and in this, there is a big list of URLs, all starting http://richardgordoncook.com/dl/audio/filename.mp3 etc.

I need to change the start of this URL from richardgordoncook.com to richgc.com but I don’t know how to be that specific with a query.

I can easily change one:

UPDATE `db141188_cnc`.`wp_StreamPad_Tracks` SET `enclosure` = 'http://richgc.com/dl/audio/andy_summers.mp3',
`sourceUrl` = 'http://www.curatorialnoiseclub.com' WHERE `wp_StreamPad_Tracks`.`id` =5 LIMIT 1 ;

But I don’t want to write each one out.

So, I need to change richardgordoncook.com to richgc.com.

Is there any way to do this?

  • 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-28T06:30:35+00:00Added an answer on May 28, 2026 at 6:30 am

    Something like this:

    update <table> 
    SET enclosure = replace(enclosure, 'richardgordoncook.com', 'richgc.com')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table (it was imported from Excel) that has a wide variety
I have a table about 10 million rows. We just imported it from another
I have just imported a huge MySQL database. Most fields are latin1_swedish_ci, and they
I have just added a new database and imported alot of backed up data
I've just imported a Flex component into my project. I have a theory question
Have just started using Google Chrome , and noticed in parts of our site,
I have just moved one of my projects into VS2010/fx4.0 and am using a
I imported my (PHP) old site's database tables into Django. By default it created
I have a Visual Studio 2010 Database project, from which I want to generate
I have a MS SQL imported into SQL Server 2008 from a .bak and

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.