Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Compares two expressions to determine whether the left expression has a value greater than or equal to the right expression.
Syntax
expression >= expression
Arguments
expression
Any valid expression. Both expressions must have implicitly convertible data types.
Result Types
true if the left expression has a value greater than or equal to the right expression; otherwise, false.
Example
The following Entity SQL query uses >= comparison operator to compare two expressions to determine whether the left expression has a value greater than or equal to the right expression. The query is based on the AdventureWorks Sales Model. To compile and run this query, follow these steps:
Follow the procedure in How to: Execute a Query that Returns StructuralType Results.
Pass the following query as an argument to the
ExecuteStructuralTypeQuerymethod:
SELECT VALUE product FROM AdventureWorksEntities.Products
AS product WHERE product.ListPrice >= @price