cs.cursor@m()

Read(51) Label: unicursor, multicursor,

Description:

Generate a multicursor using a unicursor.

Syntax:

cs.cursor@m(n)

Note:

The function generates a multicursor using a unicursor cs. It fetches data from cs and parallelly allocates them to n subcursors.

Parameter:

cs

A unicursor.

n

The number of subcursors, whose default value is Default Number of Subcursors in a Multicursorconfigured in the designer. When esProc is integrated into a third-party application, the default number of subcursors is cursorParallelNum value set up in raqsoftConfig.xml.

When n =0, the function generates a unicursor from which data is fetched parallelly.

Return value:

Unicursor/Multicursor

Example:

 

A

 

1

=demo.cursor("select * from EMPLOYEE")

 

2

=A1.cursor@m(3)

Generate a multicursor.