RAISERROR
torsten.strauss
Posts: 271 Silver 3
in SQL Prompt
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;
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
Tagged: