Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.62 KB

mssqlserver-102-database-engine-error.md

File metadata and controls

44 lines (33 loc) · 1.62 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic helpviewer_keywords
MSSQLSERVER_102
MSSQLSERVER_102
MashaMSFT
mathoma
randolphwest
03/28/2024
sql
supportability
reference
102 (Database Engine error)

MSSQLSERVER_102

[!INCLUDE sql-asdb-asdbmi-asa-pdw]

Details

Attribute Value
Product Name SQL Server
Event ID 102
Event Source MSSQLSERVER
Component SQLEngine
Symbolic Name P_SYNTAXERR2
Message Text Incorrect syntax near '%.*ls'.

Explanation

Indicates a syntax error. Additional information isn't available, because the error prevents the [!INCLUDE ssDE] from processing the statement.

User action

Search the [!INCLUDE tsql] statement for syntax errors.

Symmetric key encryption on older SQL Server versions

This error might be caused by attempting to create a symmetric key using the deprecated RC4 or RC4_128 encryption, when not in 90 or 100 compatibility mode.

If you want to create a symmetric key using RC4 or RC4_128, you should select a newer encryption such as one of the AES algorithms.

Caution

RC4 algorithms aren't recommended. If you must use RC4, you can use ALTER DATABASE SET COMPATIBILITY_LEVEL to set the database to compatibility level 90 for [!INCLUDE ssversion2005-md], or 100 for [!INCLUDE sql2008-md] or [!INCLUDE sql2008r2-md].