MySQL Forums
Forum List  »  German

Re: Update.Mysql.nur.bestimmer.String
Posted by: Franz Müller
Date: June 07, 2011 06:24AM

Hallo Thomas,

genau richtig, dies hab ich gesucht. Vielen Dank

Kannst DU mir bitte kurz die Funktion erklären?

SET teststring = SUBSTRING(teststring,1,LOCATE('{',teststring)-1)
# setze teststring mit Wert aus teststring = was gibt die 1 an ?
# danach locate finde '{' setzt Postion wo '{' im String beginnt, z.B. Pos. 8??
#aus teststring (-1) bis zum Ende des Strings??
WHERE teststring LIKE '%{%'
# für die Werte die irgendetwas mit von { enthalten.

Sehe ich das richtig?

Danke für Deine Antworten.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Update.Mysql.nur.bestimmer.String
1189
June 07, 2011 06:24AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.