Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.55 KB

verify-queries-visual-database-tools.md

File metadata and controls

36 lines (28 loc) · 1.55 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords
Verify Queries
Verify Queries (Visual Database Tools)
markingmyname
maghan
01/19/2017
sql
ssms
conceptual
vdtsql.chm:100644
verifying queries
queries [SQL Server], verifying
checking queries

Verify Queries (Visual Database Tools)

[!INCLUDESQL Server] To avoid problems, you can check the query you have built to ensure its syntax is correct. This option is especially useful when you enter statements in the SQL pane.

Some notes to keep in mind about verifying queries:

  • A statement can be valid, and therefore be verified successfully, even if it cannot be represented in the Diagram Pane and Criteria Pane.

  • SQL Verification can detect some, but not all SQL errors. If a query contains an error not detected during SQL verification, the database will detect the error when you run the query.

  • Queries that contain parameters cannot be verified.

To verify an SQL statement

  • Right-click in the SQL Pane, and select Verify SQL Syntax from the shortcut menu.

See Also

Run Queries (Visual Database Tools)
Perform Basic Operations with Queries (Visual Database Tools)