Visual Basic (Declaration) | |
---|---|
Function TopNSelect( _ ByVal query As String, _ ByVal num As Integer _ ) As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IDataSourceMetaData Dim query As String Dim num As Integer Dim value As String value = instance.TopNSelect(query, num) |
Parameters
- query
- The select to adjust.
- num
- The max number of rows to return. Warning, if reducing for a forEach iteration, must be the step size (or larger).
Return Value
The select with "top N" added.Requirements
Platforms: Windows 10, Windows NT, Windows Server