DatabaseLink`
DatabaseLink`

SQLResultSetTake

SQLResultSetTake[rs,{m,n}]

reads rows m through n from a result set.

Details and Options

  • To use SQLResultSetTake, you first need to load DatabaseLink using Needs["DatabaseLink`"].
  • The following option can be given:
  • "GetAsStrings" Falsereturn the results as strings

Examples

open allclose all

Basic Examples  (1)

If you find that the examples in this section do not work as shown, you may need to install or restore the example database with the DatabaseLink`DatabaseExamples` package, as described in Using the Example Databases.

Open a connection:

Open a result set:

Get rows 2 through 4:

Get the last three rows:

Close the result set:

Options  (1)

"GetAsStrings"  (1)