Tabs everywhere
torsten.strauss
Posts: 270 Silver 3
in SQL Prompt
Hi Team,
[code]
SELECT
@product_version = CONVERT(varchar(50), SERVERPROPERTY('PRODUCTVERSION'));
SET @autostat_legacy_behavior =
CASE
WHEN ( CONVERT(
smallint, LEFT(@product_version, CHARINDEX('.', @product_version) - 1)
)
) >= 14
OR EXISTS ( SELECT * FROM @trace_status WHERE
TraceFlag = 2371 AND Status = 1
) THEN 0
ELSE 1
END;
@product_version = CONVERT(varchar(50), SERVERPROPERTY('PRODUCTVERSION'));
SET @autostat_legacy_behavior =
CASE
WHEN ( CONVERT(
smallint, LEFT(@product_version, CHARINDEX('.', @product_version) - 1)
)
) >= 14
OR EXISTS ( SELECT * FROM @trace_status WHERE
TraceFlag = 2371 AND Status = 1
) THEN 0
ELSE 1
END;
[/code]
After the latest update to Version 9.1.16.5356 there are a lot of tabs in between which are not intended and not adjustable.
Would be nice to fix it soon cause the entire code looks horrible now - thanks!
Torsten
Tagged:
Answers
Thanks for reporting this issue!
I couldn't reproduce it in the latest version (9.2.0.5601) Please upgrade and test again.
Tianjiao Li | Redgate Software
Have you visited our Help Center?