Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add Support for SQLCMD Syntax

Open
#127 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
sql
Domain
compilers

Research direction

Start with the linked SqlScriptDOMSqlcmdSyntax reproduction and inspect how TSql150Parser handles SQLCMD variables and related syntax. Compare the parser's current errors with the script cases in that repository; done means those SQLCMD constructs are accepted without errors while existing T-SQL parsing remains intact.

Written by the indexing model from the issue text.

Description

Scripts may contain SQLCMD variables and other SQLCMD syntax. Currently TSql150Parser reports it as an error.

This repository demonstrates the current behavior: https://github.com/marvhen/SqlScriptDomSqlcmdSyntax

Dominant language
GAP
Stars
277
Forks
43
Avg merge
6d 17h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/SqlScriptDOM

All issues in microsoft/SqlScriptDOM

Similar issues

More Compilers issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.