MULTISET

Creates an instance of a multiset from a list of values. All the values in the MULTISET constructor must be of a compatible type T. Empty multiset constructors are not allowed.

Syntax

MULTISET (expression [{, expression }] )
or
{ expression [{, expression }] } 

Arguments

expression: Any valid list of values.

Return Value

An array of element type T.

Examples

select o from Orders as o where o.OrderId in { 1, 2 ,3 }
select o from Orders as o where o.OrderId in MultiSet( 1, 2 ,3 )

Last edited Mar 12, 2013 at 9:58 AM by ansiboy, version 1

Comments

No comments yet.