Comments
Sort by recent activity
@Diogo I'll just comment that I am seeing the same issue. Here's a pretty close example to what was causing issues for us:
IF NOT EXISTS(
SELECT *
FROM sys.columns
WHERE [Name] = N'NewBit'
AND Object_ID = Object_ID(N'MyTable'))
BEGIN
ALTER TABLE dbo.MyTable
ADD [NewBit] BIT NOT NULL DEFAULT ((0))
END
/ comments
@Diogo I'll just comment that I am seeing the same issue. Here's a pretty close example to what was causing issues for us:
IF NOT EXISTS(
SELECT *
FROM sys.columns
WHERE [Name] = N'Ne...