我现在想在程序中动态创建一个表,
如果用一下程序是没问题的:
sqlstr.Format("CREATE TABLE XX(InvoiceDate Text)");
 m_pConnection->Execute((_bstr_t)sqlstr,NULL,adCmdText);
但是这样只能创建名为 XX的表 ,我现在想读取变量的值作为表的名字,用以下程序
sqlstr.Format("CREATE TABLE '%s'(InvoiceDate Text)",szTime);
 m_pConnection->Execute((_bstr_t)sqlstr,NULL,adCmdText);
其中szTime是我想读取的变量 但是这样报出格式错误,请问该用什么样的格式呢?