Prenumerera på innehåll

MySQL column till små bokstäver [LÖST]

Om du jobbar med MySQL och vill göra alla rader i en specifik kolumn till små bokstäver då kan du göra det på följande sätt:

UPDATE tablename SET columnname = LOWER(columnname);

Klart!

Skriv ny kommentar

Innehållet i detta fält är privat och kommer inte att visas publikt.
  • Tillåtna HTML-taggar: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <abbr>
  • Rader och stycken bryts automatiskt.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].

Mer information om formateringsmöjligheter

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
- nine = zero
Solve this math question and enter the solution with digits. E.g. for "two plus four = ?" enter "6".