2013-05-18 1 views

答えて

18
UPDATE customer 
    SET country = UPPER(SUBSTR(country, 1, 1)) || SUBSTR(country, 2) 
+0

非ASCII文字(UTF-8)では機能しないようです。 – Sasho

2

upper(substr(customer.country, 1, 1))||substr(customer.country, 2)