InternetUnicodeHTMLCSSScalable Vector Graphics (SVG)Extensible Markup Language (xml) ASP.Net TOCASP.NetMiscellaneous Feature ASP.NET Scripting Visual Basic .NET TOC VB ReferenceVB .NET Typographic and Code ConventionsVB .NET Runtime Library MembersVB .NET KeywordsVB.NET AttributesVB .NET Constants and EnumerationsVB .NET Data Type SummaryVB .NET DirectivesVB.NET FunctionsVB.NETModifiersVB .NET ModulesVB .NET NothingVB.NET ObjectsVB.NET OperatorsVB .NET Properties VB .NET QueryVB .NET Aggregate ClauseVB .NET Distinct ClauseVB .NET Equal ClauseVB .NET From ClauseVB .NET Group By ClauseVB .NET Group John ClauseVB .NET John Clause Draft for Information Only
ContentLet Clause
Let ClauseComputes a value and assigns it to a new variable within the query.Syntax
PartsTermDefinition variableRequired. An alias that can be used to reference the results of the supplied expression. expressionRequired. An expression that will be evaluated and assigned to the specified variable.RemarksThe Let clause enables you to compute values for each query result and reference them by using an alias. The alias can be used in other clauses, such as the Where clause. The Let clause enables you to create a query statement that is easier to read because you can specify an alias for an expression clause included in the query and substitute the alias each time the expression clause is used. You can include any number of variable and expression assignments in the Let clause. Separate each assignment with a comma (,).ExampleThe following code example uses the Let clause to compute a 10 percent discount on products.
See alsoSource/Reference©sideway ID: 210500016 Last Updated: 5/16/2021 Revision: 0 Ref: ![]() References
![]() Latest Updated Links
![]() ![]() ![]() ![]() ![]() |
![]() Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Travel 18 Reference 79 Computer Hardware 254 Software Application 213 Digitization 37 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 431 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019