Sai Prasad Anumolu

Sai Prasad Anumolu

  • NA
  • 196
  • 18.9k

How to save Duplicate records in Database?

Mar 4 2014 5:32 AM
How to Save Duplicate records in database ? 

Example: 

1St Records is .. This is Original record 

Query ...

 insert into Tbl_TextAdds(ImagePath,MaxCharLength) values('~/Images/Lighthouse.jpg','SampleData')   -- When I Clicked Save Button Save The record sucessfully .   

After when i click on Duplicate Button in Webpage ... Above Data is edit mode ..after when i click on save button 

I need this one ?
 insert into Tbl_TextAdds(ImagePath,MaxCharLength) values('~/Images/Desert.jpg','Duplicate Record')