解决ORA-25150不允许对区参数执行ALERING

       今天同事过来问我修改不了数据库中表的字段,报ORA-25150,我查看一下数据库用户权限,有create table权限。我就很纳闷。


查了一下资料:

Error:	ORA-25150
Text:	ALTERING of extent parameters not permitted 
---------------------------------------------------------------------------
Cause:	An attempt was made to alter the extent parameters for a segment in a 
	tablespace with autoallocate or uniform. extent allocation policy. 
Action:	Remove the appropriate extent parameters from the command.

原因:
表空间使用本地管理,其中的表不能修改NEXT MAXEXTENTS和PCTINCREASE参数

使用数据自动管理的表空间,其中的表可以修改NEXT MAXEXTENTS和PCTINCREASE参数


修改
alter table DR_GPRS MOVE
storage 

next 128


alter table DR_GPRS  add SYCS00 varchar2(10);

请使用浏览器的分享功能分享到微信等