--- title: "Transact-SQL Syntax Conventions (Transact-SQL) | Microsoft Docs" ms.custom: "" ms.date: "03/09/2018" ms.prod: sql ms.prod_service: "database-engine, sql-database, sql-data-warehouse, pdw" ms.reviewer: "" ms.technology: t-sql ms.topic: "language-reference" f1_keywords: - "sql13.TSQLExpandPortal.f1" dev_langs: - "TSQL" helpviewer_keywords: - "conventions [SQL Server]" - "Applies to section in Transact-SQL topics" - "code example conventions [SQL Server]" - "objects [SQL Server], names" - "code [SQL Server], conventions" - "multipart names [SQL Server]" - "Transact-SQL syntax conventions" - "syntax conventions [SQL Server]" - "code [SQL Server]" - "Transact-SQL" - "naming conventions [SQL Server]" - "syntax [SQL Server], Transact-SQL" ms.assetid: 35fbcf7f-8b55-46cd-a957-9b8c7b311241 author: rothja ms.author: jroth monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current" --- # Transact-SQL Syntax Conventions (Transact-SQL) [!INCLUDE[tsql-appliesto-ss2008-all_md](../../includes/tsql-appliesto-ss2008-all-md.md)] The following table lists and describes conventions that are used in the syntax diagrams in the [!INCLUDE[tsql](../../includes/tsql-md.md)] Reference. |Convention|Used for| |----------------|--------------| |UPPERCASE|[!INCLUDE[tsql](../../includes/tsql-md.md)] keywords.| |_italic_|User-supplied parameters of [!INCLUDE[tsql](../../includes/tsql-md.md)] syntax.| |**bold**|Type database names, table names, column names, index names, stored procedures, utilities, data type names, and text exactly as shown.| |underline|Indicates the default value applied when the clause that contains the underlined value is omitted from the statement.| || (vertical bar)|Separates syntax items enclosed in brackets or braces. You can use only one of the items.| |`[ ]` (brackets)|Optional syntax items. Don't type the brackets.| |{ } (braces)|Required syntax items. Don't type the braces.| |[**,**..._n_]|Indicates the preceding item can be repeated _n_ number of times. The occurrences are separated by commas.| |[..._n_]|Indicates the preceding item can be repeated _n_ number of times. The occurrences are separated by blanks.| |;|[!INCLUDE[tsql](../../includes/tsql-md.md)] statement terminator. Although the semicolon isn't required for most statements in this version of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], it will be required in a future version.| |\