SQLDataType              package:RMySQL              R Documentation

_D_e_t_e_r_m_i_n_e _t_h_e _S_Q_L _D_a_t_a _T_y_p_e _o_f _a_n _R/_S _o_b_j_e_c_t

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

     Determine an (approximately) appropriate SQL data type for an R/S
     object

_U_s_a_g_e:

     SQLDataType(mgr, obj, ...)

_A_r_g_u_m_e_n_t_s:

     mgr: a `dbManager' object, e.g., `MySQLManager', `OraManager'. 

     obj: R/S object whose SQL type we want to determine. 

    ... : any other parameters that individual methods may need. 

_D_e_t_a_i_l_s:

     This is a generic function.

_V_a_l_u_e:

     A character string specifying the SQL data type for `obj'.

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

     `isSQLKeyword' `make.SQL.names'

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

     ora <- dbManager("MySQL")
     sql.type <- SQLDataType(ora, x)

