日期:2014-05-17  浏览次数:20849 次

sql修改属性类型提示语法出错
在人大金仓数据库中下面代码执行不了,是不是dbms的事?请在你们自己电脑上试试。

create schema try authorization DBA
  create table tab(
 abc char(4)
);
set search_path to try,public;
alter table tab alter column abc int;

执行语句:


alter table tab alter column abc int;
执行成功: 否
执行时间: 2010-4-19 7:24:07
服务器消息: [KingbaseES Server]syntax error at or near "int"

------解决方案--------------------
这是什么语言?
------解决方案--------------------
人大金仓数据库
------解决方案--------------------
人大金仓数据库!没接触过...帮顶...
------解决方案--------------------
这个不懂 没见过
------解决方案--------------------
探讨
人大金仓数据库!没接触过...帮顶...

------解决方案--------------------
探讨
你们可以在你们的数据库试试,什么SqlServer、MySQL的。SQL数据库语言不是通用的吗?