MATLAB DATABASE TOOLBOX RELEASE NOTES Guida Utente Pagina 574

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 684
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 573
7 Functions — Alphabetical List
7-144
'Engine Kit'
'Painting Set'
ans =
'Space Cruiser'
'Building Blocks'
ans =
'Tin Soldier'
'Sail Boat'
ans =
'Slinky'
'Teddy Bear'
ans =
'No Data'
After finishing with the cursor object, close it.
close(curs)
Import Data with an Absolute Position Offset Using the Scrollable Cursor
This example assumes you are connecting to a MySQL database that contains a table
called productTable. This table contains 15 records, where each record represents one
product.
Connect to the MySQL database using the native ODBC interface. This code assumes
you are connecting to a data source named MySQL with user name username and
password pwd.
conn = database.ODBCConnection('MySQL','username','pwd');
Select all products from the productTable table and sort them in ascending order
by product number. Create a scrollable cursor using the name-value pair argument
'cursorType'.
Vedere la pagina 573
1 2 ... 569 570 571 572 573 574 575 576 577 578 579 ... 683 684

Commenti su questo manuale

Nessun commento