当前位置:网站首页>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)
边栏推荐
- The life cycle and scope
- Multi-Party Threshold Private Set Intersection with Sublinear Communication-2021:解读
- Use of message template placeholders
- 突破性能天花板!亚信数据库支撑 10 多亿用户,峰值每秒百万交易
- How opencv implements image skew correction
- [pyqt5] Custom controls to achieve scaling sub-controls that maintain the aspect ratio
- The function realization of the national standard GB28181 protocol EasyGBS platform compatible with the old version of the inflow port
- Tower Defense Shoreline User Agreement
- MySQL database - stored procedures and functions
- el-form-item prop属性动态绑定不生效如何解决
猜你喜欢
首篇 NLP 领域图神经网络综述:127 页,从图构建到实际应用面面观
电商库存系统的防超卖和高并发扣减方案
MySQL数据库————存储过程和函数
Leetcode75. Color Classification
How to solve the dynamic binding of el-form-item prop attribute does not take effect
网站建设流程
云原生全景图详解
Zabbix6.0 DingTalk robot alarm
硬件大熊原创合集(2022/07更新)
Screen: GFF, OGS, Oncell, Incell of full lamination process
随机推荐
Golang协程调度器scheduler怎么使用
[pyqt5] Custom controls to achieve scaling sub-controls that maintain the aspect ratio
MySQL中超键、主键及候选键的区别是什么
【翻译】CNCF培养的OpenMetrics成为一个孵化项目
Leetcode75. Color Classification
explain 各字段介绍
驱动上下游高效协同,跨境B2B电商平台如何释放LED产业供应链核心价值?
【LeetCode】Day109-最长回文串
SQL function TO_DATE (1)
重保特辑|拦截99%恶意流量,揭秘WAF攻防演练最佳实践
Screen: GFF, OGS, Oncell, Incell of full lamination process
Summer vacation first week wrap-up blog
Leetcode75. 颜色分类
MySQL关系型数据库事务的ACID特性与实现方法
log factory (detail)
Redis的内存淘汰策略和过期删除策略的区别是什么
odoo+物联网
#yyds干货盘点# 面试必刷TOP101: 链表中倒数最后k个结点
Keras深度学习实战——交通标志识别
123123123123