Fixed: Typo in AddExchangeMailboxPlan

This commit is contained in:
robvde 2012-07-30 16:04:18 +04:00
parent 7ec2cd7e20
commit 268245d920

View file

@ -2053,6 +2053,13 @@ IF ((SELECT Count(*) FROM ExchangeMailboxPlans WHERE ItemId = @ItemID) = 0)
BEGIN BEGIN
SET @IsDefault = 1 SET @IsDefault = 1
END END
ELSE
BEGIN
IF @IsDefault = 1
BEGIN
UPDATE ExchangeMailboxPlans SET IsDefault = 0 WHERE ItemID = @ItemID
END
END
INSERT INTO ExchangeMailboxPlans INSERT INTO ExchangeMailboxPlans
( (