Results 1 to 5 of 5

Thread: sql query for remove some keywords

  1. #1
    Join Date
    Sep 2006
    Posts
    167

    Default sql query for remove some keywords

    Somebody knows the sql command to remove one keywords in all idx link ?

    For exemple i want to remove the keyword "with" in all links.

    Thank's
    Hotel Discount Web Search
    www.hotel-discount.com

  2. #2
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Try this...

    delete from idx_link where keyword = xxxxxxx
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  3. #3
    Join Date
    Sep 2006
    Posts
    167

    Default

    Thank's but doesn't work...
    Hotel Discount Web Search
    www.hotel-discount.com

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    delete from idx_link where keyword = xxxxxxx will delete any link with a matching keyword. This will not simply remove the keyword.

    Replace the word replaceme with nothing

    update idx_link set keywords = REPLACE(keywords,"replaceme","")

  5. #5
    Join Date
    Sep 2006
    Posts
    167

    Default Good statement sql

    Its working find. Thank's to all.
    Antony
    Hotel Discount Web Search
    www.hotel-discount.com

Similar Threads

  1. Query help, please
    By aladdin1 in forum v5.x
    Replies: 6
    Last Post: 01-23-2008, 08:11 AM
  2. Upgrade Query
    By blacknight in forum v5.x
    Replies: 6
    Last Post: 10-08-2006, 08:59 AM
  3. Need some help with this query.
    By Hart_House in forum v3.2
    Replies: 8
    Last Post: 10-05-2004, 10:10 PM
  4. Cannot Remove Editor After Remove
    By pip in forum v5.x
    Replies: 1
    Last Post: 07-10-2004, 05:51 PM
  5. Query Box
    By craven in forum v5.x
    Replies: 5
    Last Post: 04-28-2003, 08:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •