还是ASP和存储过程的问题,解决马上给分
set pinsert = Server.CreateObject("ADODB.Command")
pinsert.ActiveConnection = MM_web_STRING
pinsert.CommandText = sql
pinsert.CommandType = 4
pinsert.CommandTimeout = 0
pinsert.Prepared = true
pinsert.Execute() '在这里出错
sql是一句存储过程,并且在查询分析器里运行正常.
错误提示:
Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e14'
[Microsoft][ODBC SQL Server Driver]语法错误或违反访问规则
/RenShiZu/donewemployee.asp,行 41