How to analyze T-SQL code

dbForge Studio provides a fast and automated way to ensure that your T-SQL code fits to your predefined design and style guidelines as well as best coding practices. With help of T-SQL Analyzer, you can eliminate potential design and naming problems and avoid performance pitfalls by analyzing your T-SQL code.

Before you analyze your code, you might want to configure the rules that will run as part of the analysis. To configure different sets of rules, run a smaller set of rules, or create your own rules, see Code Analysis Options.

To analyze code

  1. Open the database instance, containing the code you want to analyze.
  2. Right-click anywhere on the document, and then select Analyze Code from the shortcut menu. Alternatively, on the Text toolbar, click Analyze Code.

The code in your database instance is analyzed, and any warnings and errors appear in the Error List.

To navigate to error or warning location within the code, right-click the error or warning, and then select Go to Error from the shortcut menu.

How to analyze T-SQL code

Customize code analysis rules

To configure different sets of code analysis rules, run a smaller set of rules, or create your own rules, go to the Tools menu, select Options, and then click Code Analysis.

Customize code analysis rules in T-SQL Analyzer

Want to Find out More?

Overview

Overview

Take a quick tour to learn all about the key benefits delivered by dbForge Studio for SQL Server.
All Features

All features

Get acquainted with the rich features and capabilities of the Studio in less than 5 minutes.
Request a demo

Request a demo

If you consider employing the Studio for your business, request a demo to see it in action.
Ready to start using dbForge Studio for SQL Server?