Want to insert all the Rows of a table in a new table with a renaming activity.
Also we have some exceptions that we shouldn’t move them.
Renaming Act : Change the char ‘_’ into ‘ ‘
Exceptions : Items that if we rename they would be duplicates in the new table.
So all the items there would be unique and renamed version of our previous table.
- Here we don’t have any integer ID’s,
- The database is SQL Server CE
- Our Tables : Product, tblNew
- Each with same columns : “Product”, “col1”, “col2”
Want to move the records to tblNew , our key column that we don’t want duplicates is “product”
1 Answer