Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Suche bestimmten sql Befehl  (Read 2747 times)

0 Members and 1 Guest are viewing this topic.

VolkerF

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Posts: 200
Suche bestimmten sql Befehl
« on: January 25, 2012, 02:55:16 pm »

Hallo

Ich möchten in allen Bildbeschreibungen den Schriftzug /domain2 entfernen den ich irrtümlicherweise in meine Texte eingefügt hatte. Mit welchem sql-Befehl kann ich die wieder entfernen?

Danke Volker
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Suche bestimmten sql Befehl
« Reply #1 on: January 25, 2012, 03:23:06 pm »

Code: [Select]
UPDATE cpg15x_pictures SET description = REPLACE(description, '/domain2', '');
Logged

VolkerF

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Posts: 200
Re: Suche bestimmten sql Befehl
« Reply #2 on: January 25, 2012, 03:46:48 pm »

Hi Andre

Ich danke dir :).

Ciao pimyk
Logged

VolkerF

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Posts: 200
Re: Suche bestimmten sql Befehl
« Reply #3 on: January 25, 2012, 04:55:39 pm »

Hi Andre

Es kommt immer die Meldung:
#1054 - Unbekanntes Tabellenfeld 'description' in field list

Was mache ich falsch?

Danke Volker
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Suche bestimmten sql Befehl
« Reply #4 on: January 25, 2012, 06:17:35 pm »

Ersetze "description" durch "caption" oder "title", je nachdem was genau du nun ändern möchtest.
Logged

VolkerF

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Posts: 200
Re: Suche bestimmten sql Befehl
« Reply #5 on: January 25, 2012, 07:46:19 pm »

Hallo Andre

Es war "caption".

Vielen Dank nochmal und Ciao Volker
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 20 queries.