我在使用drop index pos.mon.mon_001;删除索引

时提示错误:drop index does not allow specifying the database name as a prefix to the o b j e c t name.

不允许加POS.数据库所有者为前缀,去掉后drop index mon.mon_001; 删除索引

时提示错误:can't drop index ,because it does not  exist in the system catalogs.

兄弟们,为什么我在PB中删除索引会提示该索引不在系统目录中?是否和我建立是有关系?

建立SQL :create nonclustered index idx_mon_001
              on pos.mon(mon_id) ;
还有个问题,就是我用PB的窗口做了一个应用程序,实现数据库表的索引的重建功能,在重建的脚本中的代码如下:

if  rb_1.checked then
alter table pos.mon
drop constraint mon_ck  ;
alter table pos.mon
       add constraint mon_ck primary key  nonclustered (mon_id) ;

end if

可是PB提示错误,不识别 alter 命令!


无法删除索引,请教谁能帮忙删除该索引!!!!!!!