SQL clone record with a unique index

Posted by Milhous on Stack Overflow See other posts from Stack Overflow or by Milhous
Published on 2008-09-29T16:58:21Z Indexed on 2010/03/13 4:07 UTC
Read the original article Hit count: 225

Filed under:
|
|

Is there a clean way of cloning a record in SQL that has an index(auto increment). I want to clone all the fields except the index. I currently have to enumerate every field, and use that in an insert select, and I would rather not explicitly list all of the fields, as they may change over time.

© Stack Overflow or respective owner

Related posts about sql

Related posts about database