Não é possível importar o bacpac do SQL Azure para o CTP 2016
Estou muito familiarizado com o processo de exportar do Azure SQL V12 para a minha caixa de desenvolvimento e depois importar para minha instância local do sql (2014). Estou girando uma nova caixa Win10 e instalei o CTP do SQL 2016. Estou me conectando à mesma instância do Azure e posso operar com ela - e posso exportar um .bacpac da mesma forma que em 2014.
Mas quando tento importar para local, estou recebendo:
Could not import package.
Warning SQL72012: The object [FOO33_Data] exists in the target, but it will not be dropped even though you selected the 'Generate drop statements for objects that are in the target database but that are not in the source' check box.
Warning SQL72012: The object [FOO33_Log] exists in the target, but it will not be dropped even though you selected the 'Generate drop statements for objects that are in the target database but that are not in the source' check box.
Error SQL72014: .Net SqlClient Data Provider: Msg 547, Level 16, State 0, Line 3 The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_dbo.Address_dbo.User_idUser". The conflict occurred in database "FOO33", table "dbo.User", column 'idUser'.
Error SQL72045: Script execution error. The executed script:
PRINT N'Checking constraint: FK_dbo.Address_dbo.User_idUser [dbo].[Address]';
ALTER TABLE [dbo].[Address] WITH CHECK CHECK CONSTRAINT [FK_dbo.Address_dbo.User_idUser];