What are the challenges you face when working across database platforms? Take the survey
Options

RAISERROR

Hi Redgate Team,

the RaiseError is formatted incorrectly
[code]
IF ( @FullScan = 1 AND @Resample = 1 )
    BEGIN
        RAISERROR(
'Either update statistics with the FullScan or Resample option.', 16, 1
)        ;
        RETURN;
    END;
[/code]

I expect to see the message and brackets aligned with the RaiseError statement.
Also there is a tab between the last bracket and the semicolon which is not intended.

Thanks for fixing it.

Torsten

Sign In or Register to comment.