Skip to content

Conversation

aharpervc
Copy link
Contributor

For example, this now parses appropriately:

create procedure test_proc (a int = 42)
...

Syntax documentation reference: https://learn.microsoft.com/en-us/sql/t-sql/statements/create-procedure-transact-sql?view=sql-server-ver17#e-use-a-procedure-with-wildcard-parameters. This is the syntax used by SQL Server, but I've implemented this as a "normal" Option property of the ProcedureParam struct.

I also added a corresponding common unit test

@aharpervc aharpervc force-pushed the mssql-param-default-value branch from 438ba79 to f7f6284 Compare September 19, 2025 21:42
@aharpervc aharpervc force-pushed the mssql-param-default-value branch from f7f6284 to 6e18938 Compare September 19, 2025 21:44
@aharpervc aharpervc marked this pull request as ready for review September 19, 2025 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant