douxiaqin2062 2011-08-08 16:56
浏览 105

PHP / mssql mssql_execute():存储过程执行失败

This one is a little strange: I have an SP that runs several time over a few hours in the same script. After about 3 hours, it has run 20 times or so, then I get a series of warnings: "mssql_execute(): stored procedure execution failed ..." for the rest of the script.

So my script completes for only about half the data. It's not timing out or anything. Does a MsSQL connection get stale or something? I'm using

$conn = mssql_pconnect($database,$mssql_username,$password);

Should I be using

$conn = mssql_pconnect($database,$mssql_username,$password, true);

?

Thanks for your help!!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 树莓派与pix飞控通信
    • ¥15 自动转发微信群信息到另外一个微信群
    • ¥15 outlook无法配置成功
    • ¥30 这是哪个作者做的宝宝起名网站
    • ¥60 版本过低apk如何修改可以兼容新的安卓系统
    • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
    • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
    • ¥50 有数据,怎么用matlab求全要素生产率
    • ¥15 TI的insta-spin例程
    • ¥15 完成下列问题完成下列问题