LoginSignup
0
0

More than 5 years have passed since last update.

特定のレコードを一括で更新するSQL / バックアップしたsqlファイルからから個別にデータをinsertするSQL

Last updated at Posted at 2016-02-26

特定のレコードを一括で更新するSQL / バックアップしたsqlファイルからから個別にデータをinsertするSQL

update items
set  type = 'ItemMiddleHeading'
where article_id in
(select id from articles where key in (
))
and type = 'ItemHeading'

バックアップしたsqlファイルからから個別にデータをinsertする

testdb=> INSERT INTO my_table VALUES (:'content');
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0