Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
PreparedStatement:-SetOptions - set options of a PreparedStatement module
Calling Sequence
preparedstat:-SetOptions( opts )
Parameters
preparedstat
-
PreparedStatement module
opts
equation(s) of the form option=integer where option is one of timeout, maxrows, or maxfieldsize
Description
SetOptions sets various options that affect the behavior of preparedstat.
All the options that can be set with SetOptions can also be set when preparedstat is created by a call to CreateStatement.
An option's current value can be obtained by calling GetOptions.
SetOptions does not return anything.
The following are the options that can be passed to SetOptions.
timeout = integer
the number of seconds preparedstat 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[PreparedStatement], Database[PreparedStatement][GetOptions], Database[Statement], Database[usage]
Download Help Document