---
title: "ALTER TABLE is not possible"
author: "王三"
date: "2010-05-08T07:51:49Z"
tags: []
categories: ["编程语言"]
slug: "alter-table-is-not-possible"
draft: false
lastmod: "2010-05-08T12:06:35Z"
id: 661709
url: "https://sapjava.iteye.com/blog/661709"
---

在DDIC中修改某个表的字段的数据类型时出现在此错误, 可以使用SE14来调整数据库.

 

另外这几天重新装了下系统,发现输入字段的历史没有了, google了一下, 说是SapWorkDir下的SAPHistory文件不存在,会影响到本地历史. 另外查看

C:\\Documents and Settings\\admin\\SapWorkDir 中的跟踪文件发现有

(Error)(05.05.10 16:28:29.546): CSapHistoryDb::OpenDB: Could not create connection: -2147221164  
Error                       : Loading local DB failed in frontend.

查了下Note, 需要修复安装MDAC.

右击在C:\\WINDOWS\\inf\\mdac.inf  安装相关的dll文件. 注意此处需要windows 安装盘

参考:

sapnote\_0000199527 Input history for SAP GUI for Windows

sapnote\_0000931540 History: repair MDAC installation