PostgreSQL中使用DROP DATABASE 删除数据库描述正确的是 ABD
A
DROP DATABASE 命令需要在 PostgreSQL 命令窗口来执行
B
DROP DATABASE 会删除数据库的系统目录项并且删除包含数据的文件目录。
C
DROP DATABASE 只能由超级管理员执行。
D
DROP DATABASE命令中支持使用IF EXISTS关键字
在 PostgreSQL 12 中,想把 psql 中的查询结果输出为 csv 格式,有几种方法? AC
A
使用 \pset format csv 进行设置
B
使用 \pset csv_fieldsep 进行设置
C
psql -d postgres --csv
D
psql -d postgres -csv
在PostgresSQL的数值类型中,精确的小数类型可用什么表示? D
A
real
B
smallint
C
serial
D
numeric
在pg数据库中,下面那个语句可以授予用户test对public这个schema下所有表的查询权限? C
A
grant delete on all tables in schema public to test;
B
grant insert on all tables in schema public to test;
C
grant select on all tables in schema public to test;
D
grant update on all tables in schema public to test;
PostgreSQL中search_path的默认格式是(D)
A
“schema”,public
B
“postgres”,public
C
“test”,public
D
“$user”,public




