Click or drag to resize

SA0205 : The backward compatibility views for SQL Server 2000 system tables are deprecated. Use the current SQL Server system views instead

The topic describes the SA0205 analysis rule.

Message

The backward compatibility views for SQL Server 2000 system tables are deprecated. Use the current SQL Server system views instead

Description

The rule checks for usage of the backward compatibility views for SQL Server 2000 system tables.

It is recommend that you use the current SQL Server system views instead.

This backward compatibility views will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

Scope

The rule has a Batch scope and is applied only on the SQL script.

Parameters

Rule has no parameters.

Remarks

The rule does not need Analysis Context or SQL Connection.

Categories

New Rules, Deprecated Features

Additional Information
Example Test Script
SQL
1select * from sysservers
2
3select * from sys.sysservers
4select * from someTable

Analysis Results

 MessageLineColumn
1SA0205 : The backward compatibility views for SQL Server 2000 system tables are deprecated. Use the current SQL Server system views instead.114
2SA0205 : The backward compatibility views for SQL Server 2000 system tables are deprecated. Use the current SQL Server system views instead.318
See Also

Other Resources