Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
Statement:-SetOptions - set options of a Statement module
Calling Sequence
statement:-SetOptions( opts )
Parameters
statement
-
Statement module
opts
(optional) equations of the form option=integer where option is one of timeout, maxrows, or maxfieldsize
Description
SetOptions sets various options that affect the behavior of statement.
All the options that can be set with SetOptions can also be set when statement is created by a call to CreateStatement.
An option's current value can be obtained by calling GetOptions.
SetOptions does not return anything.
SetOptions accepts the following options.
timeout = integer
The number of seconds statement waits for a query to execute. If the limit is exceeded, an error is raised.
maxrows = integer
The maximum number of rows a query returns. If there are more than maxrows rows in the database that match the query, the extra rows are dropped.
maxfieldsize = integer
The maximum number of bytes a field of type BINARY, VARBINARY, LONGVARBINARY, CHAR, VARCHAR, or LONGVARCHAR will use. If a field needs more than this, it is truncated.
Calling SetOptions with no arguments raises an error.
Examples
See Also
Database, Database[Connection], Database[Connection][CreateStatement], Database[Statement], Database[Statement][GetOptions], Database[usage]
Download Help Document