标题:
[数据库]
清空纪录问题
[打印本页]
作者:
刺兔
时间:
2008-6-13 21:57
标题:
清空纪录问题
sql = "delete * from [06级自动化聘课表] where 学期='" & text1.text & "'"
rst.Open sql, cn, adOpenDynamic, adLockPessimistic
运行时提示: “*”附近语法错误
请问怎么回事啊
作者:
Nothing
时间:
2008-6-13 22:30
不需要加*
sql = "delete from [06级自动化聘课表] where 学期='" & text1.text & "'"
还有,有要用recordset打开删除语句
应当是
cn.execute sql
欢迎光临 编程开发论坛 (http://bbs.lihuasoft.net/)
Powered by Discuz! 6.0.0