DF214: The schema name for a table or view is not specified.

The topic describes the DF214 T-SQL code analysis rule.

Category

BEST PRACTICE

Message

The schema name for a table or view is not specified.

Description

It is recommended to explicitly specify the schema when referencing a stored table or view.

Additional information

Explicitly specifying the schema when referencing a table or view helps improve query performance, avoids ambiguity, and ensures that the correct object is accessed, especially in databases with multiple schemas. It also improves code clarity and maintainability.

Noncompliant code example

SELECT
  id
FROM DemoTable
GO

Compliant solution

SELECT
  id
FROM dbo.DemoTable
GO

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?