I am trying to merge two similar tables (not exact) to one table. Getting lots of errors Any ideas on best way to do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I see there is not a Type field in tblDVPage to hold tblDVpagecategory.type, if you wanted to merge the latter into the former, so you may need to create a new column for it, or hold tblDVpagecategory.type with tblDVPage.pageType.
Either ways you will end up having something similar to this:
Obviously your old IDs in tblDVpagecategory will be gone, and regenerated when the items are merged into tblDVPage. If you might want to differentiate what is what with a new column, but depends on your scenario.