当前位置:网站首页>GBase 8c中怎么查询数据库配置参数,例如datestyle。使用什么函数或者语法呢?
GBase 8c中怎么查询数据库配置参数,例如datestyle。使用什么函数或者语法呢?
2022-08-01 18:56:00 【李雨晴】
GBase 8c中怎么查询数据库配置参数,例如datestyle。使用什么函数或者语法呢?
其他答案1:
在GBase 8c中,可以使用current_setting函数,来查询获取参数的当前值,和SQL语句SHOW是等效的。
查询datesytle,则语法如下
gbase=# SELECT current_setting('datestyle');
current_setting
-----------------
ISO, MDY
(1 row)
边栏推荐
- 请你说说多线程
- Go iota关键字与枚举类型实现原理是什么
- 【综述专栏】IJCAI 2022 | 图结构学习最新综述:研究进展与未来展望
- Hardware Bear Original Collection (Updated 2022/07)
- 如何记录分析你的炼丹流程—可视化神器Wandb使用笔记【1】
- Stop using MySQL online DDL
- LeetCode 0151. Reverse a string of words
- 【无标题】setInterval和setTimeout详解
- 文库网站建设源码分享
- What is the JVM runtime data area and the JMM memory model
猜你喜欢
shell脚本专题(07):文件由cfs到bos
Leetcode75. 颜色分类
打开微信客服
Hardware Bear Original Collection (Updated 2022/07)
JVM运行时数据区与JMM内存模型是什么
How to build a CMDB driven by consumption scenarios?
Leetcode72. 编辑距离
暑假第二周总结博客
粒子滤波 particle filter —从贝叶斯滤波到粒子滤波——Part-I(贝叶斯滤波)
Three solutions: npm WARN config global --global, --local are deprecated. Use --location=global instead.
随机推荐
Map传值
odoo coding conventions (programming conventions, coding guidelines)
MySQL database - stored procedures and functions
ExcelPatternTool: Excel form-database mutual import tool
生命周期和作用域
Flowable-based upp (unified process platform) running performance optimization
Go GORM事务实例分析
The life cycle and scope
2022,程序员应该如何找工作
文库网站建设源码分享
金鱼哥RHCA回忆录:CL210管理OPENSTACK网络--章节实验
暑假第二周总结博客
【木棉花】#夏日挑战赛# 鸿蒙小游戏项目——数独Sudoku(3)
MySQL关系型数据库事务的ACID特性与实现方法
Leetcode73. 矩阵置零
日志工厂(详细)
When compiling a program with boost library with VS2013, it prompts fatal error C1001: An internal error occurred in the compiler
SQL function TO_DATE (2)
Go iota关键字与枚举类型实现原理是什么
金鱼哥RHCA回忆录:CL210管理OPENSTACK网络--网络配置选项