Variables - MarkMpn/Sql4Cds GitHub Wiki

Variables can be declared and set in SQL 4 CDS as described in the T-SQL documentation. Specifically you can use DECLARE to create a variable, set its value using SET or SELECT, and then use the variable in a subsequent expression.

Variables can also be provided as parameters using the ADO.NET Provider.