Jestem bardzo obeznany z procesem eksportowania z wersji Azure SQL V12 do mojego okna dev, a następnie zaimportowaniem do mojej lokalnej instancji sql (2014). Kręcę nowe okno Win10 i zainstalowałem CTP SQL 2016. Łączę do tej samej instancji Azure i może działać przeciwko niemu - i można wyeksportować .bacpac podobnie jak w 2014 rNie można zaimportować bacpac programu SQL Azure do wersji 2016 CTP
Ale gdy próbuję zaimportować do lokalnej Dostaję:
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];
Co z tego? CTP programu SQL Server 2016, będący CTP, nie jest w pełni obsługiwany przez inne produkty? Czy jest tu jakaś niespodzianka? – TomTom
to komunikat "Błąd SQL72014: Dostawca danych SqlClient .Net: Msg 547, poziom 16, Stan 0, wiersz 3 Instrukcja ALTER TABLE jest w konflikcie z ograniczeniem FOREIGN KEY" FK_dbo.Address_dbo.User_idUser ". Konflikt wystąpił w bazie danych" FOO33 " , tabela "dbo.User", kolumna "idUser" " – TheGameiswar
Spróbuj rozwiązać błąd – TheGameiswar