Go to the documentation of this file.Go to the SVN repository for this file.
9 main(
int argc,
char *argv[])
21 odbc_command(
"if object_id('tempdb..#odbctestdata') is not null drop table #odbctestdata");
23 command =
"create table #odbctestdata ("
24 "col1 varchar(30) not null,"
26 "col3 float not null," "col4 numeric(18,6) not null," "col5 datetime not null," "col6 text not null)";
29 command =
"insert #odbctestdata values ("
31 "123456," "1234.56," "123456.78," "'Sep 11 2001 10:00AM'," "'just to check returned length...')";
38 for (
i = 1;
i <= 6;
i++) {
#define CHKGetData(a, b, c, d, e, res)
#define odbc_command(cmd)
#define CHKCloseCursor(res)
int main(int argc, char **argv)
static SQLRETURN odbc_connect(TDS_DBC *dbc, TDSLOGIN *login)
int odbc_disconnect(void)
static SQLCHAR output[256]
static SQLINTEGER cnamesize
static void * no_unused_var_warn[]
static char software_version[]