c++ recordset 如何PutCollect getdate()函数
RecordsetPtr1->PutCollect(_variant_t("systime"), "GETDATE()"); systime 是 datetime类型字段
这么写为啥不行呢。。应该怎么写呢。
[解决办法]
RecordsetPtr1->PutCollect(_variant_t("systime"), "GETDATE()");红色的那个是什么?为什么要使用引号包起来?用引号包起来就会被当成字符串,而不是函数