大吓们请教个小问题,

[复制链接]
查看11 | 回复6 | 2007-9-26 12:36:24 | 显示全部楼层 |阅读模式
删除表主键和索引怎么删呀
回复

使用道具 举报

千问 | 2007-9-26 12:36:24 | 显示全部楼层
如果不会可以找一个GUI的工具,
回复

使用道具 举报

千问 | 2007-9-26 12:36:24 | 显示全部楼层
可以用pl/sql deveoper 等工具搞一下
回复

使用道具 举报

千问 | 2007-9-26 12:36:24 | 显示全部楼层
用toad吧
回复

使用道具 举报

千问 | 2007-9-26 12:36:24 | 显示全部楼层
DROP INDEX [schema.]index [FORCE]
回复

使用道具 举报

千问 | 2007-9-26 12:36:24 | 显示全部楼层
[php]
PHOENIX@topprod>create table t
2(
3 col1number,
4 col2number
5)
6/
Table created.
PHOENIX@topprod>alter table t add constraint t_p primary key (col1);
Table altered.
PHOENIX@topprod>create index inx_t_col2 on t(col2);
Index created.
PHOENIX@topprod>alter table t drop constraint t_p;
Table altered.
PHOENIX@topprod>drop index inx_t_col2;
Index dropped.
--
[/php]
回复

使用道具 举报

千问 | 2007-9-26 12:36:24 | 显示全部楼层
谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行