<span id="blogname"></span>


All that's beautiful drifts away like the waters ——W. B. Yeats
Modisied by Leslie-Cheung.com
 
2007/7/10 14:28:00
"为 datediff 指定了无效的参数 1"的修改方法
 
Access转 SQL后出现的错误信息:
       Microsoft OLE DB Provider for SQL Server (0x80040E14)
为 datediff 指定了无效的参数 1
修改方法:
        若ACCESS中,ASP的代码为 datediff('D',LastHitTime,getdate())<=0
        则转成SQL数据库之后,代码应该改为 datediff(D,LastHitTime,getdate())<=0
          不要'D"旁边的单引号,这是AC与sql   的区别
 
By 小鱼儿  阅读全文 | 回复(0) | 引用通告 | 编辑

发表评论:
 
Calendar

<<  < 2010 - >  >>
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31

Login


Bulletin
Recent Entries
Comments
Messages
Information
Links


Designed by Subdreamer
 
Powered by Oblog.