|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Duplicating a record
Originally posted by : Anders (anders@peach.se)Hi!I have a problem that is kindof tricky...Im trying to copy a record from a recordset and then insert it again as a new record with a new primarykey value - with other words duplicating a record....Does anyone know how to succeed?Please help me if you know..I really need to make it work!!!Regards Anders
|
|
#2
|
|||
|
|||
|
SELECT @MyID, x1, x2, x3 INTO MyTable FROM MyTable WHERE ID = MyOldID
|
![]() |
| Viewing: ASP Free Forums > Database > SQL Development > Duplicating a record |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|