فحص صياغة MySQL

فحص سريع لصياغة SQL عبر الإنترنت في متصفحك

الصق استعلام SQL وشغّل فحصًا سريعًا للتحقق من الصياغة — يبحث عن الاقتباسات والأقواس المتوازنة، والفواصل الزائدة، وشكل جملة معروف. هذا فحص سريع للتحقق، وليس محلل MySQL كامل أو منفذ استعلام. لا يتصل بقاعدة بيانات أبدًا، لذا لن يغادر SQL متصفحك.

جرّب مثالًا:

ما الذي يتحقق منه هذا (وما الذي لا يتحقق منه)

تشغّل هذه الأداة فحصًا هيكليًا سريعًا للتحقق كليًا في متصفحك: اقتباسات مفردة ومزدوجة وعلامات تنصيص متوازنة؛ أقواس متوازنة؛ فواصل زائدة قبل FROM أو ) أو نهاية الجملة؛ ما إذا كان الاستعلام يبدأ بكلمة مفتاحية معروفة؛ وفاصلة منقوطة نهائية مفقودة (تُعرض كتحذير). لا تفهم قواعد MySQL الكاملة، ولا تتحقق من أسماء الجداول أو الأعمدة، ولا تنفذ أي شيء. لا تتصل بقاعدة بيانات أبدًا، لذا يبقى SQL خاصًا على هذه الصفحة.

Frequently Asked Questions

Is this a full MySQL parser or query validator?

No. It is a fast syntax sanity check that looks for balanced quotes and parentheses, trailing commas, and a recognizable statement shape. It does not understand full MySQL grammar, check table or column names, or run your query.

Does my SQL get sent to a server or database?

No. The check runs entirely in your browser using JavaScript. Your SQL never leaves the page and the tool never connects to any database, so it is safe for private queries.

What kinds of problems can it catch?

Empty input, unbalanced parentheses, unterminated single quotes, double quotes, or backticks, trailing commas before FROM or a closing parenthesis or the end of the statement, statements that do not start with a recognized keyword, and a missing trailing semicolon (shown as a warning).

It says no problems found — does that mean my query is correct?

Not necessarily. A clean result only means the basic structure looks fine. Logic errors, wrong column names, and dialect-specific issues will not be caught — run the query against your actual database to be certain.