dbSendQuery-methods          package:RMySQL          R Documentation

_E_x_e_c_u_t_e _a _s_t_a_t_e_m_e_n_t _o_n _a _g_i_v_e_n _d_a_t_a_b_a_s_e _c_o_n_n_e_c_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     These methods are straight-forward implementations of the
     corresponding generic functions.

_M_e_t_h_o_d_s:

     _c_o_n_n an 'MySQLConnection' object.

     _s_t_a_t_e_m_e_n_t a character vector of length 1 with the SQL statement.

     _r_e_s an 'MySQLResult' object.

     ...  additional parameters.

_R_e_f_e_r_e_n_c_e_s:

     See the Database Interface definition document 'DBI.pdf' in the
     base directory of this package or <URL:
     http://stat.bell-labs.com/RS-DBI>.

_S_e_e _A_l_s_o:

     'MySQL', 'dbDriver', 'dbConnect', 'fetch', 'dbCommit',
     'dbGetInfo', 'dbReadTable'.

_E_x_a_m_p_l_e_s:

     ## Not run: 
     drv <- dbDriver("MySQL")
     con <- dbConnect(drv, "usr", "password", "dbname")
     res <- dbSendQuery(con, "SELECT * from liv25")
     data <- fetch(res, n = -1)
     ## End(Not run)

