sql.Format("insert into table1(birthday) values(%f)","2009-7-3");
m_pCommand->CommandText = _bstr_t(sql);///命令字串
m_pCommand->Execute(&vNULL,&vNULL,adCmdText);
请问这样执行后,在数据库中birthday字段的值 怎么是 1900-1-3 时间怎么相差这么大
m_pCommand->CommandText = _bstr_t(sql);///命令字串
m_pCommand->Execute(&vNULL,&vNULL,adCmdText);
请问这样执行后,在数据库中birthday字段的值 怎么是 1900-1-3 时间怎么相差这么大
m_pCommand->CommandText = _bstr_t(sql);///命令字串
m_pCommand->Execute(&vNULL,&vNULL,adCmdText);
请问这样执行后,在数据库中birthday字段的值 怎么是 2009-7-5 时间怎么相差这么大
这样就可以了