执行SQL语句没有响应?请教在线 我是没有办法了。最好先将Format出来的结果看一看,看语法、数值是否合法。大体流程应该差不多 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1 .语法在直接跟SQL Server连的时候能够正确的插入2. 表是存在的没错3。事务在已经提交且返回正确4。插入的数据在直接联SQL Server已得到正确的验证在设置ODBC数据源有什么特别的要求?help me ! 把你后执行的INSERT语句是什么样的拿出来看看。:) format的语句在填入内容:"Insert Into t_888888_mo_bill_06 values('888888',78848,0,'','',0,1,'8613510889007',0,1,'06310',0,0,0,0,0,1,0,'','',20984405,12544,0,0,0,'','','','',0)"后直接用查询分析器插入正确。得到结果正确 current_time=CTime::GetCurrentTime(); str_sql.Format("Insert Into t_%s_mo_bill_%02d values(\'%s\',%d,%d,\'%s\',\'%s\',%d,%d,\'%s\',%d,%d,\'%s\',%d,%d,%d,%d,%d,%d,%d,\'%s\',\'%s\',%d,%d,%d,%d,%d,\'%s\',\'%s\',\'%s\',\'%s\',%d)", pMsg->Bill.Account, current_time.GetMonth(), pMsg->Bill.Account, pMsg->Bill.MsgID1, pMsg->Bill.MsgID2, pMsg->Bill.DlvTime, pMsg->Bill.ServiceType, pMsg->Bill.SourceAddrTON, pMsg->Bill.SourceAddrNPI, pMsg->Bill.SourceAddr, pMsg->Bill.DestAddrTON, pMsg->Bill.DestAddrNPI, pMsg->Bill.DestinationAddr, pMsg->Bill.esm_class, pMsg->Bill.UDHI, pMsg->Bill.PID, pMsg->Bill.PRI, pMsg->Bill.RegisteredDelivery, pMsg->Bill.DCS, pMsg->Bill.SMLength, pMsg->Bill.SMContent, pMsg->Bill.CmppServiceID, pMsg->Bill.ServiceType, pMsg->Bill.ID1, pMsg->Bill.ID2, pMsg->Bill.ID3, pMsg->Bill.ID4, pMsg->Bill.MsgStatus, pMsg->Bill.SubmitTime, pMsg->Bill.DoneTime, pMsg->Bill.SubmitDestAddr, pMsg->Bill.SMSCSequence );跟这个没有关系, 帮忙看一下SQL语句,谢谢。 一个exists查询语句问题 插入数据要过滤哪些特殊字符? sql无法更新 筛选数据查询 急......关于带ntext类型参数的存储过程 HI 各位兄弟,用SQL Server怎么做鏡像呢,急急? 兄弟们.我已经从已解决区的6.4至7.11日的帖子中整理出来了21个移动到了精华区.大家可以去看看. 怎么解决oralce数据引擎错误capability not supported 一个简单的问题??? 外鍵設計? 请问函数和存储过程那个效率快?
2. 表是存在的没错
3。事务在已经提交且返回正确
4。插入的数据在直接联SQL Server已得到正确的验证
在设置ODBC数据源有什么特别的要求?help me !
current_time=CTime::GetCurrentTime(); str_sql.Format("Insert Into t_%s_mo_bill_%02d values(\'%s\',%d,%d,\'%s\',\'%s\',%d,%d,\'%s\',%d,%d,\'%s\',%d,%d,%d,%d,%d,%d,%d,\'%s\',\'%s\',%d,%d,%d,%d,%d,\'%s\',\'%s\',\'%s\',\'%s\',%d)",
pMsg->Bill.Account,
current_time.GetMonth(),
pMsg->Bill.Account,
pMsg->Bill.MsgID1,
pMsg->Bill.MsgID2,
pMsg->Bill.DlvTime,
pMsg->Bill.ServiceType, pMsg->Bill.SourceAddrTON,
pMsg->Bill.SourceAddrNPI,
pMsg->Bill.SourceAddr, pMsg->Bill.DestAddrTON,
pMsg->Bill.DestAddrNPI,
pMsg->Bill.DestinationAddr, pMsg->Bill.esm_class,
pMsg->Bill.UDHI,
pMsg->Bill.PID,
pMsg->Bill.PRI,
pMsg->Bill.RegisteredDelivery,
pMsg->Bill.DCS,
pMsg->Bill.SMLength,
pMsg->Bill.SMContent,
pMsg->Bill.CmppServiceID,
pMsg->Bill.ServiceType,
pMsg->Bill.ID1,
pMsg->Bill.ID2,
pMsg->Bill.ID3,
pMsg->Bill.ID4,
pMsg->Bill.MsgStatus,
pMsg->Bill.SubmitTime,
pMsg->Bill.DoneTime,
pMsg->Bill.SubmitDestAddr,
pMsg->Bill.SMSCSequence
);
跟这个没有关系,