Let's say I have the following table
fID Field1 Field2
1 a dennis
1 f mac
2 j clownbaby
1 k charlie
3 t frank
7 d dee
and I want to take all the rows with 1 in the first column and insert them in the same table with a number I could pick as an argument to my stored procedure. So that if I called my stored procedure as rowClone(1,8) I would end up with a table with
fID Field1 Field2
1 a dennis
1 f mac
2 j clownbaby
1 k charlie
3 t frank
7 d dee
8 a dennis
8 f mac
8 k charlie