About 346,000 results
Open links in new tab
  1. sql - Incorrect syntax near '' - Stack Overflow

    The error for me was that I read the SQL statement from a text file, and the text file was saved in the UTF-8 with BOM (byte order mark) format. To solve this, I opened the file in Notepad++ and under …

  2. How to fix the error (incorrect syntax near ','. ) - Microsoft Q&A

    May 12, 2023 · What you need to do is not use string concatenation for your SQL, instead use parameters. Basic example using SqlClient but works with any provider. What Karen said. The model …

  3. A Possible Cause for the 102 Error When Running a Subquery in SQL

    Oct 10, 2024 · If you’re running a subquery in SQL Server, but you’re getting error 102 that reads something like “ Incorrect syntax near ‘;’ “, there could be any number of reasons, because this is a …

  4. Incorrect Syntax Near: How To Fix It in SQL Server

    This article will show you SQL statements that will lead to the “incorrect syntax near” error, and we’ll show you solutions that you can use to solve similar errors in your environment.

  5. t sql - Getting an "Incorrect syntax near ' (' " error message when ...

    Apr 13, 2023 · Majority of other dialects, for this task, are mimicking other oldest dialect - Transact SQL, developed by Sybase. The T-SQL is a very close successor of Transact SQL, but there are also …

  6. SQL Server Incorrect Syntax Near: Causes and Solutions

    Learn how to fix SQL Server incorrect syntax errors with this comprehensive guide. Includes step-by-step instructions and examples, plus tips on how to prevent these errors from happening in the future.

  7. Troubleshooting SQL: How to Fix Incorrect Syntax Near Errors Quickly

    May 22, 2025 · One of the most common errors encountered is the "Incorrect syntax near" error. This error occurs when SQL Server is unable to parse the SQL statement due to a syntax mistake. In this …

  8. SQL Server Decimal Error: Fixing Incorrect syntax near

    Troubleshoot and resolve SQL Server decimal errors specifically the Incorrect syntax near '' issue. Learn how regional settings impact database schema creation.

  9. Solving the Incorrect Syntax Near Error: A Comprehensive Guide to ...

    May 27, 2025 · In this comprehensive guide, we will explore the causes of the "Incorrect syntax near" error, provide practical solutions, and offer expert advice on how to fix SQL and programming mistakes.

  10. sql server - How to fix Incorrect syntax near ')' - Stack Overflow

    This is especially useful for new developers who aren’t as familiar with the syntax or struggling to understand the concepts. Would you kindly your answer to include additional details for the benefit of …