>= (Greater Than or Equal To) (Entity SQL)

 

Compares two expressions to determine whether the left expression has a value greater than or equal to the right expression.

  
expression >= expression  

expression
Any valid expression. Both expressions must have implicitly convertible data types.

true if the left expression has a value greater than or equal to the right expression; otherwise, false.

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:

  1. Follow the procedure in How to: Execute a Query that Returns StructuralType Results.

  2. Pass the following query as an argument to the ExecuteStructuralTypeQuery method:

[!CODE [DP EntityServices Concepts 2#GREATER_OR_EQUALS](../CodeSnippet/VS_Snippets_Data/dp entityservices concepts 2#greater_or_equals)]

Entity SQL Reference

Show: