当前位置:网站首页>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)
边栏推荐
- GZIPOutputStream 类源码分析
- Hardware Bear Original Collection (Updated 2022/07)
- Live chat system technology (8) : vivo live IM message module architecture practice in the system
- explain each field introduction
- 塔防海岸线用户协议
- 【翻译】CNCF培养的OpenMetrics成为一个孵化项目
- 483-82 (23, 239, 450, 113)
- [pyqt5] Custom controls to achieve scaling sub-controls that maintain the aspect ratio
- Leetcode71. 简化路径
- 【pyqt5】自定义控件 实现能够保持长宽比地缩放子控件
猜你喜欢
Detailed explanation of DBPack SQL Tracing function and data encryption function

在全志V853开发板试编译QT测试

暑假第二周总结博客

Leetcode72. 编辑距离

Multi-Party Threshold Private Set Intersection with Sublinear Communication-2021:解读

A simple Flask PIN

亚马逊云科技Build On2022技能提升计划第二季——揭秘出海爆款新物种背后的黑科技

483-82 (23, 239, 450, 113)

Hardware Bear Original Collection (Updated 2022/07)

How to build a CMDB driven by consumption scenarios?
随机推荐
Summer vacation second week wrap-up blog
【LeetCode】Day109-最长回文串
以消费场景为驱动的CMDB要怎么建?
Map by value
LeetCode 0152. Product Maximum Subarray: dp + Roll in Place
Leetcode71. 简化路径
首篇 NLP 领域图神经网络综述:127 页,从图构建到实际应用面面观
Multi-Party Threshold Private Set Intersection with Sublinear Communication-2021:解读
云原生全景图详解
Leetcode74. Search 2D Matrix
The XML configuration
Live chat system technology (8) : vivo live IM message module architecture practice in the system
Goldfish Brother RHCA Memoirs: CL210 manages OPENSTACK network -- network configuration options
Zabbix6.0钉钉机器人告警
The function realization of the national standard GB28181 protocol EasyGBS platform compatible with the old version of the inflow port
How to record and analyze your alchemy process - use notes of the visual artifact Wandb [1]
Detailed explanation of DBPack SQL Tracing function and data encryption function
PanGu-Coder:函数级的代码生成模型
MySQL数据库————存储过程和函数
opencv如何实现图像倾斜校正