postgresql date string function interception

substring ( '2019-01-01' from 1 for 7) 2019-01 output value

Guess you like

Origin www.cnblogs.com/zxy-come-on/p/10971476.html