简单问题很久没有解决,请各位帮忙

a97191 2005-03-02 11:37:17
下面这个语句为什么会错
sql="select *from topic where typeid="&typeid&"order by id desc"
如果我去掉后面order by id desc就对
社区管理
Microsoft VBScript 编译器错误 错误 '800a03f6'
缺少 'End'

/iisHelp/common/500-100.asp,行242

Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e21'

ODBC 驱动程序不支持所需的属性
...全文
43 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
klend 2005-03-04
  • 打赏
  • 举报
回复
对应该有空格
sql="select * from topic where typeid="&typeid&" order by id desc"
yjcity 2005-03-04
  • 打赏
  • 举报
回复
??
yiran700 2005-03-02
  • 打赏
  • 举报
回复

sql="select *from topic where typeid="&typeid&" order by id desc"
yjcity 2005-03-02
  • 打赏
  • 举报
回复
sql="select *from topic where typeid="&typeid&" order by id desc"
是不是你在order前面漏空格了?!

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧