Skip to content
Jasper

Jasper

Just another WordPress site

  • INDEX
  • ABOUT
  • WISHLIST
  • LINKS

Tag: replace

Posted on October 1, 2008

MySQL中REPLACE INTO和INSERT OR REPLACE INTO的区别

REPLACE的运行与INSERT很相似。只有一点例外,假如表中的一个旧记录与一个用于PRIMARY KEY或一个UNIQUE索引的新记录具有相同的值,则在新记录被插入之前,旧记录被删除。
Continue reading “MySQL中REPLACE INTO和INSERT OR REPLACE INTO的区别”

Categories

  • Blogging
  • Body-Building
  • Others
  • Programming
  • Software
  • Systems&Servers
  • Web-Development

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress