是否可以在单个查询中执行此操作:
CREATE TABLE foo(bar INTEGER);
COMMENT ON foo IS 'my foo table';
COMMENT ON bar IS 'my bar column of the foo table';
Run Code Online (Sandbox Code Playgroud)
像约束的东西:
CREATE TABLE foo
( bar INTEGER COMMENT IS 'my bar column of the foo table'
, COMMENT IS 'my foo table'
);
Run Code Online (Sandbox Code Playgroud)
?
| 归档时间: |
|
| 查看次数: |
3568 次 |
| 最近记录: |