PostgreSQL - How to format an int as an hexa

后端 未结 0 989
陌清茗
陌清茗 2021-01-13 06:18

What\'s a short/simplest way of formatting an int to an hexa, with leading zeroes? For example I need to format:

| int   | hexa |
|-------|------|
| 0     | 0         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题