hetu-core/hetu-docs/zh/sql/comment.md

22 lines
298 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

+++
title = "COMMENT"
+++
# COMMENT
## 摘要
``` sql
COMMENT ON TABLE name IS 'comments'
```
## 说明
设置表的注释。可以通过将注释设置为 `NULL` 来删除注释。
## 示例
`users` 表的注释更改为 `master table`
COMMENT ON TABLE users IS 'master table';