Fixed: Typo in AddExchangeMailboxPlan
This commit is contained in:
parent
7ec2cd7e20
commit
268245d920
1 changed files with 7 additions and 0 deletions
|
@ -2053,6 +2053,13 @@ IF ((SELECT Count(*) FROM ExchangeMailboxPlans WHERE ItemId = @ItemID) = 0)
|
|||
BEGIN
|
||||
SET @IsDefault = 1
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
IF @IsDefault = 1
|
||||
BEGIN
|
||||
UPDATE ExchangeMailboxPlans SET IsDefault = 0 WHERE ItemID = @ItemID
|
||||
END
|
||||
END
|
||||
|
||||
INSERT INTO ExchangeMailboxPlans
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue