摘要:
1、远程数据库设远程数据库的ip地址为192.168.0.1,其中testdb数据库中有student表,student表包含两列:name和age。name为char类型,长度为10;age为int类型,长度为4。2、源代码HENV hEnv = NULL; // Env Handle from SQLAllocEnv()HDBC hDBC = NULL; // Connection handleRETCODE retcode;// Allocate memory for ODBC Environment handleSQLAllocEnv (&hEnv);// Allocate m 阅读全文