SAP DB:ODBC Guida di Installazione Pagina 169

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 225
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 168
8. Data Types supported by mxODBC
8.4 Python Type Input Binding
The following mappings are used for input variables in Python type input binding
mode -
cursor.bindmethod (inherited from connection.bindmethod) set to
BIND_USING_PYTHONTYPE. The table shows how the different Python types are
converted to SQL types.
Python Type SQL Type Comments
String SQL.VARCHAR,
SQL.LONGVARCHAR,
SQL.VARBINARY,
SQL.LONGVARBINARY
(char *)
The conversion truncates the string at the SQL
field length. If the string contains binary data,
SQL.VARBINARY is used for passing the data to
the ODBC driver/manager.
The long variants are used for strings longer
than 256 characters.
Unicode SQL.WVARCHAR,
SQL.WLONGVARCHAR
(wchar_t *)
The conversion truncates the string at the SQL
field length. Note that not all ODBC
drivers/managers support Unicode data at C
level.
This binding is used for all cursors which do
not have the
.stringformat attribute set
to
EIGHTBIT_STRINGFORMAT or
UNICODE_STRINGFORMAT.
In
EIGHTBIT_STRINGFORMAT mode
(default) and
UNICODE_STRINGFORMAT
mode, Unicode objects are converted to a 8-bit
strings first and then passed to the ODBC
driver/manager.
The long variant is used for Unicode data
longer than 256 code points.
buffer or
memoryview
SQL.VARBINARY,
SQL.LONGVARBINARY
(char *)
The conversion truncates the string at the SQL
field length. The string may contain binary
data.
If the ODBC driver/manager doesn't support
processing binary data using strings, wrap the
data object using Python buffers (via the
buffer() constructor) or Python memory
views (via the
memoryview()constructor)
to have mxODBC use a binary SQL type for
interfacing to the driver/manager. The Oracle
ODBC drivers usually need this.
The long variant is used for binary data longer
than 256 bytes.
Integer SQL.SLONG Conversion from the signed long to the SQL
column type is left to the ODBC
147
Vedere la pagina 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 224 225

Commenti su questo manuale

Nessun commento

Dimplex QM125 podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Grzejniki Dimplex QM125.
Dostarczamy 2 pdf podręczników Dimplex QM125 do pobrania za darmo według typów dokumentów: Instrukcje Operacyjne, Przewodnik Instalacji






Więcej produktów i instrukcji dla Grzejniki Dimplex

Modele Rodzaj dokumentu
QM070 QM100 QM125 QM150 Instrukcje Operacyjne   Dimplex QM070 QM100 QM125 QM150 Operating instructions [da] , 16 strony
QM070 Dokumentacja   Dimplex QM070 Specifications, 16 strony
XL18N Instrukcje Operacyjne   Dimplex XL18N Operating instructions, 9 strony
XLS6N Instrukcja Obsługi   Dimplex XLS6N Technical data, 32 strony
SRX120 Instrukcja Użytkownika      Smart Rad Fan Coil_Issue_0.indd, 21 strony
VFMQ 60 Instrukcje Operacyjne   Dimplex VFMQ 60 Operating instructions, 20 strony
LPP050 Instrukcje Operacyjne   Dimplex LPP050 Operating instructions, 9 strony
COMPACT FIREPLACE Instrukcja Właściciela   Dimplex COMPACT FIREPLACE Owner`s manual, 13 strony
DGWH4031 Podręcznik Użytkownika   Dimplex DGWH4031 User`s guide, 4 strony
PUH1500 Instrukcja Użytkownika   Electric Umbrella Heater, 1 strony
DHOP1341 Instrukcja Właściciela   Dimplex DHOP1341 Owner`s manual, 10 strony
DGWH4031 Instrukcja Użytkownika   Residential, Commercial and Industrial Electric Heating, 42 strony
QM070 QM100 QM125 QM150 Instrukcja Użytkownika   Quantum Spec Sheet.pub, 1 strony
LPP100 Instrukcja Użytkownika   Saletto Low Profile Heater.pub, 1 strony
DHOP1341 Instrukcja Użytkownika   Opti-myst Heater, 1 strony
CUH05B31T Instrukcja Obsługi   Dimplex CUH05B31T Instructions / Assembly, 9 strony
LC2005W31 Instrukcja Obsługi     Dimplex LC2005W31 Instructions / Assembly, 6 strony
RKHA20D31W Instrukcja Obsługi   Dimplex RKHA20D31W Instructions / Assembly, 3 strony
DCF44B Instrukcja Obsługi     Dimplex DCF44B Instructions / Assembly, 53 strony
DGWH4031 Instrukcja Użytkowania i Eksploatacji   Dimplex DGWH4031 Use and Care Manual, 11 strony