[jOOQ/jOOQ#15162] Support parsing SQL Server computed column syntax

This commit is contained in:
Lukas Eder 2023-06-01 16:37:18 +02:00
parent 102623d3e5
commit 3b347a0307

View File

@ -4865,7 +4865,8 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
else if (!computed
&& !ignoreProEdition()
&& (parseKeywordIf("AS")
|| parseKeywordIf("COMPUTED") && (parseKeywordIf("BY") || true))
|| parseKeywordIf("COMPUTED") && (parseKeywordIf("BY") || true)
|| parseKeywordIf("COMPUTE"))
&& requireProEdition()) {