Hi, I have this error when executing the command
D:\ROP\EPM.Aguas.ROP\EPM.Aguas.ROP.DatabaseComparison\Database3\sql\debug>sqlcmd
-S localhost -d EPM_ROP_JUNIO_25_CONCAMBIOSDESDEDESARROLLO -i Database3.sql
Changed database context to 'master'.
Changed database context to 'EPM_ROP_JUNIO_25_CONCAMBIOSDESDEDESARROLLO'.
Dropping ROP.FK_CaudalesLodoPrimario_CaudalesLodoPrimarioEncabezados...
Msg 3728, Level 16, State 1, Server C-LVALENCIA1, Line 1
'FK_CaudalesLodoPrimario_CaudalesLodoPrimarioEncabezados' is not a constraint.
Msg 3727, Level 16, State 1, Server C-LVALENCIA1, Line 1
Could not drop constraint. See previous errors.
The error is on these lines of the script
PRINT N'Dropping ROP.FK_CaudalesLodoPrimario_CaudalesLodoPrimarioEncabezados...';
GO
ALTER TABLE [ROP].[CaudalesLodoPrimario] DROP CONSTRAINT [FK_CaudalesLodoPrimario_CaudalesLodoPrimarioEncabezados];
MCPD ENTERPRISE APPLICATIONS DEVELOPER
http://wantmvp.blogspot.com/