Duplicate a MYSQL row


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. INSERT INTO Comments(Message, Typeof)
  2. SELECT Message, Typeof FROM Comments WHERE PostId = 1

URL: http://particletree.com/notebook/duplicating-records-with-sql/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.