Custom Table Map Cannot Deploy
MCTSQL
Posts: 14 Bronze 3
1. Set up test scenario:
3. Compare database ABC with XYZ
4. -->Edit Project-->Table Mapping: Map ABC.abc.MyTable to XYZ.xyz.MyTable
5. -->Compare Now
6. -->Select MyTable for deployment
7. -->Deployment Wizard (ABC-->XYZ)
8. EXPECTED (CORRECT) RESULT:
create database ABC; go use ABC go create schema abc; go create table ABC.abc.MyTable(i int, j int); go create database XYZ; go use XYZ go create schema xyz; go create table XYZ.xyz.MyTable(i int); go2. Open SQL Compare 10.4.8.87 GUI
3. Compare database ABC with XYZ
4. -->Edit Project-->Table Mapping: Map ABC.abc.MyTable to XYZ.xyz.MyTable
5. -->Compare Now
6. -->Select MyTable for deployment
7. -->Deployment Wizard (ABC-->XYZ)
8. EXPECTED (CORRECT) RESULT:
ALTER TABLE [xyz].[MyTable] ADD[j] [int] NULLACTUAL (INCORRECT) RESULT:
ALTER TABLE [abc].[MyTable] ADD[j] [int] NULL
MCTSQL
Comments
In my attempts to reproduce your issue, once I mapped the abc schema to the xyz schema.
The I received the expected result.
http://documentation.red-gate.com/displ ... ing+owners
Product Support
Red Gate Software