SELECT 子句中包含一个保留字、拼写错误或丢失的参数,或标点符号不正确
setrsShowRecommendShop=conn.execute("selecttop"&tuijian_shop&"*fromshopwheretuijian_s...
set rsShowRecommendShop = conn.execute("select top "&tuijian_shop&" * from shop where tuijian_shop='1' order by id desc " )
上面那句提示我
Microsoft JET Database Engine (0x80040E14)
SELECT 子句中包含一个保留字、拼写错误或丢失的参数,或标点符号不正确。
/shop/FFunction.asp, 第 427 行
请大家帮帮忙吧! 展开
上面那句提示我
Microsoft JET Database Engine (0x80040E14)
SELECT 子句中包含一个保留字、拼写错误或丢失的参数,或标点符号不正确。
/shop/FFunction.asp, 第 427 行
请大家帮帮忙吧! 展开
3个回答
展开全部
select top "&tuijian_shop&" * from shop where tuijian_shop='1' order by id desc "
改成 select top 3 from shop where tuijian_shop='1' order by id desc "
改成 select top 3 from shop where tuijian_shop='1' order by id desc "
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
id是保留字
改成
select top "&tuijian_shop&" * from shop where tuijian_shop='1' order by [id] desc
改成
select top "&tuijian_shop&" * from shop where tuijian_shop='1' order by [id] desc
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询