什么是SQL索引名称? [英] What is the SQL index name for?

查看:560
本文介绍了什么是SQL索引名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在SQL中,当我创建数据库索引时,我需要为索引指定一个名称,如

In SQL, when I create a database index, I'm required to give the index a name, as in

CREATE INDEX timestamp_index ON hit (timestamp);

这个名称似乎唯一需要的时间是我想删除索引

The only time that this name seems to be necessary is if I want to remove the index with

DROP INDEX timestamp_index;

索引名称还有其他用途吗?

Is there any other use of the index name?

推荐答案

ALTER INDEX timestamp_index ...

T-SQL链接

这篇关于什么是SQL索引名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆