ADO + VC++ + MS-SQLSERVER(报错)
现有数据库里表e_time中缺少2004年8月分的数据,我用下面的去收索数据,但出现错误
pRecordset->Open(select*from e_time where time between'2004-08-14'and'2004-08-15',vConn,adOpenStatic,adLockReadOnly,adCmdText);
错误如下:unhandled exception in Time.exe(KERNEL32.DLL):0xE06D7363:Microsoft C++ Exception
可是如果数据不空的话,就正确执行了
这是怎么会事,怎么解决,望大虾们指教一二!!!
感谢!!!