由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - help needed on aspx&ms-access
相关主题
PIVOT, 请大拿,帮我debugHelp for VB 6 and MS Access DB
newbie Q: how to "create view" in ACCESSOracle 有这种 create partially sorted index方法吗?
change year format in Access by SQL query (转载)~{8_JVGsVz~}: how to create trigger on a nested table?
error of sql query in MS Access database (转载)any informix high hand here? sql need help here.
debug PL/SQLoracle 8i "case when" syntax
question about aspxa pro*c++ Q
Oracle XE DBconnection from ASPXHow to get SQL help in sqlplus?
SQL debug step into a store procedure from another one (转载)问个查询的问题
相关话题的讨论汇总
话题: aspx话题: update话题: access话题: statement话题: needed
进入Database版参与讨论
1 (共1页)
t*********r
发帖数: 4
1
Dear all,
I need your help on debugging:
I tried to update a record using aspx code. However, the server inform me
"System.Data.OleDb.OleDbException: Syntax error in UPDATE statement".
1) I output the string of update statement and run the sql directly as a query
on the server-side access file, it works.
2) The Web has the right to write to the database, I can delete a row using
aspx.
Can anybody help me figure out the problem?
Thanks.
o***z
发帖数: 133
2
give an example of your update statement causing trouble?

【在 t*********r 的大作中提到】
: Dear all,
: I need your help on debugging:
: I tried to update a record using aspx code. However, the server inform me
: "System.Data.OleDb.OleDbException: Syntax error in UPDATE statement".
: 1) I output the string of update statement and run the sql directly as a query
: on the server-side access file, it works.
: 2) The Web has the right to write to the database, I can delete a row using
: aspx.
: Can anybody help me figure out the problem?
: Thanks.

h****e
发帖数: 204
3
this kind of problems are introduced by the ' in your varibles normally.
you need replace it to ''

【在 t*********r 的大作中提到】
: Dear all,
: I need your help on debugging:
: I tried to update a record using aspx code. However, the server inform me
: "System.Data.OleDb.OleDbException: Syntax error in UPDATE statement".
: 1) I output the string of update statement and run the sql directly as a query
: on the server-side access file, it works.
: 2) The Web has the right to write to the database, I can delete a row using
: aspx.
: Can anybody help me figure out the problem?
: Thanks.

1 (共1页)
进入Database版参与讨论
相关主题
问个查询的问题debug PL/SQL
如何在oci中运行sql script?question about aspx
再请教一个问题:stored procedure能不能直接显示信息什么的? (转载)Oracle XE DBconnection from ASPX
谁知道删除表以后,如何释放硬盘空间?SQL debug step into a store procedure from another one (转载)
PIVOT, 请大拿,帮我debugHelp for VB 6 and MS Access DB
newbie Q: how to "create view" in ACCESSOracle 有这种 create partially sorted index方法吗?
change year format in Access by SQL query (转载)~{8_JVGsVz~}: how to create trigger on a nested table?
error of sql query in MS Access database (转载)any informix high hand here? sql need help here.
相关话题的讨论汇总
话题: aspx话题: update话题: access话题: statement话题: needed