Exception when trying to execute “REPLACE” against MS Access

前端 未结 4 500
我寻月下人不归
我寻月下人不归 2020-12-02 00:24

I\'m trying to execute an SQL query against a MS Access database containing a \"REPLACE\" function:

UPDATE MyTable 
   SET MyColumn = REPLACE(MyColumn, \'MyO         


        
4条回答
  •  时光说笑
    2020-12-02 00:48

    Not sure if this is related to the problem you are having but I was having a problem running an update that contained a replace function in Access 2010 that would just return with no error - nothing. I was actually running it from OleDb in .NET and finally figured out I needed to set a registry key to turn off "Sandboxed Mode".

    http://office.microsoft.com/en-us/access-help/use-sandbox-mode-in-access-2007-HA010167429.aspx

    Hope that helps.

提交回复
热议问题