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
Connection:-CreatePreparedStatement - create a Prepared Statement Module
Calling Sequence
connection:-CreatePreparedStatement( sql, opts )
Parameters
connection
-
Connection module
sql
string; the SQL statement to prepare
opts
(optional) equations of the form option=integer where option is one of timeout, maxrows or maxfieldsize
Description
CreatePreparedStatement returns a PreparedStatement module. This PreparedStatement module can be used to send a prepared SQL statement to the database. For information on prepared statements see the PreparedStatement page.
CreatePreparedStatement accepts as optional arguments the same options that can be set with preparedstatement:-SetOptions.
timeout = integer
The number of seconds the client waits for a response from the database.
maxrows = integer
The maximum number of rows a query returns.
maxfieldsize = integer
The maximum number of bytes that a column uses to store character or binary data. This only applies to columns of type BINARY, VARBINARY, LONGVARBINARY, CHAR, VARCHAR, and LONGVARCHAR. If the limit is exceeded, then the extra data is ignored.
Examples
Create a statement with no options specified.
Create statements with various options.
See Also
Database, Database[Connection], Database[Connection][CreateStatement], Database[Connection][ExecuteQuery], Database[Connection][ExecuteUpdate], Database[PreparedStatement], Database[Statement], Database[usage]
Download Help Document