MATLAB DATABASE TOOLBOX RELEASE NOTES Guia do Utilizador Página 380

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 684
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 379
6 Using Database Toolbox Functions
6-38
This result shows that d is a valid JDBC driver object. If it is a not valid JDBC
driver object, the returned result is 0.
5
Use the drivermanager function to create a drivermanager object dm.
dm = drivermanager
6
Get properties of the drivermanager object.
v = get(dm)
v =
Drivers: {'sun.jdbc.odbc.JdbcOdbcDriver@761630'...
[1x38 char]}
LoginTimeout: 0
LogStream: []
7
Set the LoginTimeout value to 10 for all drivers loaded during this session.
set(dm,'LoginTimeout',10)
Verify the LoginTimeout value.
v = get(dm)
v =
Drivers: {'sun.jdbc.odbc.JdbcOdbcDriver@761630'}
LoginTimeout: 10
LogStream: []
Vista de página 379
1 2 ... 375 376 377 378 379 380 381 382 383 384 385 ... 683 684

Comentários a estes Manuais

Sem comentários