SQL Compare and Error "If statement in file"

finchaxfinchax Posts: 2
edited December 8, 2010 4:37PM in SQL Compare Previous Versions
Just upgraded from 8.1 to 8.5 and now I am receiving the error: "If statement in file"

Is this expected, do I have to use ignoreparseerrors to get around this? What then if there are other errors encountered with this flag turned on?

The content is a standard drop/create script similar to

if exists (select 1 from sys.objects where object_id = OBJECT_ID(N'[FK_Table]') AND parent_object_id = OBJECT_ID('Table'))
alter table Table drop constraint FK_Table


Sign In or Register to comment.