2009年3月5日木曜日

特定のカラムで文字列の一括変更

update table set title=replace(title,'高等学校','高校');

table = テーブル名
title = カラム名

0 件のコメント:

コメントを投稿